6. Storing results with outreg2.
Install or update outreg2:
ssc install outreg2, replace
Run the following command after diff. Results will be stored in working directory (also
see help outreg2 for further options:
outreg2 using table_diff, ctitle(`r(depvar)') addstat(Mean control t(0), r(mean_c0),
Mean treated t(0), r(mean_t0), Diff t(0), r(diff0), Mean control t(1), r(mean_c1),
Mean treated t(1), r(mean_t1), Diff t(1), r(diff1)) label excel keep(_diff) nocons