Hi, This question may not be related to STATA but econometrics in general.
Still, I am asking to seek help here because I want to incorporate this information into the STATA command.
My dependent variable is the State level but the independent variable is the district level. Districts are part of states. In this case, should I cluster the errors district level or state level?
Should the STATA command be :
reghdfe Y X, absorb (stated year) cluster(stateid)
Or
reghdfe Y X, absorb(districtid year) cluster(districtid)
Thank you.
Regards,
Vikrant
Still, I am asking to seek help here because I want to incorporate this information into the STATA command.
My dependent variable is the State level but the independent variable is the district level. Districts are part of states. In this case, should I cluster the errors district level or state level?
Should the STATA command be :
reghdfe Y X, absorb (stated year) cluster(stateid)
Or
reghdfe Y X, absorb(districtid year) cluster(districtid)
Thank you.
Regards,
Vikrant

Comment