Skip to content
Prev 66797 / 398525 Next

help im lme()

you can get the estimated covariance matrix of the random-effects 
using:

library(nlme)
m <- lme(Orthodont)

# scaled by the residuals variance
pdMatrix(m$modelStruct$reStruct)

# raw
lapply(pdMatrix(m$modelStruct$reStruct), "*", m$sigma^2)


However, it seems that in your model you use as a fixed-effect your 
grouping factor "ano", which is not in the spirit of mixed-models.


I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Bernardo Rangel Tura" <tura at centroin.com.br>
To: <r-help at stat.math.ethz.ch>
Sent: Thursday, March 31, 2005 11:21 AM
Subject: [R] help im lme()