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?
↧