Hello Statalist users,
Let me take an example of the problem I encounter. I have a panel dataset and I want to regress profit on firm size and firm age with year fixed effects model. I use three commands as follows:
reghdfe and reg give me similar coefficients, which is different from the result of xtreg. So can reghdfe replace xtreg in my case?
Thank you in advance.
Tram-Anh Nguyen.
Let me take an example of the problem I encounter. I have a panel dataset and I want to regress profit on firm size and firm age with year fixed effects model. I use three commands as follows:
Code:
xtset firmid year reghdfe profit size age, absorb(year) cluster(firmid) xtreg profit size firmage i.year, vce(cluster firmid) reg profit size age i.year, vce(cluster firmid)
Thank you in advance.
Tram-Anh Nguyen.
Comment