Skip to content
Prev 1927 / 20628 Next

Correlation of Fixed Effects

Just to be complete, here's an example of getting the correlation of
fixed effects from the covariance matrix:
Linear mixed model fit by REML
Formula: Reaction ~ Days + (Days | Subject)
   Data: sleepstudy
  AIC  BIC logLik deviance REMLdev
 1756 1775 -871.8     1752    1744
Random effects:
 Groups   Name        Variance Std.Dev. Corr
 Subject  (Intercept) 612.092  24.7405
          Days         35.072   5.9221  0.066
 Residual             654.941  25.5918
Number of obs: 180, groups: Subject, 18

Fixed effects:
            Estimate Std. Error t value
(Intercept)  251.405      6.825   36.84
Days          10.467      1.546    6.77

Correlation of Fixed Effects:
     (Intr)
Days -0.138
2 x 2 Matrix of class "dpoMatrix"
          [,1]      [,2]
[1,] 46.574676 -1.452393
[2,] -1.452393  2.389416
[1] -0.1376783



On Mon, Feb 9, 2009 at 6:01 PM, Kingsford Jones
<kingsfordjones at gmail.com> wrote: