Hello I am running two nested models using reghdfe, and I would like to compare model fit the two models are the following
I tried calculating these by hand but using this command only generates missing values `gen aic1 = -2*e(ll) + 2*e(k)`
Am I doing something wrong? Do you have any suggestions on how to compare model fit using reghdfe?
thanks a lot for your help
Code:
*m1 reghdfe y x, absorb(unit_fe time_fe) cluster(unit_fe) *m2 reghdfe y x, absorb(unit_fe time_fe partner_fe) cluster(unit_fe)
Am I doing something wrong? Do you have any suggestions on how to compare model fit using reghdfe?
thanks a lot for your help
Comment