Skip to content
Prev 18293 / 20628 Next

Interaction terms with random slopes

Perhaps because I never had to deal with software that relies on
explicit nesting of levels, I find it very hard to follow the level-1
and level-2 terminology. Can you provide an example of the model you're
thinking of and how you would test the corresponding hypothesis (e.g.
model comparison, etc.)?

The usual rule of thumb is that for any random slope, you should have
the corresponding fixed-effect slope in the model. There's a discussion
of this over on CrossValidated:
https://stats.stackexchange.com/a/339859/26743

Now, I can think of exceptions to this rule, much like I can think of
exceptions to the rule that you should always include the intercept in a
linear model. But in both cases, if you have to ask, it usually means
you shouldn't do it.
On 11/3/20 9:00 pm, Yashree Mehta wrote: