[R-sig-ME] Meaning of Corr of random-effects with a cross-level interaction

Simon Harmel @|m@h@rme| @end|ng |rom gm@||@com
Thu Sep 24 18:38:17 CEST 2020

Dear All,

I had a quick question. I have a cross-level interaction in my model below
(ses*sector). My cluster-level predictor "sector" is a binary variable
(0=Public, 1=Private). My level-1 predictor is numeric.

QUESTION:  The `Corr = 1` is indicating the correlation between
intercepts and slopes across BOTH public & private sectors (like their
average) OR something else?

hsb <- read.csv('

summary(lmer(math ~ ses*sector + (ses|sch.id), data = hsb))

Random effects:
 Groups   Name        Variance Std.Dev.     Corr
 sch.id   (Intercept)  3.82107    1.9548
          ses                0.07587     0.2754        1.00
 Residual             36.78760 6.0653

	[[alternative HTML version deleted]]

More information about the R-sig-mixed-models mailing list