I needed some advice on clustering while using ivreghdfe.
My code is -
I have 78,670 observations with about 42000 distinct unique_ids. The FEs in absorb() amount to about 3000 dummies.
The error I get is
.
When I remove the vce(cluster) option, the code runs properly. Could you help out with what I must be doing wrong here?
My code is -
HTML Code:
ivreghdfe yvar (ever_win = true_treat), absorb(strata gender#batch city#batch yrs_school#batch age#batch mult_apply_hh#batch) vce(cluster unique_id)
The error I get is
HTML Code:
insufficient observations
When I remove the vce(cluster) option, the code runs properly. Could you help out with what I must be doing wrong here?
Comment