Is it possible to add a parameter to lmer
model which will be modeling the error structure? Sth similar to TOEP(X) and SP(POW) from SAS???
1 Answer
$\begingroup$
$\endgroup$
2
No, there is no such parameter. However, you could try nlme
library, the ancestor of lmer
. nlme
library enables you to define a correlation structure, e.g. Gaussian, Autoregressive, or ARMA.
For detailed description, tutorial and examples check this book: Pinheiro, J.C., and Bates, D.M. (2000). Mixed-Effects Models in S and S-PLUS. Springer.
-
$\begingroup$ Why would the ancestor be more powerful than the latest ? Is this a choice or is this pending ? $\endgroup$ Sep 17, 2018 at 10:15
-
$\begingroup$ @DanChaltiel don't ask me about the decisions made by the designers of both packages... $\endgroup$– Tim ♦Sep 17, 2018 at 10:18
lme
from the nlme package. See also: stats.stackexchange.com/a/49793/11849 $\endgroup$TOEP(X)
andSP(POW)
statements actually do (I'm guessing a Toeplitz structure and some kind of spatial power autocorrelation function)? $\endgroup$