Skip to content
Prev 18733 / 20628 Next

Meaning of Corr of random-effects with a cross-level interaction

Dear all

After some further thought and simulations I found that the objective, to
uncover different correlations between slopes and intercepts in different
groups, can be achieved simply by fitting the cross-level interaction as a
random slope. In lme4 this fits separate random slopes for each group along
with the correlations. Simulations seem to confirm that it works, at least
for the limited simulation scenarios that I tried:

https://stats.stackexchange.com/questions/489059/obtaining-correlation-between-random-effects-separately-for-2-groups/489181#489181

Best wishes
Robert Long
On Fri, Sep 25, 2020 at 9:56 AM Robert Long <longrob604 at gmail.com> wrote: