Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72787

xtreg: Panels are not nested within clusters

$
0
0
In a cross section of students, we are running xtreg with school fixed effects and teacher-clustered standard errors. Stata gives the error "panels are not nested within clusters," meaning that schools are not nested within teachers. I understand that schools are not nested within teachers, but I don't see why that should be a problem. Is there something fundamentally wrong with our model, or is it just a model that xtreg is not set up to estimate?

Viewing all articles
Browse latest Browse all 72787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>