Cluster-robust standard errors — when to use?
hardAnswer
- Observations within clusters (schools, accounts, sessions) are correlated → default OLS SEs are too small → false positives.
- Cluster-robust ('Liang-Zeger', 'sandwich') SEs correct for within-cluster correlation.
- Rule: cluster at the level of treatment assignment or the highest level of correlation.
- Needs ≥ 30-50 clusters to be reliable — with few clusters, use wild cluster bootstrap.
- Standard in econometrics / A/B testing on clusters.
Check yourself — multiple choice
- Not needed
- Correct within-cluster correlation → wider SEs; cluster at treatment level; needs ≥ 30-50 clusters (else wild cluster bootstrap)
- Same as robust SE
- Only Bayesian
Cluster SEs: correct within-cluster correlation; need 30+ clusters.
#mixed-effects#regression
Practise Statistics Fundamentals
215 interview questions in this topic.
Related questions
- What is a mixed-effects model?
- Random intercepts vs random slopes — the difference.
- Mixed-effects vs cluster-robust SEs — which do you pick?
- You have 50,000 measurements from 200 patients. What is your sample size?
- Prediction interval vs confidence interval — the difference.
- What are the Gauss-Markov assumptions for OLS?