I ran the following difference in difference estimation and used the author defined output code using outreg2. However, I am trying to show t-stat instead of standard error also asterisks for p-value significance level. I tried adding t-stat into the code but does not seem to work. Any help would be great
Output Code:
Code:
diff ABS_DA_w, t(AIC_GIC) p(year_dum)
DIFFERENCE-IN-DIFFERENCES ESTIMATION RESULTS
Number of observations in the DIFF-IN-DIFF: 1560
Before After
Control: 632 747 1379
Treated: 94 87 181
726 834
--------------------------------------------------------
Outcome var. | ABS_D~w | S. Err. | |t| | P>|t|
----------------+---------+---------+---------+---------
Before | | | |
Control | 0.084 | | |
Treated | 0.096 | | |
Diff (T-C) | 0.012 | 0.010 | 1.22 | 0.221
After | | | |
Control | 0.091 | | |
Treated | 0.083 | | |
Diff (T-C) | -0.008 | 0.010 | 0.78 | 0.438
| | | |
Diff-in-Diff | -0.019 | 0.014 | 1.41 | 0.159
--------------------------------------------------------
R-square: 0.00
* Means and Standard Errors are estimated by linear regression
**Inference: *** p<0.01; ** p<0.05; * p<0.1
Code:
outreg2 using table_diff.word, 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
