Let's say I have data where respondents are clustered within neighborhoods. If I were to run this linear model:
And then this model:
Would they give me different answers, and would one be preferable over the other?
Code:
reg y x1 x2 i.nhood, vce(robust)
Code:
reg y x1 x2 i.nhood, vce(cluster nhood)
Comment