Hi everyone,
Afetr running a regression, I used outreg2 to report my results, but I got all the year dummies in the table. I tried using the drop option to get rid of them but they are still there. I also tried using the keep option with just the dependent, independent and control variables, but, the result is that it also get rid of the coefficient of the independent variable.
Afetr running a regression, I used outreg2 to report my results, but I got all the year dummies in the table. I tried using the drop option to get rid of them but they are still there. I also tried using the keep option with just the dependent, independent and control variables, but, the result is that it also get rid of the coefficient of the independent variable.
Code:
quietly regress y x control variables i.year quietly outreg2 using mydoc, append addtext(Year dummies, YES) keep (y x control variables)

Comment