I'm running a long list of regressions in Stata. Results are exported using outreg2
. At random points in time, the execution stops at some outreg2
with the error file handle __00000G not found
. When I rerun the whole exercise it works after some tries. Do you have any idea what could be the reason?
My code looks as follows where further regressions of the same type follow.
xtreg l_GDP_capita i.year date_intens, fe r
outreg2 using year_DG_FE_gdp, excel append label addtext(DG FE, YES, YEAR FEs, YES) drop(i.year) ctitle(log GDP per capita, AP) replace
xtreg l_GDP_capita i.year date_intens if any_lez==1, fe r
outreg2 using year_DG_FE_gdp, excel append label addtext(DG FE, YES, YEAR FEs, YES) drop(i.year) ctitle(log GDP per capita, LEZ)
outreg2
is from SSC. Unfortunately you don't seem to have either a reproducible example for us or even a reproducible problem for yourself with your own data. I'd advise contacting the program author directly. – Nick Coxestout
, also from SSC. – Roberto Ferrer