Alexandre Galvão Patriota
2004-Nov-13 02:46 UTC
[R] Variance and Covariance Matrix D and R in nlme or lme4 part II
The model is Y = XB + Zg + e where g~N(0, D) e~N(0, R) How to extract the VAR(g)= D, VAR(e)=R and V=ZDZ'+R? thanks
Douglas Bates
2004-Nov-13 14:59 UTC
[R] Variance and Covariance Matrix D and R in nlme or lme4 part II
Alexandre Galv??o Patriota wrote:> The model is Y = XB + Zg + e > > where > > g~N(0, D) > > e~N(0, R) > > How to extract the VAR(g)= D, VAR(e)=R and V=ZDZ'+R? > > thanksThe VarCorr function can provide D.