Hello,
I´m trying to export the results of this descriptive table to word using the command outreg2 but the mistake "matrix __000009 not found" appears. (The table code works. I only put it to be as clear as possible)

Code to build the table:
Code:
eststo controls: quietly estpost summarize ha_err_manual ha_err_aerea ha_de_coca if tratados == 0 & postpolitica==0
eststo treateds: quietly estpost summarize ha_err_manual ha_err_aerea ha_de_coca if tratados == 1 & postpolitica==0
eststo diff: quietly estpost ttest ha_err_manual ha_err_aerea ha_de_coca if postpolitica==0, by(tratados) unequal
esttab controls treateds diff, cells("mean(pattern(1 1 0) fmt(2)) sd(pattern(1 1 0)) b(star pattern(0 0 1) fmt(2))") label
Outreg code:
Code:
outreg2 using "$ruta_sergio\Plots\medias_coca.doc"
I'll appreciate if anyone could help me.
Thanks in advance.