Dear Stata users,
I have some issues with the outreg2 commend when I export my results to excel. I have panel data and perform a diff-in-diff regression using time fixed effects, (a) individual fixed effects, and (b) country fixed effects. I have xtset the data on ID and time.
(a)
(b)
The problem I have is that outreg2 will not report the r2 (or adjr2) when I do not employ individual fixed effects (b). The line in the excel command is then missing. Has anybody faced that problem before? Or am I doing something wrong here? The help file and the web have no entry for this problem as far as I know.
I would appreciate some advice.
Regards,
Julian
I have some issues with the outreg2 commend when I export my results to excel. I have panel data and perform a diff-in-diff regression using time fixed effects, (a) individual fixed effects, and (b) country fixed effects. I have xtset the data on ID and time.
(a)
Code:
xtreg depvar controls i.yr2 post15 govsupp2_50 i.post15##i.govsupp2_50 , fe vce(cluster idno) outreg2 using fund_govsupp, replace excel dec(3) adjr2
Code:
xtreg depvar controls i.yr2 i.countryid post15 govsupp2_50 i.post15##i.govsupp2_50 , vce(cluster idno) outreg2 using fund_govsupp, replace excel dec(3) adjr2
I would appreciate some advice.
Regards,
Julian
Comment