EasyDeepLearn

Random intercepts vs random slopes — the difference.

hard

Answer

  • Random intercept: each cluster has its own baseline level around the global β0{\beta}_{0}.
  • Random slope: each cluster's slope for a predictor varies around the global β.
  • Test which you need with LRT or AIC.
  • Rule: if the effect of X differs meaningfully across clusters (users respond differently to price changes), use random slopes.
  • Random slopes typically require more clusters (~30+) to fit reliably.
Check yourself — multiple choice
  • Same thing
  • Random intercept: cluster-specific baseline; random slope: cluster-specific slope on X → tests which via LRT / AIC; slopes need ~30+ clusters
  • Only fixed
  • Random

Random intercept: baseline varies; random slope: slope varies per cluster.

#mixed-effects#regression

Practise Statistics Fundamentals

215 interview questions in this topic.

Related questions