Hi Folks, I am estimating a three level model in Stata 14, and I am a little unsure of why we cannot cluster at the second level. I might be a little weak on the theory here. Can somebody explain this limitation? Using data from the mixed help file, you can reproduce the error (highest-level groups are not nested within state). Thanks.
clear all
webuse productivity
mixed gsp private emp hwy water other unemp || region: || state:, vce(cluster state)
highest-level groups are not nested within state
clear all
webuse productivity
mixed gsp private emp hwy water other unemp || region: || state:, vce(cluster state)
highest-level groups are not nested within state
Comment