Hello. I would like to know how i can plot the common trend graph for DID?
-
Login or Register
- Log in with
xtlogit outcome i.treatment##i.post, fe
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
* Example generated by -dataex-. To install: ssc install dataex clear input byte region int id07 byte id08 double weight float(childage ybirth childwhour nchildren fathereduc childfemale zemporment yearXtreated) 1 5 3 223.69 12 1987 . 4 . 1 -.10025822 1999 1 3 24 183.4 14 1985 1 6 . 1 -1.54133 1999 1 3 30 183.4 15 1994 . 2 . 1 -.14047733 1999 1 3 33 183.4 17 1982 . 7 . 1 -.470427 1999 1 3 4 31.08 12 1987 2 5 . 1 -.10025822 1999 1 3 4 31.08 16 1983 . 5 . 1 -.14047733 1999 1 3 9 31.08 17 1982 1 2 6 1 -.8965764 1999 1 3 35 31.08 11 1988 2 4 . 1 .4156623 1999 1 4 3 30.65 17 1982 2 2 . 1 -.8965764 1999 1 4 8 30.65 12 1987 . 5 . 1 .521284 1999 end label values region lf01 label def lf01 1 "tigray", modify
reg Achievement Time Treated Time##Treated i.indicator i.practice
Achievement | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- Time | -1.063959 .5073119 -2.10 0.036 -2.058322 -.0695965 Treated | 20.38859 .5700967 35.76 0.000 19.27117 21.50601 1.Time | 0 (omitted) 1.Treated | 0 (omitted) | Time#Treated | 1 1 | -4.78109 .5263227 -9.08 0.000 -5.812714 -3.749465 | indicator | 2 | -10.22745 .5072466 -20.16 0.000 -11.22169 -9.233218 3 | -19.64932 .5071011 -38.75 0.000 -20.64327 -18.65537 4 | -8.730226 .5071011 -17.22 0.000 -9.724175 -7.736276 5 | -6.353807 .5075383 -12.52 0.000 -7.348613 -5.359001 6 | -9.002199 .5073981 -17.74 0.000 -9.99673 -8.007668 7 | -8.68239 .5071011 -17.12 0.000 -9.676339 -7.68844 8 | -1.745006 .5073923 -3.44 0.001 -2.739526 -.7504858 9 | -15.92869 .5071011 -31.41 0.000 -16.92264 -14.93474 10 | -18.55426 .5069612 -36.60 0.000 -19.54793 -17.56058 11 | -5.963069 .5071011 -11.76 0.000 -6.957018 -4.969119 12 | -21.0394 .5071011 -41.49 0.000 -22.03335 -20.04545 13 | -26.1869 .5071011 -51.64 0.000 -27.18085 -25.19295 14 | -8.664169 .5072464 -17.08 0.000 -9.658403 -7.669934 15 | -8.35708 .5073923 -16.47 0.000 -9.3516 -7.36256 16 | -7.64188 .5076896 -15.05 0.000 -8.636983 -6.646777 17 | 1.926681 .5071011 3.80 0.000 .9327313 2.92063 18 | 0 (omitted) 19 | -16.04299 .5072464 -31.63 0.000 -17.03723 -15.04876 20 | -13.34192 .5071011 -26.31 0.000 -14.33587 -12.34797 21 | -7.2508 .5071011 -14.30 0.000 -8.244749 -6.25685 22 | -1.456801 .5105569 -2.85 0.004 -2.457524 -.4560785
Comment