Skip to content

Can lme allow for serial correlation and 'pure' measurement error?

3 messages · Jonathan.Bartlett at lshtm.ac.uk, Andrew Robinson, Jonathan Baron

#
I don't think that lme can do that out of the box.

One hack to get around the problem would be to use the mean of the
multiple measurements, also record the standard error of measurements
within examination and feed the latter into a variance model using the
weights argument.

I hope that this helps,

Andrew
On Thu, May 29, 2008 at 03:29:29PM +0100, Jonathan.Bartlett at lshtm.ac.uk wrote:

  
    
#
Min Gong supplied me with the following (which might also work in lmer
in the lme4 package):

I think you are probably referring to this. He can use subject as a
grouping factor when measuring the serial correlation between
periods..

http://stat.ethz.ch/R-manual/R-patched/library/nlme/html/corAR1.html
On 05/30/08 10:46, Andrew Robinson wrote: