Skip to content
Prev 18726 / 20628 Next

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

Dear Simon,

A perfect correlation between random effect parameters indicates a problem.
Note the failed convergence warning.
Standardising ses makes things even worse: it yields a singular fit error.

Removing the random slope of ses or the sector interaction solves the
problem. i.e. the model runs and yields sensible output.

Looking at the data, it seems like both math and ses have bounds. Ses
even seems to have some data above its upper bound.
The model assumes no bounds in the response variable. Maybe this is the
cause of the problem.

ggplot(hsb, aes(x = ses, y = math, colour = factor(sector))) +
  geom_point()

Best regards,

Thierry


ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx at inbo.be
Havenlaan 88 bus 73, 1000 Brussel
www.inbo.be

///////////////////////////////////////////////////////////////////////////////////////////
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey
///////////////////////////////////////////////////////////////////////////////////////////

<https://www.inbo.be>


Op do 24 sep. 2020 om 18:39 schreef Simon Harmel <sim.harmel at gmail.com>: