Displaying 1 result from an estimated 1 matches for "cormultiar1".
2008 Oct 13
0
correlation structure in gls or lme/lmer with several observations per day
...h no success. One
difficulty arises since corAR1 seems to require only one observation per
day (see example below). Any idea on how to implement it, either with
special correlation structures, or through random effects in lme/lmer ?
should I try to define a "new" correlation structure corMultiAR1 ? If
so, where can I find help on how to write such a piece of code (
nlme:::corAR1 is not clear to me) ?
Or is there a way to define a general parametrised covariance matrix in gls ?
Olivier
> obs6 <- matrix( c(1,2,3,4,5,6, 1,1,2,2,3,3), byrow=F, nc=2)
> dimnames(obs6) <- list(...