Hello
Is there an efficient way to run a regression with constraints and fixed effects. The basic way would be
where gvkey is fixed effect. But if using large panel data and running many regressions this can take quite some time. Is there a work around to use constraints with reghdfe such that
I'm sure there's not, but thought I might ask
Thanks!!
Is there an efficient way to run a regression with constraints and fixed effects. The basic way would be
Code:
constraint define 1 lemp1 = lppent1 cnsreg lsales lemp1 lppent1 i.gvkey, constraints(1)
Code:
constraint define 1 lemp1 = lppent1 reghdfe lsales lemp1 lppent1 , ab(gvkey) constraints(1)
Thanks!!
Comment