0

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???

Legionista
  • 111
  • 6
  • 2
    I don't think so, but Ben Bolker might correct me. However, covariance structures can be specified with `lme` from the nlme package. See also: http://stats.stackexchange.com/a/49793/11849 – Roland Dec 16 '14 at 09:56
  • For future reference and for the SAS-impaired, it would be nice to describe what `TOEP(X)` and `SP(POW)` statements actually do (I'm guessing a Toeplitz structure and some kind of spatial power autocorrelation function)? – Ben Bolker Dec 17 '14 at 03:24
  • As you wrote Ben Bolker. The first one is Toeplitz and the second is spatial power – Legionista Dec 17 '14 at 07:11

1 Answers1

3

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.

You can also find some examples here and here.

Tim
  • 108,699
  • 20
  • 212
  • 390