--------------------------------------------------------------------------------------------------------------------------------------------------------------------- name: 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: 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 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------