The general did2s command goes not report R-square, how do I get it?
-
Login or Register
- Log in with
did2s output if subsample==1 [aw=_weights], first_stage(i.country_id i.year /// control1 control2 control3 control4 control5) /// second_stage(treat) treatment(treat) cluster(country_id)
reghdfe output /// control1 control2 control3 control4 control5 /// i.country_id i.year if subsample==1 [aw=_weights], vce(cluster country_id)
*predict outputp if e(sample) *corr output outputp if e(sample) *di r(rho)^2
Comment