[R-sig-ME] lme() - Error in recalc.corAR1
Santosh Srinivas
@@nto@h@b@@r|n|v@@ @end|ng |rom out|ook@com
Thu Jan 2 15:08:01 CET 2025
Dear List Recipients, Hope this email finds you well.
I am writing to request your help the below issue:
Error in recalc.corAR1(object[[i]], conLin): NA/NaN/Inf in foreign function call (arg 1)
This occurs when I run the following regression model:
m =
lme(
y ~ x,
random = ~x|user_id,
correlation = corAR1(form = ~1|user_id),
weights = varExp(form = ~x),
method = 'REML',
na.action = na.omit,
data = df)
I have uploaded the data here for reproducibility:
https://drive.google.com/file/d/1kA5-T4zZ-f33gJgAsJ9AWMlK-YXAm65m/view?usp=sharing
Request your help with how to understand and fix this ussue.
Thanks & regards
Santosh
[[alternative HTML version deleted]]
More information about the R-sig-mixed-models
mailing list