Hi,
I am a beginner in statistics and stata (14.0) and try to do and understand the following analysis:
I am conducting an difference-in-difference analysis with panel data. The Treatment Group consists of firms with companies who have a male CEO in the pre-treatment period and a female CEO in the post period. The control group consists of firms with male CEO in the pre period, a change from male to male at the time of treatment and thus also male CEO in the post period.
Consequently my treatment is the change in CEO from male to female.
Because treatment takes place in different years, I included the variable which I called "timetrend" which has a value of 0 at the time of treatment, negative integers for pre period and positive integers for post-treatment period.
This is an extract of my dataset.
So I did the difference in difference analysis with "leverage" as my dependent variable. Leverage is determined by (debt of the firm/(debt of the firm + equity of the firm)). I chose to take the following years into account: two years before treatment (that is timetrend=-2) ans two years after treatment (that is timetrend=2).
The code and the output look like this:
I am unsure about following aspects:
- am I right to say that the change in CEO from male to female results in -4.4% lower leverage than for comparable companies with a male CEO? Is the value in percentage points?
- what does the standard error of the dff-in-diff value say?
- what other tests would you recommend to do after conducting the diff-in-diff to verify the result? I am very confused how I should move on....
I would appreciate any help!!
Best wishes,
Liz
I am a beginner in statistics and stata (14.0) and try to do and understand the following analysis:
I am conducting an difference-in-difference analysis with panel data. The Treatment Group consists of firms with companies who have a male CEO in the pre-treatment period and a female CEO in the post period. The control group consists of firms with male CEO in the pre period, a change from male to male at the time of treatment and thus also male CEO in the post period.
Consequently my treatment is the change in CEO from male to female.
Because treatment takes place in different years, I included the variable which I called "timetrend" which has a value of 0 at the time of treatment, negative integers for pre period and positive integers for post-treatment period.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte number str48 companyname str14 country int(nacerev2code year) byte(timetrend period group) float(leverage changeinleverage tang ptob roe size stage _diff) 1 "Deutsche Post AG" "Germany" 5320 2009 -5 0 1 .6989025 -.27010855 .21682996 2 8.05 17.348087 2.70805 0 1 "Deutsche Post AG" "Germany" 5320 2010 -4 0 1 .650414 -.04848848 .23284854 1.45 27.2 17.424345 2.772589 0 1 "Deutsche Post AG" "Germany" 5320 2011 -3 0 1 .6447105 -.005703561 .16395503 1.31 10.81 17.433296 2.833213 0 1 "Deutsche Post AG" "Germany" 5320 2012 -2 0 1 .5877402 -.05697034 .19163695 1.68 14.44 17.307888 2.890372 0 1 "Deutsche Post AG" "Germany" 5320 2013 -1 0 1 .6522491 .0645089 .19015887 3.26 22.16 17.346302 2.944439 0 1 "Deutsche Post AG" "Germany" 5320 2014 0 0 1 .6609532 .008704134 .1970871 3.51 21.55 17.377323 2.995732 0 1 "Deutsche Post AG" "Germany" 5320 2015 1 1 1 .623811 -.037142225 .2007711 2.85 15.09 17.395216 3.0445225 1 1 "Deutsche Post AG" "Germany" 5320 2016 2 1 1 .63437 .010558965 .2030419 3.4 23.86 17.401886 3.0910425 1 1 "Deutsche Post AG" "Germany" 5320 2017 3 1 1 .6059434 -.028426517 .20905674 3.85 22.87 17.41008 3.135494 1 2 "Deutsche Lufthansa AG" "Germany" 5110 2009 -3 0 1 .709519 .07796273 .374656 .88 -1.77 17.087244 4.4308167 0 2 "Deutsche Lufthansa AG" "Germany" 5110 2010 -2 0 1 .6607533 -.0487658 .3668962 .91 15.78 17.190979 4.4426513 0 2 "Deutsche Lufthansa AG" "Germany" 5110 2011 -1 0 1 .6623195 .001566215 .3773061 .53 -.16 17.149427 4.454347 0 2 "Deutsche Lufthansa AG" "Germany" 5110 2012 0 0 1 .6559472 -.006372246 .3749587 .8 12.23 17.161018 4.465908 0 2 "Deutsche Lufthansa AG" "Germany" 5110 2013 1 1 1 .7225327 .06658555 .3768719 1.18 5.78 17.16408 4.477337 1 2 "Deutsche Lufthansa AG" "Germany" 5110 2014 2 1 1 .8045897 .08205701 .3838485 1.62 1.1 17.18229 4.4886365 1 2 "Deutsche Lufthansa AG" "Germany" 5110 2015 3 1 1 .7517645 -.05282527 .3813303 1.17 34.88 17.257914 4.4998097 1 2 "Deutsche Lufthansa AG" "Germany" 5110 2016 4 1 1 .7043551 -.04740939 .3722724 .82 27.69 17.320587 4.5108595 1 2 "Deutsche Lufthansa AG" "Germany" 5110 2017 5 1 1 .6642029 -.04015225 .3666326 1.53 28.56 17.363518 4.5217886 1 3 "Danone" "France" 1051 2009 -6 0 1 .4712593 -.1826623 .1507505 1.98 12.43 17.083252 4.7095304 0 3 "Danone" "France" 1051 2010 -5 0 1 .54233587 .07107653 .1674351 2.43 16.63 17.127804 4.7184987 0 3 "Danone" "France" 1051 2011 -4 0 1 .46205485 -.080281 .1666166 2.41 14.02 17.138206 4.727388 0 3 "Danone" "France" 1051 2012 -3 0 1 .5159612 .05390639 .16392255 2.43 13.77 17.177378 4.7361984 0 3 "Danone" "France" 1051 2013 -2 0 1 .6163863 .10042502 .16706175 2.87 12.43 17.223982 4.744932 0 3 "Danone" "France" 1051 2014 -1 0 1 .59046185 -.025924416 .18953854 2.79 10 17.246622 4.75359 0 3 "Danone" "France" 1051 2015 0 0 1 .5747394 -.015722452 .20161635 3.04 10.55 17.275291 4.762174 0 3 "Danone" "France" 1051 2016 1 1 1 .6770943 .10235497 .15982074 2.83 13.38 17.57945 4.770685 1 3 "Danone" "France" 1051 2017 2 1 1 .6414282 -.03566611 .17063136 3.05 17.77 17.589329 4.779123 1 4 "Heineken NV" "Netherlands" 1105 2009 -6 0 1 .6967413 -.063050255 .28996417 3.04 20.73 16.79201 4.919981 0 4 "Heineken NV" "Netherlands" 1105 2010 -5 0 1 .56629777 -.13044353 .28600717 2.06 18.44 17.078213 4.927254 0 4 "Heineken NV" "Netherlands" 1105 2011 -4 0 1 .5915246 .025226817 .28746724 2.1 14.51 17.098412 4.934474 0 4 "Heineken NV" "Netherlands" 1105 2012 -3 0 1 .6203728 .028848203 .25057137 2.48 27.48 17.382647 4.941642 0 4 "Heineken NV" "Netherlands" 1105 2013 -2 0 1 .6095473 -.010825484 .25266346 2.48 11.79 17.306824 4.94876 0 4 "Heineken NV" "Netherlands" 1105 2014 -1 0 1 .5922384 -.017308857 .25161532 2.73 12.73 17.346828 4.955827 0 4 "Heineken NV" "Netherlands" 1105 2015 0 0 1 .58579427 -.006444144 .25039768 3.32 14.59 17.419811 4.962845 0 4 "Heineken NV" "Netherlands" 1105 2016 1 1 1 .6171665 .0313722 .2434834 3.07 11.5 17.461222 4.969813 1 4 "Heineken NV" "Netherlands" 1105 2017 2 1 1 .629406 .01223955 .25420904 3.72 14.57 17.511019 4.976734 1 5 "Air Liquide" "France" 2011 2009 -6 0 1 .56413263 -.04685115 .3413025 2.88 17.15 16.824924 4.6821313 0 5 "Air Liquide" "France" 2011 2010 -5 0 1 .53005415 -.03407847 .3448009 3.01 17.03 16.917011 4.691348 0 5 "Air Liquide" "France" 2011 2011 -4 0 1 .5203441 -.00971009 .3488402 2.77 16.45 16.986586 4.7004805 0 5 "Air Liquide" "France" 2011 2012 -3 0 1 .51694435 -.003399723 .3539053 2.9 16.12 17.019821 4.7095304 0 5 "Air Liquide" "France" 2011 2013 -2 0 1 .50290537 -.014038997 .3606485 3.02 15.76 17.026068 4.7184987 0 5 "Air Liquide" "France" 2011 2014 -1 0 1 .4933977 -.009507664 .3642355 3.07 15.03 17.091877 4.727388 0 5 "Air Liquide" "France" 2011 2015 0 0 1 .4970567 .003659021 .3636908 2.88 14.67 17.172625 4.7361984 0 5 "Air Liquide" "France" 2011 2016 1 1 1 .5603392 .06328249 .3222896 2.45 12.65 17.598242 4.744932 1 5 "Air Liquide" "France" 2011 2017 2 1 1 .546536 -.013803134 .3215936 2.75 13.31 17.52343 4.75359 1 end
So I did the difference in difference analysis with "leverage" as my dependent variable. Leverage is determined by (debt of the firm/(debt of the firm + equity of the firm)). I chose to take the following years into account: two years before treatment (that is timetrend=-2) ans two years after treatment (that is timetrend=2).
The code and the output look like this:
Code:
diff lev if timetrend==2 | timetrend==-2, t(group) p(period) cov(tang ptob size roe stage) DIFFERENCE-IN-DIFFERENCES WITH COVARIATES DIFFERENCE-IN-DIFFERENCES ESTIMATION RESULTS Number of observations in the DIFF-IN-DIFF: 172 Before After Control: 43 43 86 Treated: 43 43 86 86 86 -------------------------------------------------------- Outcome var. | lever~e | S. Err. | |t| | P>|t| ----------------+---------+---------+---------+--------- Before | | | | Control | 0.272 | | | Treated | 0.254 | | | Diff (T-C) | -0.018 | 0.048 | -0.38 | 0.708 After | | | | Control | 0.252 | | | Treated | 0.190 | | | Diff (T-C) | -0.062 | 0.047 | 1.30 | 0.194 | | | | Diff-in-Diff | -0.044 | 0.067 | 0.65 | 0.516 -------------------------------------------------------- R-square: 0.10 * Means and Standard Errors are estimated by linear regression **Inference: *** p<0.01; ** p<0.05; * p<0.1
I am unsure about following aspects:
- am I right to say that the change in CEO from male to female results in -4.4% lower leverage than for comparable companies with a male CEO? Is the value in percentage points?
- what does the standard error of the dff-in-diff value say?
- what other tests would you recommend to do after conducting the diff-in-diff to verify the result? I am very confused how I should move on....
I would appreciate any help!!
Best wishes,
Liz
Comment