Today I run a simple reg for a panel dataset with a panel of units and time periods , I control for unit fixed effects and time fixed effects.
Code:
reg y i.unit i.year control_vars
Code:
reg y i.unit i.year control_vars, vce (cluster unit)
Many thanks and warm regards.
0 Response to Whether coefficients of before clustering and after clustering in using reg command is strange?
Post a Comment