File size: 5,370 Bytes
57fe0a1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
name: <unnamed>
log: /Users/stefanogagliarducci/Dropbox/various/published/womenpart/EJ/3 replication package/Log/Figure1_2.log
log type: text
opened on: 8 Jul 2021, 12:08:33
.
. use "$AnalysisData/sponsors_analysis_101-111_replication.dta", clear
(Sponsor-level data set. Each observation is an individual congress member.)
.
. tabstat dwnom1 if sponsor_party==100 & sponsor_female==0, by(v2)
Summary for variables: dwnom1
by categories of: v2 (Congress)
v2 | mean
---------+----------
101 | -.3060248
102 | -.3120163
103 | -.3230909
104 | -.3567597
105 | -.3576358
106 | -.3593452
107 | -.3583473
108 | -.3637055
109 | -.3701923
110 | -.3467821
111 | -.3298564
---------+----------
Total | -.3403725
--------------------
. tabstat dwnom1 if sponsor_party==100 & sponsor_female==1, by(v2)
Summary for variables: dwnom1
by categories of: v2 (Congress)
v2 | mean
---------+----------
101 | -.3439375
102 | -.3795263
103 | -.3854857
104 | -.4245333
105 | -.4108824
106 | -.4301538
107 | -.4366905
108 | -.4361579
109 | -.4348333
110 | -.4166809
111 | -.4020893
---------+----------
Total | -.41449
--------------------
. tabstat dwnom1 if sponsor_party==200 & sponsor_female==0, by(v2)
Summary for variables: dwnom1
by categories of: v2 (Congress)
v2 | mean
---------+----------
101 | .3423875
102 | .3609808
103 | .4135741
104 | .4716019
105 | .4984498
106 | .5214563
107 | .54504
108 | .5770244
109 | .5953805
110 | .6324743
111 | .6595385
---------+----------
Total | .5144841
--------------------
. tabstat dwnom1 if sponsor_party==200 & sponsor_female==1, by(v2)
Summary for variables: dwnom1
by categories of: v2 (Congress)
v2 | mean
---------+----------
101 | .17375
102 | .1966667
103 | .26075
104 | .4001765
105 | .4168
106 | .4425882
107 | .4478235
108 | .52905
109 | .554913
110 | .60165
111 | .6451765
---------+----------
Total | .4554246
--------------------
.
. sort sponsor_state_abbrev sponsor_district v2 sponsor_term_served
. bysort sponsor_state_abbrev sponsor_district: gen dwnom1_lag=dwnom1[_n-1]
(562 missing values generated)
.
. gen predicted_rep= 100*(1-predicted_dem)
(396 missing values generated)
. cumul predicted_rep if sponsor_party==100 & sponsor_female==0, generate(cum_predicted_repD0)
. cumul predicted_rep if sponsor_party==100 & sponsor_female==1, generate(cum_predicted_repD1)
. cumul predicted_rep if sponsor_party==200 & sponsor_female==0, generate(cum_predicted_repR0)
. cumul predicted_rep if sponsor_party==200 & sponsor_female==1, generate(cum_predicted_repR1)
. label var cum_predicted_repD0 "Male, Democrat"
. label var cum_predicted_repD1 "Female, Democrat"
. label var cum_predicted_repR0 "Male, Republican"
. label var cum_predicted_repR1 "Female, Republican"
. sort predicted_rep
. scatter cum_predicted_repD0 cum_predicted_repD1 cum_predicted_repR0 cum_predicted_repR1 predicted_rep, /*
> */ c(l l l l) lpattern(solid dash solid dash) clcolor(black black gs12 gs12) msym(none none none none) xtitle("") /*
> */ saving("$Output/Figure1.gph", replace)
(file /Users/stefanogagliarducci/Dropbox/various/published/womenpart/EJ/3 replication package/Output/Figure1.gph saved)
. graph export "$Output/Figure1.eps", as(eps) replace fontface(Times)
(file /Users/stefanogagliarducci/Dropbox/various/published/womenpart/EJ/3 replication package/Output/Figure1.eps written in EPS format)
.
. cumul dwnom1_lag if sponsor_party==100 & sponsor_female==0, generate(cum_dwnom1D0)
. cumul dwnom1_lag if sponsor_party==100 & sponsor_female==1, generate(cum_dwnom1D1)
. cumul dwnom1_lag if sponsor_party==200 & sponsor_female==0, generate(cum_dwnom1R0)
. cumul dwnom1_lag if sponsor_party==200 & sponsor_female==1, generate(cum_dwnom1R1)
. label var cum_dwnom1D0 "Male, Democrat"
. label var cum_dwnom1D1 "Female, Democrat"
. label var cum_dwnom1R0 "Male, Republican"
. label var cum_dwnom1R1 "Female, Republican"
. sort dwnom1_lag
. scatter cum_dwnom1D0 cum_dwnom1D1 cum_dwnom1R0 cum_dwnom1R1 dwnom1_lag, /*
> */ c(l l l l) lpattern(solid dash solid dash) clcolor(black black gs12 gs12) msym(none none none none) xtitle("") /*
> */ saving("$Output/Figure2.gph", replace)
(file /Users/stefanogagliarducci/Dropbox/various/published/womenpart/EJ/3 replication package/Output/Figure2.gph saved)
. graph export "$Output/Figure2.eps", as(eps) replace fontface(Times)
(file /Users/stefanogagliarducci/Dropbox/various/published/womenpart/EJ/3 replication package/Output/Figure2.eps written in EPS format)
.
. log close
name: <unnamed>
log: /Users/stefanogagliarducci/Dropbox/various/published/womenpart/EJ/3 replication package/Log/Figure1_2.log
log type: text
closed on: 8 Jul 2021, 12:08:36
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
|