Displaying 1 result from an estimated 1 matches for "fm4oatsb".
2006 Sep 23
1
variance-covariance structure of random effects in lme
...eiro and Douglas Bates.
There is an example of defining a compound symmetry variance-covariance structure for the random effects in a
split-plot experiment on varieties of oats. I ran the codes from the book and extracted the variance and correlation
components:
>library(nlme)
>data(Oats)
>fm4OatsB <- lme(yield~nitro, data=Oats, random=list(Block=pdCompSymm(~Variety-1)))
>VarCorr(fm4OatsB)
Block = pdCompSymm(Variety - 1)
Variance StdDev Corr
VarietyGolden Rain 331.5271 18.20788
VarietyMarvellous 331.5271 18.20788 0.635
VarietyVictory 3...