| vcovAdj {pbkrtest} | R Documentation |
Kenward and Roger (1997) describbe an improved small sample approximation to the covariance matrix estimate of the fixed parameters in a linear mixed model.
vcovAdj(object, details=0) LMM_Sigma_G(object, details=0)
object |
An |
details |
If larger than 0 some timing details are printed. |
phiA |
the estimated covariance matrix, this has attributed P, a list of matrices used in |
SigmaG |
list: Sigma the covariance matrix of Y; G the G matrices that sum up to Sigma; n.ggamma: the number (called M in the article) of G matrices) |
This functionality is not thoroughly tested and should be used with care. Please do report bugs etc.
Ulrich Halekoh ulrich.halekoh@agrsci.dk, Søren Højsgaard sorenh@math.aau.dk
Kenward, M. G. and Roger, J. H. (1997), Small Sample Inference for Fixed Effects from Restricted Maximum Likelihood, Biometrics 53: 983-997.
getKR
KRmodcomp
lmer
PBmodcomp
vcovAdj
(fmLarge <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)) ## removing Day (vcovAdj(fmLarge,detail=0))