American Economic Journal: Economic Policy · 2024 · 10.1257/pol.20220208
The Impact of Legal Abortion on Maternal Mortality
Sherajum Monira Farin; Lauren Hoehn-Velasco; Michael F. Pesko
The research recipe, read from the replication code
openicpsr · package
· stata, r
1959–1980
sample period in the code
89
keep/drop statements
0
winsorizations
52
missing-data rules
1
de-duplications
13
distinct estimations
Sample period in the code: the window the code writes most often —
2.3.clean_bailey_icpsr_births.do:41 and 1 other file; other windows in the code: 1960–1960, 1963–1972, 1967–1968, 1968–1978, 1970–1970.
These tiles count distinct estimations (one per command, method, inference, fixed effects and file) and keep/drop statements.
"How the code gets from data to results" below counts every estimating statement (53)
and keep/drop statements plus winsorized variables (89).
1 · Data and structure
Databases read: none detected
Panel declared as:
statefip × year (annual); `place' × year (annual); abortion_regime × year (annual); full_fips × year (annual); state_fips × year (annual)2 · How the sample is built
- keep time period ×19
- drop time period ×16
- drop missing data ×11
- drop geography ×5
- keep geography ×5
- keep category value ×4
- keep value range ×4
- keep observation position ×2
Reshaping:
collapse to a coarser unit ×17; reshape long/wide ×8; fill gaps in the panel ×4; drop duplicate rows ×1
3 · Design and validation
Identification: difference in differences, event study
DiD checks: event time dummies, heterogeneity robust estimator
Outcome transforms: asinh, log plus one
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
panel fe | i.statefip, i.year | cluster by statefip | 0.2.main_analysis_programs.do |
|
did | i.statefip, i.year | cluster by statefip | 0.2.main_analysis_programs.do |
|
count | i.statefip, i.year | cluster by statefip | 0.2.main_analysis_programs.do |
|
count | i.year, i.statefip##c.year | cluster by statefip | 0.2.main_analysis_programs.do |
|
binary | robust | 1.2.main_table_selection.do | |
|
count | i.statefip, i.year | cluster by statefip | 1.2.main_table_selection.do |
|
ols | statefip | cluster by statefip | 1.2.main_table_selection.do |
|
count | i.full_fips, i.year | cluster by full_fips | 1.3.main_table_mechanisms_county_level.do |
|
count | i.statefip, i.year | cluster by statefip | 1.4.appendix_tables.do |
|
hazard | cluster by statefip | 1.4.appendix_tables.do | |
|
count | i.statefip | cluster by statefip | 1.4.appendix_tables.do |
|
count | i.statefip, i.statefip#c.year | cluster by statefip | 1.4.appendix_tables.do |
|
ols | robust | 2.2.descriptive_tables.do |
How the code gets from data to results own page
22
scripts
28
input files
28
file hand-offs
45
merges
89
sample steps
53
estimations
1 · Data in — files the code reads and no script of the package writes
Datasets this package uses (item detector / README):
NCHS Natality Data (birth certificate files)
IPUMS microdata (USA / CPS)
1 file
$raw/population/ipums/ipums_1950_1990.dattext3.1.import_ipums.do:13
ICPSR replication package/do/0.pre_cleaning_raw_import/3.1.import_ipums.do, line 13 quietly infix /// int year 1-4 /// long sample 5-10 /// double serial 11-18 /// double hhwt 19-28 /// double cluster 29-41 /// byte stateicp 42-43 /// byte …
Other input files
27 files
$raw/natality/bc_sample_years/year_full_sample.xlsxExcel2.1.import_collapse_natality_individual_files.do:111
ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 111 import excel using "$raw/natality/bc_sample_years/year_full_sample.xlsx", clear firstrow case(lower)$raw/policy/abortion_myers_confidential/dates_abortion.xlsxExcel4.policy_import.do:9
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 9 import excel "$raw/policy/abortion_myers_confidential/dates_abortion.xlsx" , firstrow case(lower) clear$raw/policy/afdc_up_winkler/afdc_up.xlsxExcel4.policy_import.do:95
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 95 import excel "$raw/policy/afdc_up_winkler/afdc_up.xlsx" , firstrow case(lower) clear$raw/policy/AHRF_ICPSR_09075/09075-0001-Data.txttext4.policy_import.do:112
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 112 quietly infix$raw/policy/cspp_msu/correlates2-6.xlsxExcel4.policy_import.do:174
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 174 import excel using "$raw/policy/cspp_msu/correlates2-6.xlsx" , clear firstrow case(lower)$raw/policy/fair_housing_collins/fair_housing.xlsxExcel4.policy_import.do:235
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 235 import excel using "$raw/policy/fair_housing_collins/fair_housing.xlsx", firstrow clear case(lower)$raw/policy/induction_data_bitler_schmidt/calls for inductees.xlsxExcel4.policy_import.do:68
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 68 import excel using "$raw/policy/induction_data_bitler_schmidt/calls for inductees.xlsx", firstrow clear cellrange(A4:G1024) sheet("for stata") case(lower)$raw/policy/induction_selective_service/selective service.xlsxExcel4.policy_import.do:49
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 49 import excel using "$raw/policy/induction_selective_service/selective service.xlsx", firstrow clear sheet("`i'") case(lower)
19 more
$raw/policy/medicaid_bordeaux/dates_medicaid.xlsxExcel4.policy_import.do:253
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 253 import excel using "$raw/policy/medicaid_bordeaux/dates_medicaid.xlsx", first clear case(lower)$raw/policy/myers_jpe_raw_policy_data/State anti-discrimination laws.dtaStata4.policy_import.do:32
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 32 merge 1:1 state using "$raw/policy/myers_jpe_raw_policy_data/State anti-discrimination laws.dta"$raw/policy/per_pupil_spending_national_education_stats/per pupil education spending.xlsExcel4.policy_import.do:269
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 269 import excel using "$raw/policy/per_pupil_spending_national_education_stats/per pupil education spending.xls", first clear case(lower) cellrange(A2:AM64)$raw/policy/religion_ARDA/Churches and Church Membership in the United States, 1971 (`var').dtaStata4.policy_import.do:300
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 300 use "$raw/policy/religion_ARDA/Churches and Church Membership in the United States, 1971 (`var').dta", clear$raw/policy/wolfers_aer_unilateral_divorce/Divorce-Wolfers-AER.dtaStata1.clean_state.do:7
ICPSR replication package/do/1.clean_files/1.clean_state.do, line 7 use "$raw/policy/wolfers_aer_unilateral_divorce/Divorce-Wolfers-AER.dta", clear$raw/population/Bailey_ICPSR_36603-V2/36603-0001-Data.dtaStata2.3.clean_bailey_icpsr_births.do:4
ICPSR replication package/do/0.pre_cleaning_raw_import/2.3.clean_bailey_icpsr_births.do, line 4 use "$raw/population/Bailey_ICPSR_36603-V2/36603-0001-Data.dta" if inrange(YEAR,1959,1980), clear$raw/population/Haines_ICPSR_02896-V3/02896-0072-Data.dtaStata3.3.clean_haines.do:19
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 19 use "$raw/population/Haines_ICPSR_02896-V3/02896-0072-Data.dta" if level==`i', clear$raw/population/Haines_ICPSR_02896-V3/02896-0074-Data.dtaStata3.3.clean_haines.do:32
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 32 use "$raw/population/Haines_ICPSR_02896-V3/02896-0074-Data.dta" if level==`i', clear$raw/population/Haines_ICPSR_02896-V3/02896-0076-Data.dtaStata3.3.clean_haines.do:45
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 45 use "$raw/population/Haines_ICPSR_02896-V3/02896-0076-Data.dta" if level==`i', clear$raw/population/Haines_ICPSR_02896-V3/02896-0078-Data.dtaStata3.3.clean_haines.do:59
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 59 use "$raw/population/Haines_ICPSR_02896-V3/02896-0078-Data.dta" if level==`i', clear$raw/population/Haines_ICPSR_02896-V3/02896-0080-Data.dtaStata3.3.clean_haines.do:73
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 73 use "$raw/population/Haines_ICPSR_02896-V3/02896-0080-Data.dta" if level==`i', clear$raw/shape/co99_d90_shp/co99_d90.dtaStata5.distance_measures.do:13
ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 13 use "$raw/shape/co99_d90_shp/co99_d90.dta", clear$temp/population/haines_1959_1980_fips.dtaStata3.3.clean_haines.do:159
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 159 use "$temp/population/haines_1959_1980_fips.dta"event_data/Rabortion_nwpois2.dtaStataappendix_R_pretrends_twfe_pois.R:120
ICPSR replication package/do/3.R_graphs_appendix/appendix_R_pretrends_twfe_pois.R, line 120 abortion_nw <- read_dta("event_data/Rabortion_nwpois2.dta")event_data/Rlnabortion_nwm2.dtaStataappendix_R_pretrends_twfe_pois.R:257
ICPSR replication package/do/3.R_graphs_appendix/appendix_R_pretrends_twfe_pois.R, line 257 lnabortion_nw <- read_dta("event_data/Rlnabortion_nwm2.dta")event_data/Rlnabortion_nwm3.dtaStataappendix_R_pretrends_twfe_pois.R:395
ICPSR replication package/do/3.R_graphs_appendix/appendix_R_pretrends_twfe_pois.R, line 395 lnabortion_nwm3 <- read_dta("event_data/Rlnabortion_nwm3.dta")event_data/Rlnmaternal_nwm2.dtaStataappendix_R_pretrends_twfe_pois.R:192
ICPSR replication package/do/3.R_graphs_appendix/appendix_R_pretrends_twfe_pois.R, line 192 lnmaternal_nw <- read_dta("event_data/Rlnmaternal_nwm2.dta")event_data/Rlnmaternal_nwm3.dtaStataappendix_R_pretrends_twfe_pois.R:328
ICPSR replication package/do/3.R_graphs_appendix/appendix_R_pretrends_twfe_pois.R, line 328 lnmaternal_nwm3 <- read_dta("event_data/Rlnmaternal_nwm3.dta")event_data/Rmaternal_nwpois2.dtaStataappendix_R_pretrends_twfe_pois.R:54
ICPSR replication package/do/3.R_graphs_appendix/appendix_R_pretrends_twfe_pois.R, line 54 maternal_nw <- read_dta("event_data/Rmaternal_nwpois2.dta")
Plus 8 reads whose file name is built at run time (a macro or loop variable) and cannot be named.
2 · The file pipeline — which script writes which file that a later script reads
22 scripts, in run order for the master script 0.1.do_all.do and the 20 scripts it runs (directly or through each other); the other 1 are not run by a master script and follow in file-name order;
28 hand-offs through 36 intermediate files; 7 files written and never read back (outputs).
-
1.
ICPSR replication package/do/2.analysis/0.1.save_results.dosetup file sourced by 5 scripts 1 merge ·writesresults_`i'`j'.dta→ read by1.1.all_figures.dowritesresults_abortion_nwpois2_V_twfe.dta→ read byappendix_R_pretrends_twfe_pois.Rwritesresults_lnabortion_nwm2_V_twfe.dta→ read byappendix_R_pretrends_twfe_pois.Rwritesresults_lnabortion_nwm3_V_iw.dta→ read byappendix_R_pretrends_twfe_pois.Rwritesresults_lnmaternal_nwm2_V_twfe.dta→ read byappendix_R_pretrends_twfe_pois.Rwritesresults_lnmaternal_nwm3_V_iw.dta→ read byappendix_R_pretrends_twfe_pois.Rwritesresults_maternal_nwpois2_V_twfe.dta→ read byappendix_R_pretrends_twfe_pois.Rwrites (not read again):R`1',results_`1'_b_iw,results_`1'_b_twfe -
2.
ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.dosetup file sourced by 5 scripts 31 estimations -
3.
ICPSR replication package/do/0.1.do_all.domaster script -
4.
ICPSR replication package/do/2.analysis/programs/eventstudyinteract.dorun by ICPSR replication package/do/0.1.do_all.do line 32 -
5.
ICPSR replication package/do/0.pre_cleaning_raw_import/1.import_mortality_files.dorun by ICPSR replication package/do/0.1.do_all.do line 45 3 merges ·writes`ipums_1950_1990_`dataset''→ read by3.2.clean_collapse_ipums.dowritesmort_county_rs.dta→ read by2.clean_county.dowritesmort_state_rs.dta→ read by1.clean_state.do -
6.
ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.dorun by ICPSR replication package/do/0.1.do_all.do line 46 reads 1 input file · 5 merges ·writesnatality_county.dta→ read by2.clean_county.dowritesnatality_from_pdf_state.dta→ read by1.clean_state.dowritesnatality_state.dta→ read by1.clean_state.dowrites (not read again):``place'_`race'' -
7.
ICPSR replication package/do/0.pre_cleaning_raw_import/2.2.import_collapse_natality_files_county_level_pdf.dorun by ICPSR replication package/do/0.1.do_all.do line 47 2 merges ·writesnatality_from_pdf_county.dta→ read by2.clean_county.dowritesnatality_from_pdf_state.dta→ read by1.clean_state.do -
8.
ICPSR replication package/do/0.pre_cleaning_raw_import/2.3.clean_bailey_icpsr_births.dorun by ICPSR replication package/do/0.1.do_all.do line 48 reads 1 input file ·writesbailey_icpsr_births.dta→ read by2.clean_county.dowritesbailey_icpsr_births_state.dta→ read by1.clean_state.do -
9.
ICPSR replication package/do/0.pre_cleaning_raw_import/3.1.import_ipums.dorun by ICPSR replication package/do/0.1.do_all.do line 51 reads 1 input file ·writesipums_1950_1990.dta→ read by3.2.clean_collapse_ipums.do -
10.
ICPSR replication package/do/0.pre_cleaning_raw_import/3.2.clean_collapse_ipums.dorun by ICPSR replication package/do/0.1.do_all.do line 52 1 merge ·reads what1.import_mortality_files.do,3.1.import_ipums.dowrotewritesipums_1950_1990_collapse.dta→ read by1.clean_state.dowritesipums_1950_1990_collapse_no1970.dta→ read by1.clean_state.dowritesipums_1950_1990_collapse_ra.dta→ read by1.clean_state.do -
11.
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.dorun by ICPSR replication package/do/0.1.do_all.do line 53 reads 6 input files · 6 merges ·writeshaines_1959_1980_fips.dta→ read by2.clean_county.dowriteshaines_1959_1980_statefip.dta→ read by1.clean_state.do -
12.
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.dorun by ICPSR replication package/do/0.1.do_all.do line 56 reads 11 input files · 4 merges ·writesabortion_counts.dta→ read by1.clean_state.do,2.1.descriptive_figures.dowritesabortion_pill_antidiscrim.dta→ read by5.distance_measures.do,2.1.descriptive_figures.dowriteschurch_members_counties.dta→ read by2.clean_county.dowriteschurch_members_states.dta→ read by1.clean_state.dowritescspp.dta→ read by1.clean_state.dowritesinductions.dta→ read by1.clean_state.dowritesmds_full_fips.dta→ read by2.clean_county.dowritesmds_statefip.dta→ read by1.clean_state.dowritespp_educ_spending.dta→ read by1.clean_state.dowrites (not read again):alternative_defacto_dates.dta,medicaid.dta -
13.
ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.dorun by ICPSR replication package/do/0.1.do_all.do line 57 reads 1 input file · 3 merges ·reads what4.policy_import.dowrotewritesgeo_treated_county_dist→ read by2.clean_county.dowritesgeo_treated_states_dist→ read by1.clean_state.do -
14.
ICPSR replication package/do/1.clean_files/1.clean_state.dorun by ICPSR replication package/do/0.1.do_all.do line 62 reads 1 input file · 16 merges ·reads what1.import_mortality_files.do,2.1.import_collapse_natality_individual_files.do,2.2.import_collapse_natality_files_county_level_pdf.do,2.3.clean_bailey_icpsr_births.do,3.2.clean_collapse_ipums.do,3.3.clean_haines.do,4.policy_import.do,5.distance_measures.dowrotewritesanalysis_maternal_abortion_mortality_1959_1980_state→ read by1.1.all_figures.do,1.4.appendix_tables.do,2.1.descriptive_figures.do,2.2.descriptive_tables.dowritesanalysis_maternal_abortion_mortality_1959_1980_state.dta→ read by2.clean_county.do,1.2.main_table_selection.do -
15.
ICPSR replication package/do/1.clean_files/2.clean_county.dorun by ICPSR replication package/do/0.1.do_all.do line 63 10 merges ·reads what1.import_mortality_files.do,2.1.import_collapse_natality_individual_files.do,2.2.import_collapse_natality_files_county_level_pdf.do,2.3.clean_bailey_icpsr_births.do,3.3.clean_haines.do,4.policy_import.do,5.distance_measures.do,1.clean_state.dowrotewritesanalysis_maternal_abortion_mortality_1959_1980_county.dta→ read by1.3.main_table_mechanisms_county_level.do -
16.
ICPSR replication package/do/2.analysis/1.1.all_figures.dorun by ICPSR replication package/do/0.1.do_all.do line 68 2 merges ·reads what0.1.save_results.do,1.clean_state.dowrotewrites (not read again):``var'' -
17.
ICPSR replication package/do/2.analysis/1.2.main_table_selection.dorun by ICPSR replication package/do/0.1.do_all.do line 69 6 merges · 8 estimationsreads what1.clean_state.dowrote -
18.
ICPSR replication package/do/2.analysis/1.3.main_table_mechanisms_county_level.dorun by ICPSR replication package/do/0.1.do_all.do line 70 4 estimationsreads what2.clean_county.dowrote -
19.
ICPSR replication package/do/2.analysis/1.4.appendix_tables.dorun by ICPSR replication package/do/0.1.do_all.do line 71 9 estimationsreads what1.clean_state.dowrote -
20.
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.dorun by ICPSR replication package/do/0.1.do_all.do line 76 1 merge ·reads what4.policy_import.do,1.clean_state.dowrote -
21.
ICPSR replication package/do/2.analysis/2.2.descriptive_tables.dorun by ICPSR replication package/do/0.1.do_all.do line 77 1 estimationreads what1.clean_state.dowrote -
22.
ICPSR replication package/do/3.R_graphs_appendix/appendix_R_pretrends_twfe_pois.Rreads 6 input files ·reads what0.1.save_results.dowrote
3 · Merges — 45 joins, 43 followed by a check of the merge result; 15 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
results_`1' ← results_``i'' |
merge 1:1 | time |
drop _merge |
0.1.save_results.do:215ICPSR replication package/do/2.analysis/0.1.save_results.do, line 215
merge 1:1 time using "${event_data}/results_``i''" |
s ← b |
merge 1:1 | — | drop _merge |
2.1.import_collapse_natality_individual_files.do:63ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 63
merge 1:1 ${`place'} using `b' |
``place'_rs' ← ``place'_w' |
merge 1:1 | — | drop _merge |
2.1.import_collapse_natality_individual_files.do:87ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 87
merge 1:1 ${`place'} using ``place'_w' |
``place'_rs' ← ``place'_nw' |
merge 1:1 | — | drop _merge |
2.1.import_collapse_natality_individual_files.do:89ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 89
merge 1:1 ${`place'} using ``place'_nw' |
(data in memory) ← onehundred |
merge m:1 | state_nchs |
drop if _merge==2 |
2.1.import_collapse_natality_individual_files.do:118ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 118
merge n:1 state_nchs using `onehundred' |
ipums_1950_1990_collapse_ra ← `ipums_1950_1990_`dataset'' |
merge 1:1 | year statefip |
tab _merge |
3.2.clean_collapse_ipums.do:186ICPSR replication package/do/0.pre_cleaning_raw_import/3.2.clean_collapse_ipums.do, line 186
merge 1:1 year statefip using `ipums_1950_1990_`dataset'' |
`haines_`level'_90' ← `haines_`level'_80' |
merge 1:1 | statefip |
drop _merge |
3.3.clean_haines.do:90ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 90
merge 1:1 ${place} using `haines_`level'_80' |
`haines_`level'_90' ← `haines_`level'_70' |
merge 1:1 | statefip |
drop _merge |
3.3.clean_haines.do:92ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 92
merge 1:1 ${place} using `haines_`level'_70' |
`haines_`level'_90' ← `haines_`level'_60' |
merge 1:1 | statefip |
drop _merge |
3.3.clean_haines.do:94ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 94
merge 1:1 ${place} using `haines_`level'_60' |
`haines_`level'_90' ← `haines_`level'_50' |
merge 1:1 | statefip |
drop _merge |
3.3.clean_haines.do:96ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 96
merge 1:1 ${place} using `haines_`level'_50' |
(data in memory) ← haines |
merge 1:1 | year statefip |
tab _merge |
3.3.clean_haines.do:118ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 118
merge 1:1 year ${place} using `haines' |
dates_abortion ← state anti-discrimination laws |
merge 1:1 | state |
drop _merge state_abbrev statename pl_maxhrs vrd mrd rd |
4.policy_import.do:32ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 32
merge 1:1 state using "$raw/policy/myers_jpe_raw_policy_data/State anti-discrimination laws.dta" |
`induct1958' ← `induct1959' |
merge 1:1 | statename |
none | 4.policy_import.do:57ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 57
merge 1:1 statename using `induct1959' |
co99_d90 ← abortion_pill_antidiscrim |
merge m:1 | statefip |
drop _merge |
5.distance_measures.do:20ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 20
merge n:1 statefip using "$temp/policy/abortion_pill_antidiscrim.dta", keepusing(year_legal) |
legalstates ← popf |
merge m:1 | COFIPS |
drop _merge |
5.distance_measures.do:45ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 45
merge n:1 COFIPS using `popf' |
(data in memory) ← year_neigh_legal |
merge m:1 | nid |
none | 5.distance_measures.do:82ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 82
merge n:1 nid using `year_neigh_legal' |
divorce-wolfers-aer ← ipums_1950_1990_collapse_no1970 |
merge 1:1 | statefip year |
keep if _merge==3 |
1.clean_state.do:24ICPSR replication package/do/1.clean_files/1.clean_state.do, line 24
merge 1:1 statefip year using "$temp/population/ipums_1950_1990_collapse_no1970.dta", keepusing(share_female_15_44* ) |
divorce-wolfers-aer ← ipums_1950_1990_collapse |
merge 1:1 | statefip year |
keep if _merge==3 |
1.clean_state.do:30ICPSR replication package/do/1.clean_files/1.clean_state.do, line 30
merge 1:1 statefip year using "$temp/population/ipums_1950_1990_collapse.dta" |
divorce-wolfers-aer ← ipums_1950_1990_collapse_ra |
merge 1:1 | statefip year |
keep if _merge==3 |
1.clean_state.do:35ICPSR replication package/do/1.clean_files/1.clean_state.do, line 35
merge 1:1 statefip year using "$temp/population/ipums_1950_1990_collapse_ra.dta" |
divorce-wolfers-aer ← haines_1959_1980_statefip |
merge 1:1 | year statefip |
drop _merge |
1.clean_state.do:85ICPSR replication package/do/1.clean_files/1.clean_state.do, line 85
merge 1:1 year statefip using "$temp/population/haines_1959_1980_statefip.dta" |
divorce-wolfers-aer ← natality_state |
merge 1:1 | year state_name |
drop _merge |
1.clean_state.do:96ICPSR replication package/do/1.clean_files/1.clean_state.do, line 96
merge 1:1 year state_name using "$temp/natality/natality_state.dta" |
divorce-wolfers-aer ← natality_from_pdf_state |
merge 1:1 | year state |
drop _merge |
1.clean_state.do:104ICPSR replication package/do/1.clean_files/1.clean_state.do, line 104
merge 1:1 year state using "$temp/natality/natality_from_pdf_state.dta" |
divorce-wolfers-aer ← bailey_icpsr_births_state |
merge 1:1 | year statefip |
drop _merge |
1.clean_state.do:126ICPSR replication package/do/1.clean_files/1.clean_state.do, line 126
merge 1:1 year statefip using "$temp/natality/bailey_icpsr_births_state.dta" |
divorce-wolfers-aer ← mort_state_rs |
merge 1:1 | state_nchs year |
tab state_nchs if _merge==2 |
1.clean_state.do:132ICPSR replication package/do/1.clean_files/1.clean_state.do, line 132
merge 1:1 state_nchs year using "$temp/mortality/mort_state_rs.dta" |
divorce-wolfers-aer ← inductions |
merge m:1 | year statefip |
tab year if _merge==1 |
1.clean_state.do:265ICPSR replication package/do/1.clean_files/1.clean_state.do, line 265
merge n:1 year statefip using "$temp/policy/inductions.dta" |
divorce-wolfers-aer ← mds_statefip |
merge 1:1 | statefip year |
drop _merge |
1.clean_state.do:277ICPSR replication package/do/1.clean_files/1.clean_state.do, line 277
merge 1:1 statefip year using "$temp/policy/mds_statefip.dta" |
divorce-wolfers-aer ← cspp |
merge 1:1 | st year |
drop _merge |
1.clean_state.do:283ICPSR replication package/do/1.clean_files/1.clean_state.do, line 283
merge 1:1 st year using "$temp/policy/cspp.dta" |
divorce-wolfers-aer ← geo_treated_states_dist |
merge m:1 | statefip |
drop _merge |
1.clean_state.do:290ICPSR replication package/do/1.clean_files/1.clean_state.do, line 290
merge n:1 statefip using "$temp/policy/geo_treated_states_dist" |
divorce-wolfers-aer ← abortion_counts |
merge 1:1 | state year |
drop _merge |
1.clean_state.do:297ICPSR replication package/do/1.clean_files/1.clean_state.do, line 297
merge 1:1 state year using "$temp/policy/abortion_counts.dta" |
divorce-wolfers-aer ← church_members_states |
merge m:1 | name |
drop _merge |
1.clean_state.do:314ICPSR replication package/do/1.clean_files/1.clean_state.do, line 314
merge n:1 name using "$temp/policy/church_members_states.dta" |
divorce-wolfers-aer ← pp_educ_spending |
merge 1:1 | statefip year |
drop if _merge==2 |
1.clean_state.do:318ICPSR replication package/do/1.clean_files/1.clean_state.do, line 318
merge 1:1 statefip year using "$temp/policy/pp_educ_spending.dta" |
divorce-wolfers-aer ← `var' |
merge m:1 | statefip |
drop _merge |
1.clean_state.do:327ICPSR replication package/do/1.clean_files/1.clean_state.do, line 327
merge n:1 statefip using "$temp/policy/`var'.dta" |
bailey_icpsr_births ← haines_1959_1980_fips |
merge 1:1 | fips year |
tab fips if _merge==2 |
2.clean_county.do:26ICPSR replication package/do/1.clean_files/2.clean_county.do, line 26
merge 1:1 fips year using "$temp/population/haines_1959_1980_fips.dta" |
bailey_icpsr_births ← analysis_maternal_abortion_mortality_1959_1980_state |
merge m:1 | statefip year |
drop _merge |
2.clean_county.do:34ICPSR replication package/do/1.clean_files/2.clean_county.do, line 34
merge n:1 statefip year using "$clean/analysis_maternal_abortion_mortality_1959_1980_state.dta", keepusing($keepstate ) |
bailey_icpsr_births ← natality_county |
merge 1:1 | year state_name county_nchs |
drop if _merge==2 |
2.clean_county.do:55ICPSR replication package/do/1.clean_files/2.clean_county.do, line 55
merge 1:1 year state_name county_nchs using "$temp/natality/natality_county.dta" |
bailey_icpsr_births ← natality_from_pdf_county |
merge 1:1 | year state county |
drop if _merge==2 |
2.clean_county.do:65ICPSR replication package/do/1.clean_files/2.clean_county.do, line 65
merge 1:1 year state county using "$temp/natality/natality_from_pdf_county.dta" |
bailey_icpsr_births ← mort_county_rs |
merge 1:1 | state_nchs county_nchs year |
tab state_nchs if _merge==2 |
2.clean_county.do:87ICPSR replication package/do/1.clean_files/2.clean_county.do, line 87
merge 1:1 state_nchs county_nchs year using "$temp/mortality/mort_county_rs.dta" |
bailey_icpsr_births ← church_members_counties |
merge m:1 | fips |
drop _merge |
2.clean_county.do:123ICPSR replication package/do/1.clean_files/2.clean_county.do, line 123
merge n:1 fips using "$temp/policy/church_members_counties.dta" |
bailey_icpsr_births ← mds_full_fips |
merge 1:1 | full_fips year |
drop _merge |
2.clean_county.do:128ICPSR replication package/do/1.clean_files/2.clean_county.do, line 128
merge 1:1 full_fips year using "$temp/policy/mds_full_fips.dta" |
bailey_icpsr_births ← geo_treated_county_dist |
merge m:1 | full_fips |
drop _merge |
2.clean_county.do:134ICPSR replication package/do/1.clean_files/2.clean_county.do, line 134
merge n:1 full_fips using "$temp/policy/geo_treated_county_dist" |
(data in memory) ← 1960 |
merge m:1 | full_fips |
drop _merge |
2.clean_county.do:173ICPSR replication package/do/1.clean_files/2.clean_county.do, line 173
merge n:1 full_fips using `1960' |
1960 ← medians |
merge m:1 | statefip |
drop _merge |
2.clean_county.do:176ICPSR replication package/do/1.clean_files/2.clean_county.do, line 176
merge n:1 statefip using `medians' |
`earlylegal' ← `legal' |
merge 1:1 | time |
drop _merge |
1.1.all_figures.do:224ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 224
merge 1:1 time using `legal' |
`earlylegal' ← results_`i'`j' |
merge 1:1 | time |
drop _merge |
1.1.all_figures.do:231ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 231
merge 1:1 time using "$event_data/results_`i'`j'.dta" |
(data in memory) ← abortion_pill_antidiscrim |
merge m:1 | statefip |
keep if _merge==3 |
2.1.descriptive_figures.do:18ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 18
merge n:1 statefip using "$temp/policy/abortion_pill_antidiscrim.dta" |
4 · The sample — 89 keep/drop steps, 0 variables winsorized or trimmed
Filters, by kind
time period ×35
- drop if
time==-10.1.save_results.do:45
ICPSR replication package/do/2.analysis/0.1.save_results.do, line 45 drop if time==-1 - drop if
time==-10.1.save_results.do:116
ICPSR replication package/do/2.analysis/0.1.save_results.do, line 116 drop if time==-1 - drop if
time==-10.1.save_results.do:175
ICPSR replication package/do/2.analysis/0.1.save_results.do, line 175 drop if time==-1 - drop if
time>50.1.save_results.do:230
ICPSR replication package/do/2.analysis/0.1.save_results.do, line 230 drop if time>5 - drop if
time<-60.1.save_results.do:231
ICPSR replication package/do/2.analysis/0.1.save_results.do, line 231 drop if time<-6 - keep if
mi_to_nid>=500 | year_legal<19730.2.main_analysis_programs.do:229
ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 229 keep if mi_to_nid>=500 | year_legal<1973 - keep if
year>1967 & year<19790.2.main_analysis_programs.do:239
ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 239 keep if year>1967 & year<1979 - drop if
year_reform<1973 & st!="CA"0.2.main_analysis_programs.do:257
ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 257 drop if year_reform<1973 & st!="CA" - first 8 of 35
value ranges ×2
- keep if
abortion_regime==`regime'2.2.descriptive_tables.do:40
ICPSR replication package/do/2.analysis/2.2.descriptive_tables.do, line 40 keep if abortion_regime==`regime' - keep if
abortion_regime==`regime'2.2.descriptive_tables.do:49
ICPSR replication package/do/2.analysis/2.2.descriptive_tables.do, line 49 keep if abortion_regime==`regime'
category values ×6
- drop if
inlist(cofips,36061,36005, 36047, 36081 , 36085 )2.3.clean_bailey_icpsr_births.do:10
ICPSR replication package/do/0.pre_cleaning_raw_import/2.3.clean_bailey_icpsr_births.do, line 10 drop if inlist(cofips,36061,36005, 36047, 36081 , 36085 ) - keep if
name=="district of columbia"4.policy_import.do:327
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 327 keep if name=="district of columbia" - keep if
inlist(NAME, "San Francisco", "Los Angeles", "New York", "District of Columbia", "Erie")5.distance_measures.do:31
ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 31 keep if inlist(NAME, "San Francisco", "Los Angeles", "New York", "District of Columbia", "Erie") - keep if
inlist(id,`list')5.distance_measures.do:67
ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 67 keep if inlist(id,`list') - keep if
st=="`state'"2.1.descriptive_figures.do:237
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 237 keep if st=="`state'" - drop if
type=="total"2.1.descriptive_figures.do:329
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 329 drop if type=="total"
indicator subsets ×4
- keep if
maternal==11.import_mortality_files.do:280
ICPSR replication package/do/0.pre_cleaning_raw_import/1.import_mortality_files.do, line 280 keep if maternal==1 - keep if
`race'==12.1.import_collapse_natality_individual_files.do:44
ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 44 keep if `race'==1 - keep if
`race'==12.1.import_collapse_natality_individual_files.do:52
ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 52 keep if `race'==1 - keep if
abortion==12.1.descriptive_figures.do:284
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 284 keep if abortion==1
geography ×10
- drop if
state_nchs>512.1.import_collapse_natality_individual_files.do:106
ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 106 drop if state_nchs>51 - keep if
county=="total"2.2.import_collapse_natality_files_county_level_pdf.do:20
ICPSR replication package/do/0.pre_cleaning_raw_import/2.2.import_collapse_natality_files_county_level_pdf.do, line 20 keep if county=="total" - drop if
county=="total"2.2.import_collapse_natality_files_county_level_pdf.do:24
ICPSR replication package/do/0.pre_cleaning_raw_import/2.2.import_collapse_natality_files_county_level_pdf.do, line 24 drop if county=="total" - drop if
fips==110013.3.clean_haines.do:160
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 160 drop if fips==11001 - drop if
inlist(state, "NEW ENGLAND", "MIDDLE ATLANTIC", "EAST NORTH CENTRAL", "WEST NORTH CENTRAL", "PACIFIC")4.policy_import.do:339
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 339 drop if inlist(state, "NEW ENGLAND", "MIDDLE ATLANTIC", "EAST NORTH CENTRAL", "WEST NORTH CENTRAL", "PACIFIC") - drop if
inlist(state, "MOUNTAIN", "WEST SOUTH CENTRAL", "EAST SOUTH CENTRAL", "SOUTH ATLANTIC", "TOTAL")4.policy_import.do:340
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 340 drop if inlist(state, "MOUNTAIN", "WEST SOUTH CENTRAL", "EAST SOUTH CENTRAL", "SOUTH ATLANTIC", "TOTAL") - keep if
inlist(STATEFIP, 11, 6 , 36)5.distance_measures.do:25
ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 25 keep if inlist(STATEFIP, 11, 6 , 36) - keep if
inlist(state, "alaska", "hawaii", "district of columbia" , "new york", "california" , "washington" )2.1.descriptive_figures.do:331
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 331 keep if inlist(state, "alaska", "hawaii", "district of columbia" , "new york", "california" , "washington" ) - first 8 of 10
demographics ×1
- keep if
RACE==05.distance_measures.do:8
ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 8 keep if RACE==0
row position (_n, first / last row) ×2
- keep if
_n<140.1.save_results.do:50
ICPSR replication package/do/2.analysis/0.1.save_results.do, line 50 keep if _n<14 - keep if
_n<140.1.save_results.do:180
ICPSR replication package/do/2.analysis/0.1.save_results.do, line 180 keep if _n<14
missing values ×12
- drop if
missing(state`rs') | state`rs'>511.import_mortality_files.do:220
ICPSR replication package/do/0.pre_cleaning_raw_import/1.import_mortality_files.do, line 220 drop if missing(state`rs') | state`rs'>51 - drop if
missing(pop)3.3.clean_haines.do:147
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 147 drop if missing(pop) - drop if
missing(statename) | statename=="US" | statename=="US and Territories"4.policy_import.do:51
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 51 drop if missing(statename) | statename=="US" | statename=="US and Territories" - drop if
missing(state) | strpos(state, "https:")>04.policy_import.do:257
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 257 drop if missing(state) | strpos(state, "https:")>0 - drop if
missing(state) | strpos(state, "United")>04.policy_import.do:275
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 275 drop if missing(state) | strpos(state, "United")>0 - drop if
missing(state)4.policy_import.do:352
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 352 drop if missing(state) - keep if
!missing(firstdates)4.policy_import.do:363
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 363 keep if !missing(firstdates) - drop if
missing(id)5.distance_measures.do:61
ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 61 drop if missing(id) - first 8 of 12
drops after a merge (_merge) ×17
- drop if
_merge==22.1.import_collapse_natality_individual_files.do:119
ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 119 drop if _merge==2 - drop if
_merge==14.policy_import.do:80
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 80 drop if _merge==1 - drop if
_merge==24.policy_import.do:102
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 102 drop if _merge==2 - drop if
_merge==24.policy_import.do:244
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 244 drop if _merge==2 - keep if
_merge==31.clean_state.do:25
ICPSR replication package/do/1.clean_files/1.clean_state.do, line 25 keep if _merge==3 - keep if
_merge==31.clean_state.do:31
ICPSR replication package/do/1.clean_files/1.clean_state.do, line 31 keep if _merge==3 - keep if
_merge==31.clean_state.do:36
ICPSR replication package/do/1.clean_files/1.clean_state.do, line 36 keep if _merge==3 - keep if
_merge==31.clean_state.do:134
ICPSR replication package/do/1.clean_files/1.clean_state.do, line 134 keep if _merge==3 - first 8 of 17
Outliers
No winsorizing or trimming recorded.
Missing values
filled with a value ×29
abortion_regime→22.1.descriptive_figures.do:23
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 23 replace abortion_regime=2 if year_reform<1973 & missing(abortion_regime)abortion_regime→32.1.descriptive_figures.do:24
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 24 replace abortion_regime=3 if year_legal==1973 & missing(abortion_regime)mds→mds24.policy_import.do:157
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 157 replace `k'= `k'2 if missing(`k')w_race_disc→(w_race_disc_public_accom2)4.policy_import.do:217
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 217 replace w_race_disc=(w_race_disc_public_accom2) if missing(w_race_disc) & !missing(w_race_disc_public_accom2)year_fh→allrealestatenotowneroccupi4.policy_import.do:237
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 237 replace year_fh=allrealestatenotowneroccupi if missing(year_fh)year_fh→includingowneroccuped4.policy_import.do:238
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 238 replace year_fh=includingowneroccuped if missing(year_fh)
dropped ×12
1.2.main_table_selection.do:183
ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 183 drop if z==. | z==01.2.main_table_selection.do:380
ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 380 drop if z==. | z==04.policy_import.do:51
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 51 drop if missing(statename) | statename=="US" | statename=="US and Territories"4.policy_import.do:257
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 257 drop if missing(state) | strpos(state, "https:")>04.policy_import.do:275
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 275 drop if missing(state) | strpos(state, "United")>04.policy_import.do:352
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 352 drop if missing(state)
interpolated / carried forward ×8
4.policy_import.do:152
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 152 tsfill4.policy_import.do:156
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 156 bysort `place': ipolate `k' year , gen( `k'2) epolate4.policy_import.do:283
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 283 tsfill4.policy_import.do:287
ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 287 bysort state_fip: ipolate `k' year , gen( `k'2) epolate3.3.clean_haines.do:124
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 124 tsfill, full3.3.clean_haines.do:128
ICPSR replication package/do/0.pre_cleaning_raw_import/3.3.clean_haines.do, line 128 bysort ${place}: ipolate `k' year , gen( `k'2) epolate as we read it (macros filled in / loop expanded): bysort statefip: ipolate `k' year , gen( `k'2) epolate
set to zero ×2
abortion_nw→02.1.descriptive_figures.do:290
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 290 replace abortion_nw=0 if missing(abortion_nw)abortion_w→02.1.descriptive_figures.do:291
ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 291 replace abortion_w=0 if missing(abortion_w)
5 · Key variables — what enters the models, and where the code builds it
| Variable | Used in models as | Built by |
|---|---|---|
early |
outcome in 1 | early = !missing(year_earlylegal) (gen) 1.clean_state.do:424ICPSR replication package/do/1.clean_files/1.clean_state.do, line 424
gen early=!missing(year_earlylegal) |
traveltime |
outcome in 1 | traveltime = mi_to_nid/60 (gen) 5.distance_measures.do:55ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 55
gen traveltime=mi_to_nid/60 traveltime = mi_to_nid/60 (gen) 5.distance_measures.do:86ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 86
gen traveltime=mi_to_nid/60 |
legal |
regressor in 33 | legal = treat*treat_state (gen) 1.2.main_table_selection.do:92ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 92
gen legal=treat*treat_state legal = treat*treat_state (gen) 1.2.main_table_selection.do:158ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 158
gen legal=treat*treat_state legal = treat*treat_state (gen) 1.2.main_table_selection.do:296ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 296
gen legal=treat*treat_state +3 more statements set it |
ed_hs |
regressor in 26 | ed_hs = inrange(educ,6,11) (gen) 3.2.clean_collapse_ipums.do:23ICPSR replication package/do/0.pre_cleaning_raw_import/3.2.clean_collapse_ipums.do, line 23
gen ed_hs=inrange(educ,6,11) if !missing(educ) |
lnincomepcap |
regressor in 26 | lnincomepcap = log(incomepcap) (gen) 4.policy_import.do:224ICPSR replication package/do/0.pre_cleaning_raw_import/4.policy_import.do, line 224
gen lnincomepcap =log(incomepcap) |
lnpp |
regressor in 26 | lnpp = log(pp_exp) (gen) 1.clean_state.do:322ICPSR replication package/do/1.clean_files/1.clean_state.do, line 322
gen lnpp=log(pp_exp) |
epl |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ihsinduct_rate |
regressor in 25 | ihsinduct_rate = asinh(induct_rate) (gen) 1.clean_state.do:273ICPSR replication package/do/1.clean_files/1.clean_state.do, line 273
gen ihsinduct_rate=asinh(induct_rate) |
minor |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
pill |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ra_female_15_19_nw |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ra_female_15_19_w |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
reform |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
uni |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
_Tevent_leg |
regressor in 6 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
afdcup |
regressor in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
era |
regressor in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
fh |
regressor in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
medicaid |
regressor in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
pcmd |
regressor in 3 | pcmd = md/stpop* 1000 (gen) 1.clean_state.do:279ICPSR replication package/do/1.clean_files/1.clean_state.do, line 279
gen pcmd=md/stpop* 1000 pcmd = md/pop_haines * 1000 (gen) 2.clean_county.do:130ICPSR replication package/do/1.clean_files/2.clean_county.do, line 130
gen pcmd=md/pop_haines * 1000 |
unemployment |
regressor in 3 | unemployment = round(unemployment_haines,.1) (replace) 1.clean_state.do:286ICPSR replication package/do/1.clean_files/1.clean_state.do, line 286
replace unemployment=round(unemployment_haines,.1) if year<1975 |
icd8 |
regressor in 2 | icd8 = inrange(year, 1968,1978) (gen) 1.clean_state.do:428ICPSR replication package/do/1.clean_files/1.clean_state.do, line 428
gen icd8=inrange(year, 1968,1978) |
legalneigh |
regressor in 2 | legalneigh = year>=year_neigh_legal (gen) 2.clean_county.do:141ICPSR replication package/do/1.clean_files/2.clean_county.do, line 141
gen legalneigh=year>=year_neigh_legal legalneigh = . (replace) 2.clean_county.do:143ICPSR replication package/do/1.clean_files/2.clean_county.do, line 143
replace legalneigh=. if year_legal<1973 |
_Tevent_ear |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
_Tevent_ear_ |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
_Tevent_ref |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
_Tevent_spi |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
b4.group_tt |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
below |
regressor in 1 | below = sh_`i'<med_`i' (gen) 1.3.main_table_mechanisms_county_level.do:25ICPSR replication package/do/2.analysis/1.3.main_table_mechanisms_county_level.do, line 25
gen below=sh_`i'<med_`i' if !missing(med_`i') & !missing(sh_`i') |
inv_tt |
regressor in 1 | inv_tt = 1/traveltime (gen) 5.distance_measures.do:57ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 57
gen inv_tt= 1/traveltime inv_tt = 1/traveltime (gen) 5.distance_measures.do:88ICPSR replication package/do/0.pre_cleaning_raw_import/5.distance_measures.do, line 88
gen inv_tt= 1/traveltime |
lnra_ftotinc_nw |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lnra_ftotinc_w |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ra_ed_col_nw |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ra_ed_col_w |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
totmem_pc |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
year |
regressor in 1 | year = `i' (gen) 1.import_mortality_files.do:171ICPSR replication package/do/0.pre_cleaning_raw_import/1.import_mortality_files.do, line 171
gen year=`i' year = year_birth (rename) 2.1.import_collapse_natality_individual_files.do:121ICPSR replication package/do/0.pre_cleaning_raw_import/2.1.import_collapse_natality_individual_files.do, line 121
rename year_birth year year = 1949+_n (gen) 3.2.clean_collapse_ipums.do:184ICPSR replication package/do/0.pre_cleaning_raw_import/3.2.clean_collapse_ipums.do, line 184
gen year=1949+_n +4 more statements set it |
6 · Models, by the table or figure they feed — 53 estimations, 1 traced into 1 exhibit
Table C2
· 1 estimation → tableC2.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
traveltime |
abortion_popf_`var'
|
— | robust | 2.2.descriptive_tables.do:115ICPSR replication package/do/2.analysis/2.2.descriptive_tables.do, line 115
eststo b`var'1: reg traveltime abortion_popf_`var' [aw=pop_female_15_44_rs], robust run 5× in a loop (var=1972; var=1974; var=1976…)
written at 2.2.descriptive_tables.do:118 |
Estimations not traced to a table or figure · 52
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
`1' |
_Tevent_leg*
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:26ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 26
reghdfe `1' _Tevent_leg* [aw=`2' ], cluster($cluster ) absorb($fe )
as we read it (macros filled in / loop expanded):
reghdfe `1' _Tevent_leg* [aw=`2' ], cluster(statefip ) absorb(i.statefip i.year ) |
reghdfepanel fe |
`1' |
_Tevent_leg* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:34ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 34
reghdfe `1' _Tevent_leg* $controls [aw=`2' ] , cluster($cluster ) absorb($fe )
as we read it (macros filled in / loop expanded):
reghdfe `1' _Tevent_leg* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate [aw=`2' ] , cluster(statefip ) absorb(i.statefip i.year ) |
eventstudyinteractdid |
`1' |
_Tevent_ear_*
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:41ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 41
eventstudyinteract `1' _Tevent_ear_* [aw=`2' ] , cohort( year_earlylegal ) control_cohort(last_earlylegal ) absorb($fe ) vce(cluster $cluster ) covariates($controls )
as we read it (macros filled in / loop expanded):
eventstudyinteract `1' _Tevent_ear_* [aw=`2' ] , cohort( year_earlylegal ) control_cohort(last_earlylegal ) absorb(i.statefip i.year ) vce(cluster statefip ) covariates(ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform min … |
ppmlhdfecount |
`1' |
_Tevent_leg*
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:78ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 78
ppmlhdfe `1' _Tevent_leg* , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _Tevent_leg* , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
_Tevent_leg* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:86ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 86
ppmlhdfe `1' _Tevent_leg* $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _Tevent_leg* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
_Tevent_ear* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:93ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 93
ppmlhdfe `1' _Tevent_ear* $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _Tevent_ear* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
_T`var'*
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:142ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 142
ppmlhdfe `1' _T`var'* , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _T`var'* , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) run 15× in a loop (var=spillroe; var=rvw_nospi; var=rvw_noref…)
|
ppmlhdfecount |
`1' |
_T`var'* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:146ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 146
ppmlhdfe `1' _T`var'* $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _T`var'* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) run 15× in a loop (var=spillroe; var=rvw_nospi; var=rvw_noref…)
|
ppmlhdfecount |
`1' |
_Tevent_spi* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:169ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 169
ppmlhdfe `1' _Tevent_spi* $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _Tevent_spi* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
_Tevent_ref* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:175ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 175
ppmlhdfe `1' _Tevent_ref* $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _Tevent_ref* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
_Tevent_leg*
|
i.year, i.statefip##c.year | cluster: statefip | 0.2.main_analysis_programs.do:192ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 192
ppmlhdfe `1' _Tevent_leg* , vce(cluster $cluster ) exposure(`2') absorb(i.year i.statefip##c.year )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _Tevent_leg* , vce(cluster statefip ) exposure(`2') absorb(i.year i.statefip##c.year ) |
ppmlhdfecount |
`1' |
_Tevent_leg* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.year, i.statefip##c.year | cluster: statefip | 0.2.main_analysis_programs.do:196ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 196
ppmlhdfe `1' _Tevent_leg* $controls , vce(cluster $cluster ) exposure(`2') absorb(i.year i.statefip##c.year )
as we read it (macros filled in / loop expanded):
ppmlhdfe `1' _Tevent_leg* ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.year i.statefip##c.year ) |
ppmlhdfecount |
`1' |
legal
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:212ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 212
eststo rc`1'1: ppmlhdfe `1' legal , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rc`1'1: ppmlhdfe `1' legal , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:214ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 214
eststo rc`1'2: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rc`1'2: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:216ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 216
eststo rc`1'3: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rc`1'3: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.year, i.statefip##c.year | cluster: statefip | 0.2.main_analysis_programs.do:218ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 218
eststo rc`1'4: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) exposure(`2') absorb(i.year i.statefip##c.year )
as we read it (macros filled in / loop expanded):
eststo rc`1'4: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.year i.statefip##c.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate +6 more
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:220ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 220
eststo rc`1'5: ppmlhdfe `1' legal $controls $additional , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rc`1'5: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate unemployment medicaid pcmd fh era afdcup , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year … |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:222ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 222
eststo rs`1'1: ppmlhdfe `1' legal $controls if statefip!=11 , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rs`1'1: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate if statefip!=11 , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:224ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 224
eststo rs`1'2: ppmlhdfe `1' legal $controls if st!="NJ" & st!="VT" , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rs`1'2: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate if st!="NJ" & st!="VT" , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:226ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 226
eststo rs`1'3: ppmlhdfe `1' legal $controls if abortion_regime!=2 , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rs`1'3: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate if abortion_regime!=2 , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:230ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 230
eststo rs`1'4: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo rs`1'4: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:235ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 235
eststo ry`1'1: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo ry`1'1: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:240ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 240
eststo ry`1'2: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo ry`1'2: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:245ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 245
eststo ry`1'3: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo ry`1'3: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) |
reghdfepanel fe |
ln`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:249ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 249
eststo ff`1'logb: reghdfe ln`1' legal $controls [aw=`2'], cluster($cluster ) absorb($fe)
as we read it (macros filled in / loop expanded):
eststo ff`1'logb: reghdfe ln`1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate [aw=`2'], cluster(statefip ) absorb(i.statefip i.year) |
reghdfepanel fe |
ln1`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:250ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 250
eststo ff`1'log1: reghdfe ln1`1' legal $controls [aw=`2'], cluster($cluster ) absorb($fe)
as we read it (macros filled in / loop expanded):
eststo ff`1'log1: reghdfe ln1`1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate [aw=`2'], cluster(statefip ) absorb(i.statefip i.year) |
reghdfepanel fe |
lnc`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:251ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 251
eststo ff`1'logc: reghdfe lnc`1' legal $controls [aw=`2'], cluster($cluster ) absorb($fe)
as we read it (macros filled in / loop expanded):
eststo ff`1'logc: reghdfe lnc`1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate [aw=`2'], cluster(statefip ) absorb(i.statefip i.year) |
reghdfepanel fe |
ln1c`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:252ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 252
eststo ff`1'logp: reghdfe ln1c`1' legal $controls [aw=`2'], cluster($cluster ) absorb($fe)
as we read it (macros filled in / loop expanded):
eststo ff`1'logp: reghdfe ln1c`1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate [aw=`2'], cluster(statefip ) absorb(i.statefip i.year) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:253ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 253
eststo ff`1'birb: ppmlhdfe `1' legal $controls , vce(cluster $cluster ) exposure(births_`3') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo ff`1'birb: ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate , vce(cluster statefip ) exposure(births_`3') absorb(i.statefip i.year ) |
ppmlhdfecount |
`1' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:259ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 259
eststo coh`1'`cohort': ppmlhdfe `1' legal $controls if year<1973, vce(cluster $cluster ) exposure(`2') absorb($fe )
as we read it (macros filled in / loop expanded):
eststo coh`1'`cohort': ppmlhdfe `1' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate if year<1973, vce(cluster statefip ) exposure(`2') absorb(i.statefip i.year ) run 3× in a loop (cohort=1969; cohort=1970; cohort=1971)
|
ppmlhdfecount |
`1'_`v' |
legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate
|
i.statefip, i.year | cluster: statefip | 0.2.main_analysis_programs.do:265ICPSR replication package/do/2.analysis/0.2.main_analysis_programs.do, line 265
eststo age`1'`v': ppmlhdfe `1'_`v' legal $controls if pop_female_`v'_`3'>0 , vce(cluster $cluster ) exposure(pop_female_`v'_`3' ) absorb($fe )
as we read it (macros filled in / loop expanded):
eststo age`1'`v': ppmlhdfe `1'_`v' legal ra_female_15_19_w ra_female_15_19_nw ed_hs lnincomepcap lnpp reform minor pill uni epl ihsinduct_rate if pop_female_`v'_`3'>0 , vce(cluster statefip ) exposure(pop_female_`v'_`3' ) absorb(i.statefip … run 4× in a loop (v=15_19; v=20_29; v=30_39…)
|
logitbinary |
early |
totmem_pc ed_hs lnincomepcap lnpp
|
— | robust | 1.2.main_table_selection.do:19ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 19
logit early totmem_pc ed_hs lnincomepcap lnpp, robust |
ppmlhdfecount |
`m' |
legal $controls
|
i.statefip, i.year | cluster: statefip | 1.2.main_table_selection.do:47ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 47
eststo a`m'`k': quietly: ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster $cluster ) exposure(popf) absorb($fe )
as we read it (macros filled in / loop expanded):
eststo a`m'`k': quietly: ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster statefip ) exposure(popf) absorb(i.statefip i.year ) run 4× in a loop (k=p; m=maternal_nw; k=p; m=abortion_nw; k=ipw; m=maternal_nw…)
|
ppmlhdfecount |
`m' |
legal $controls
|
i.statefip, i.year | cluster: statefip | 1.2.main_table_selection.do:95ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 95
quietly: ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster $cluster ) exposure(popf) absorb($fe )
as we read it (macros filled in / loop expanded):
quietly: ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster statefip ) exposure(popf) absorb(i.statefip i.year ) run 4× in a loop (k=p; m=maternal_nw; k=p; m=abortion_nw; k=ipw; m=maternal_nw…)
|
ppmlhdfecount |
`m' |
legal $controls
|
i.statefip, i.year | cluster: statefip | 1.2.main_table_selection.do:161ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 161
quietly ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster $cluster ) exposure(popf) absorb($fe )
as we read it (macros filled in / loop expanded):
quietly ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster statefip ) exposure(popf) absorb(i.statefip i.year ) run 4× in a loop (k=p; m=maternal_nw; k=p; m=abortion_nw; k=ipw; m=maternal_nw…)
|
ppmlhdfecount |
`m' |
legal $controls
|
i.statefip, i.year | cluster: statefip | 1.2.main_table_selection.do:254ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 254
eststo a`m'`k'`cohort': ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster $cluster ) exposure(popf) absorb($fe )
as we read it (macros filled in / loop expanded):
eststo a`m'`k'`cohort': ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster statefip ) exposure(popf) absorb(i.statefip i.year ) run 12× in a loop (k=ipw; cohort=1969; m=maternal_nw; k=ipw; cohort=1969; m=abortion_nw; k=ipw; cohort=1970; m=maternal_nw…)
|
ppmlhdfecount |
`m' |
legal $controls
|
i.statefip, i.year | cluster: statefip | 1.2.main_table_selection.do:299ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 299
quietly: ppmlhdfe `m' legal $controls [pw=`k'] if year<`cohort' , vce(cluster $cluster ) exposure(popf) absorb($fe )
as we read it (macros filled in / loop expanded):
quietly: ppmlhdfe `m' legal $controls [pw=`k'] if year<`cohort' , vce(cluster statefip ) exposure(popf) absorb(i.statefip i.year ) run 12× in a loop (k=ipw; cohort=1969; m=maternal_nw; k=ipw; cohort=1969; m=abortion_nw; k=ipw; cohort=1970; m=maternal_nw…)
|
ppmlhdfecount |
`m' |
legal $controls
|
i.statefip, i.year | cluster: statefip | 1.2.main_table_selection.do:354ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 354
quietly: ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster $cluster ) exposure(popf) absorb($fe )
as we read it (macros filled in / loop expanded):
quietly: ppmlhdfe `m' legal $controls [pw=`k'], vce(cluster statefip ) exposure(popf) absorb(i.statefip i.year ) run 4× in a loop (k=ipw; m=maternal_nw; k=ipw; m=abortion_nw; k=p; m=maternal_nw…)
|
aregols |
`m' |
legal i.year $controls
|
statefip | cluster: statefip | 1.2.main_table_selection.do:476ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 476
eststo a`m'ipw: areg `m' legal i.year $controls [aw=ipw] , absorb(statefip) cluster(statefip) run 2× in a loop (m=lnmaternal_nw; m=lnabortion_nw)
|
ppmlhdfecount |
`1'_nw |
i.legal
|
i.full_fips, i.year | cluster: full_fips | 1.3.main_table_mechanisms_county_level.do:21ICPSR replication package/do/2.analysis/1.3.main_table_mechanisms_county_level.do, line 21
eststo p`1'nwm: ppmlhdfe `1'_nw i.legal if popf_nw>0 , vce(cluster full_fips ) exposure(popf_nw) absorb($fec )
as we read it (macros filled in / loop expanded):
eststo p`1'nwm: ppmlhdfe `1'_nw i.legal if popf_nw>0 , vce(cluster full_fips ) exposure(popf_nw) absorb(i.full_fips i.year ) run 2× in a loop (1=maternal; 1=abortion)
|
7 · Figures: how each is drawn — 61 figures in the code (command, layers, options, the file it is saved to)
other 40 · line 12 · bar 3 · map 2 · scatter 2 · coefficient plot 1 · histogram 1
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
grmapmap
|
grmap |
not saved | 0.1.do_all.do:36ICPSR replication package/do/0.1.do_all.do, line 36
grmap, activate |
||
twowayline
|
connected |
y b_X_`1', ub_`1', lb_`1', b_X_``i'', ub_``i'', lb_``i''
x time
(set at run time) |
title $title (set at run time) · xline -1 · yline 0 · legend pos(6) col(3) size(medsmall) |
not saved | 0.1.save_results.do:239ICPSR replication package/do/2.analysis/0.1.save_results.do, line 239
twoway (scatter `plot' time if !missing( b_X_`1') , |
coefplotcoefficient plot
|
coefplot + coefplot + coefplot + coefplot + coefplot + coefplot + coefplot + coefplot + coefplot + coefplot + coefplot + coefplot + +12 more |
estimates rc`1'_`2'1, rc`1'_`2'2, rc`1'_`2'3, rc`1'_`2'4, rc`1'_`2'5, rs`1'_`2'1, +18 more
(set at run time) |
title $title (set at run time) · xline 0 · ci coefplot default · legend order(1 99% CI 2 95% CI 3 90% CI) col(3) pos(6) |
not saved | 0.1.save_results.do:305ICPSR replication package/do/2.analysis/0.1.save_results.do, line 305
coefplot rc`1'_`2'1 rc`1'_`2'2 ///
rc`1'_`2'3 rc`1'_`2'4 ///
rc`1'_`2'5 rs`1'_`2'1 ///
rs`1'_`2'2 rs`1'_`2'3 ///
rs`1'_`2'4 ///
ry`1'_`2'1 ry`1'_`2'2 /// … |
graph combineother
|
combine |
Figure 6${dd_analysis}figure6.pdf (set at run time) |
1.1.all_figures.do:89ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 89
graph combine $mortality , col(3) imargin( 0 0 0 0) iscale(.65) name(g, replace) |
||
graph combineother
|
combine |
title Panel B: White Deaths, Exposure White Females 15-44 |
not saved | 1.1.all_figures.do:152ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 152
graph combine maternal_`i'pois1 abortion_`i'pois1 , title("`title'", size(small)) name(pois1`i', replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
Figure 3figure3.pdf |
1.1.all_figures.do:155ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 155
graph combine pois1rs pois1w pois1nw, col(1) name(g4, replace) iscale(.7) imargin(0.5 0.5 0.5 0.5 ) |
||
graph combineother
|
combine |
title Panel A: Eliminating Spillovers |
not saved | 1.1.all_figures.do:163ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 163
graph combine maternal_nwspillroe1 abortion_nwspillroe1 , title("Panel A: Eliminating Spillovers", size(small)) name(g1, replace) imargin(0.1 0.1 0.1 0.1 ) |
|
graph combineother
|
combine |
title Panel B: Any Abortion Reform |
not saved | 1.1.all_figures.do:164ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 164
graph combine maternal_nwreflegroe1 abortion_nwreflegroe1 , title("Panel B: Any Abortion Reform", size(small)) imargin(0.1 0.1 0.1 0.1 ) name(g2, replace) |
|
graph combineother
|
combine |
title Panel C: Time Trends |
not saved | 1.1.all_figures.do:165ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 165
graph combine maternal_nwt1 abortion_nwt1, title("Panel C: Time Trends", size(small)) name(g3, replace) imargin(0.1 0.1 0.1 0.1 ) |
|
graph combineother
|
combine |
title Panel D: Misclassification Test (I) |
not saved | 1.1.all_figures.do:166ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 166
graph combine male_15_44_nwpois1 female_15_44_nwpois1 , title("Panel D: Misclassification Test (I)", size(small)) imargin(0.1 0.1 0.1 0.1 ) name(g4, replace) |
|
graph combineother
|
combine |
title Panel E: Misclassification Test (II) |
not saved | 1.1.all_figures.do:167ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 167
graph combine appendicitis_nwpois1 septicemia_nwpois1 , title("Panel E: Misclassification Test (II)", size(small)) imargin(0.1 0.1 0.1 0.1 ) name(g5, replace) |
|
graph combineother
|
combine |
title Panel F: Roe v. Wade |
not saved | 1.1.all_figures.do:168ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 168
graph combine maternal_nwroevwade2 abortion_nwroevwade2 , title("Panel F: Roe v. Wade", size(small)) imargin(0.1 0.1 0.1 0.1 ) name(g6, replace) |
|
graph combineother
|
combine |
Figure 4figure4.pdf |
1.1.all_figures.do:169ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 169
graph combine g1 g2 g3 g4 g5 g6 , col(2) name(g, replace) imargin(0.1 0.1 0.1 0.1 ) iscale(.5) |
||
graph combineother
|
combine |
title Panel A: OLS Log of Rate, Weights by Non-white Females |
not saved | 1.1.all_figures.do:176ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 176
graph combine lnmaternal_nwm1 lnabortion_nwm1 , col(2) title("Panel A: OLS Log of Rate, Weights by Non-white Females", size(small)) name(g1, replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
title Panel B: OLS Log of Rate + 1, Weights by Non-white Females |
not saved | 1.1.all_figures.do:177ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 177
graph combine ln1maternal_nwm1 ln1abortion_nwm1 , col(2) title("Panel B: OLS Log of Rate + 1, Weights by Non-white Females", size(small)) name(g2, replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
title Panel C: OLS Log of Deaths, Weights by Non-white Births |
not saved | 1.1.all_figures.do:178ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 178
graph combine lncmaternal_nwm1 lncabortion_nwm1, col(2) title("Panel C: OLS Log of Deaths, Weights by Non-white Births", size(small)) name(g3, replace) imargin(0.5 0.5 0.5 0.5) |
|
graph combineother
|
combine |
title Panel D: OLS Log of Deaths+1, Weights by Non-white Births |
not saved | 1.1.all_figures.do:179ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 179
graph combine ln1cmaternal_nwm1 ln1cabortion_nwm1 , col(2) title("Panel D: OLS Log of Deaths+1, Weights by Non-white Births", size(small)) name(g4, replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
title Panel E: OLS Linear Mortality Rate Per Non-white Females |
not saved | 1.1.all_figures.do:180ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 180
graph combine rmaternal_nwm1 rabortion_nwm1 , col(2) title("Panel E: OLS Linear Mortality Rate Per Non-white Females ", size(small)) name(g5 , replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
title Panel F: Poisson Model, Exposure by Non-white Births |
not saved | 1.1.all_figures.do:181ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 181
graph combine maternalbir_nwpois1 abortionbir_nwpois1 , col(2) title("Panel F: Poisson Model, Exposure by Non-white Births", size(small)) name(g6, replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
Figure 5${event_studies}figure5.pdf (set at run time) |
1.1.all_figures.do:182ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 182
graph combine g1 g2 g3 g4 g5 g6 , col(2) name(g, replace) imargin(0.1 0.1 0.1 0.1 ) iscale(.5) |
||
graph combineother
|
combine |
Figure 7Afigure7a.pdf |
1.1.all_figures.do:190ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 190
graph combine nona_maternal_rspois1 nona_maternal_wpois1 nona_maternal_nwpois1 , col(3) name(g4, replace) imargin(0.5 0.5 0.5 0.5 ) iscale(.6) |
||
graph combineother
|
combine |
Figure 7Bfigure7b.pdf |
1.1.all_figures.do:195ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 195
graph combine share_abortion_rsm1 share_abortion_wm1 share_abortion_nwm1 , col(3) name(g4, replace) imargin(0.5 0.5 0.5 0.5 ) iscale(.6) |
||
graph combineother
|
combine |
Figure 7C${event_studies}figure7c.pdf (set at run time) |
1.1.all_figures.do:200ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 200
graph combine dmage_nwm3 agel20_nwm3 married_nwm3 dbirwt_nwm3 lbw_nwm3 vlbw_nwm3, col(3) name(g4, replace) iscale(.6) imargin(0 0 0 0 ) |
||
graph combineother
|
combine |
Figure B2${event_studies}figureB2.pdf (set at run time) |
1.1.all_figures.do:268ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 268
graph combine lnra_ftotinc_nwm2 ra_ed_hs_nwm2 , col(1) name(gnw,replace) |
||
graph combineother
|
combine |
Figure B3figureB3.pdf |
1.1.all_figures.do:276ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 276
graph combine babortion_rspois1 babortion_wpois1 babortion_nwpois1 , col(1) name(g4, replace) imargin(0.1 0.1 0.1 0.1 ) iscale(.6) |
||
graph combineother
|
combine |
title Panel A: Exposure Constant Female (15-44) Population |
not saved | 1.1.all_figures.do:284ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 284
graph combine maternalcons_nwpois1 abortioncons_nwpois1 , col(2) title("Panel A: Exposure Constant Female (15-44) Population", size(small)) name(g1, replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
title Panel B: Exposure Constant Share Female (15-44) x State Population |
not saved | 1.1.all_figures.do:285ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 285
graph combine maternalconsgr_nwpois1 abortionconsgr_nwpois1 , col(2) title("Panel B: Exposure Constant Share Female (15-44) x State Population", size(small)) name(g2, replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
title Panel C: Exposure Female (15-44) Population Linearly Interpolated from 1960-1980 |
not saved | 1.1.all_figures.do:286ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 286
graph combine maternalno1970_nwpois1 abortionno1970_nwpois1 , col(2) title("Panel C: Exposure Female (15-44) Population Linearly Interpolated from 1960-1980", size(small)) name(g3, replace) imargin(0.5 0.5 0.5 0.5 ) |
|
graph combineother
|
combine |
Figure B4${event_studies}figureB4.pdf (set at run time) |
1.1.all_figures.do:288ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 288
graph combine g1 g2 g3 , col(1) name(g, replace) imargin(0.1 0.1 0.1 0.1 ) iscale(.7) |
||
graph combineother
|
combine |
`1'_figureB5andB6.pdf (set at run time) |
1.1.all_figures.do:322ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 322
graph combine `1'_wuni2 `1'_wmedicaid2 `1'_wpill2 `1'_wminor2 `1'_wepl2 `1'_wfepa2 `1'_wera2 `1'_wfh2 `1'_wafdcup2 , col(3) name(g4, replace) iscale(.7) |
||
graph combineother
|
combine |
title `title' (set at run time) |
not saved | 1.1.all_figures.do:356ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 356
graph combine maternal_`i'roevwade2 abortion_`i'roevwade2 , title("`title'", size(small)) name(r2`i', replace) imargin(0.1 0.1 0.1 0.1 ) |
|
graph combineother
|
combine |
Figure B7figureB7.pdf |
1.1.all_figures.do:358ICPSR replication package/do/2.analysis/1.1.all_figures.do, line 358
graph combine r2rs r2w r2nw, col(1) name(g4, replace) iscale(.6) imargin(0.1 0.1 0.1 0.1 ) |
||
twowayscatter
|
scatter |
y cdf
x z
|
title `label' (set at run time) · xtitle Placebo Estimate · ytitle Empirical CDF · xline `beta' (set at run time) |
not saved | 1.2.main_table_selection.do:211ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 211
twoway scatter cdf z , msize(vsmall) xline(`beta') graphregion(fcolor(white)) ///
ytitle("Empirical CDF") xtitle("Placebo Estimate") ///
title("`label'", size(small)) xlabel(-2(1)4, labsize(small … |
graph combineother
|
combine |
title All Early-Treated: Baseline |
not saved | 1.2.main_table_selection.do:223ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 223
graph combine maternal_nw`k' abortion_nw`k' , col(2) title("All Early-Treated: `title'", size(small)) name(g`k', replace) |
|
twowayscatter
|
scatter |
y cdf
x z
|
title `label' (set at run time) · xtitle Placebo Estimate · ytitle Empirical CDF · xline `beta' (set at run time) |
not saved | 1.2.main_table_selection.do:408ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 408
twoway scatter cdf z , msize(vsmall) xline(`beta') graphregion(fcolor(white)) ///
ytitle("Empirical CDF") xtitle("Placebo Estimate") xlabel(-2(1)4, labsize(small)) ///
title("`label'", size(small … |
graph combineother
|
combine |
title `cohort' Cohort `title' (set at run time) |
not saved | 1.2.main_table_selection.do:420ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 420
graph combine maternal_nw`k'`cohort' abortion_nw`k'`cohort' , col(2) ///
title("`cohort' Cohort `title'", size(small)) name(g`k'`cohort', replace) ///
imargin(.1 .1 .1 .1) ycommon xcommon |
|
graph combineother
|
combine |
Figure B8figureB8andB9_`k'.pdf (set at run time) |
1.2.main_table_selection.do:424ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 424
graph combine g`k' ///
g`k'1969 ///
g`k'1970 ///
g`k'1971 ///
, col(1) name(g`k'all, replace) ///
imargin(.1 .1 .1 .1) |
||
twowayline
|
connected |
y delta_legal
x r2_max_legal
|
title `label' (set at run time) · xtitle R-max · ytitle Delta for Values of R-max · xline 1 · yline 1 |
not saved | 1.2.main_table_selection.do:522ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 522
tw connect delta_legal r2_max_legal if r2_max_legal>0 , mcolor(`color') lcolor(`color') ///
xline(`rmaxn', lcolor(gs9)) subtitle("Delta for Various Levels of R-max") xlab(.88(.04)1) ///
xtitle("R-max") ytitle("Delta fo … |
graph combineother
|
combine |
Figure B10${dd_analysis}figureB10.pdf (set at run time) |
1.2.main_table_selection.do:530ICPSR replication package/do/2.analysis/1.2.main_table_selection.do, line 530
graph combine lnmaternal_nw_delta lnabortion_nw_delta , name(oipw, replace) |
||
grmapmap
|
grmap |
legend size(medium) |
Figure 1${summary_graphs}figure1.pdf (set at run time) |
2.1.descriptive_figures.do:30ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 30
grmap abortion_regime using ///
"$raw//shape/cb_2018_us_state_500k/cb_2018_us_state_500k_coord" , ///
id(id) clmethod(unique) ///
fcolor("26 152 80" "254 224 139" "252 141 89") /// … |
|
tslineline
|
tsline |
y fabortion_rs, fabortion_w, fabortion_nw
|
title Panel B: Abortion-related Mortality Rate · xline 1966, 1973, 1969 · legend pos(6) col(3) |
not saved | 2.1.descriptive_figures.do:90ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 90
tsline fabortion_rs fabortion_w fabortion_nw , xline(1966) xline(1973) xline(1969) ///
text( 1.5 1964.5 "First" "Abortion" "Reform", j(right) size(vsmall) ) ///
text( 3 1967.8 … |
tslineline
|
tsline |
y fmaternal_rs, fmaternal_w, fmaternal_nw
|
title Panel A: Maternal Mortality Rate · xline 1966, 1973, 1969 · legend pos(6) col(3) |
not saved | 2.1.descriptive_figures.do:100ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 100
tsline fmaternal_rs fmaternal_w fmaternal_nw , xline(1966) xline(1973) xline(1969) ///
text( 7 1964.5 "First" "Abortion" "Reform", j(right) size(vsmall) ) ////
text( 13 1967.8 … |
graph combineother
|
combine |
Figure 2${summary_graphs}figure2.pdf (set at run time) |
2.1.descriptive_figures.do:110ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 110
graph combine g4 f2, iscale(1) col(1) name(m, replace) imargin(0 0 0 0) |
||
tslineline
|
tsline |
y share_abortion_w, share_abortion_nw
|
title Panel B: Share of Maternal Deaths Due to Abortion · xline 1966, 1973, 1969, 1968, 1978 · legend pos(6) col(3) |
not saved | 2.1.descriptive_figures.do:129ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 129
tsline share_abortion_w share_abortion_nw , xline(1966) xline(1973) xline(1969) ///
text( .02 1964.5 "First" "Abortion" "Reform", j(right) size(small) ) ////
text( .23 1970.5 … |
tslineline
|
tsline |
y maternal_rs, abortion_rs
|
title Panel A: Counts of Deaths · xline 1966, 1973, 1969, 1968, 1978 · legend pos(6) col(3) |
not saved | 2.1.descriptive_figures.do:142ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 142
tsline maternal_rs abortion_rs , xline(1966) xline(1973) xline(1969) ///
text( 900 1964.5 "First" "Abortion" "Reform", j(right) size(small) ) ////
text( 1180 1970.5 "First" " … |
graph combineother
|
combine |
Figure A2${summary_graphs}figureA2.pdf (set at run time) |
2.1.descriptive_figures.do:153ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 153
graph combine g2 g1 , col(1) ysize(1.6) xsize(1.2) iscale(.75) imargin(0 0 0 0) |
||
xtlineline
|
line |
y fabortions, finstate, foutstate
|
xline 1973 · legend pos(6) col(3) |
not saved | 2.1.descriptive_figures.do:190ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 190
xtline fabortions finstate foutstate , xline(1973) byopt(col(3)) ///
text( 1750 1972 "Roe v." "Wade" , j(right) size(vsmall) ) xtitle( "" ) ///
legend(pos(6) col(3)) title("", size(small) pos(12)) … |
graph combineother
|
combine |
title Panel A: Abortion Rate (In-State) |
not saved | 2.1.descriptive_figures.do:197ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 197
graph combine g1, name(g1, replace) title("Panel A: Abortion Rate (In-State)", size(small)) imargins( 0 0 0 0) |
|
xtlineline
|
line |
y fabortion_rs, fabortion_w, fabortion_nw
|
xline 1966, 1973, 1969 · legend pos(6) col(3) |
not saved | 2.1.descriptive_figures.do:201ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 201
xtline fabortion_rs fabortion_w fabortion_nw , xline(1966) xline(1973) xline(1969) byopt(col(3)) ///
text( 5.7 1964 "First" "Reform", j(right) size(vsmall) ) ////
text( 5.7 1967.5 " … |
graph combineother
|
combine |
title Panel B: Abortion Mortality Rate |
not saved | 2.1.descriptive_figures.do:210ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 210
graph combine g2, name(g2, replace) title("Panel B: Abortion Mortality Rate", size(small)) imargins( 0 0 0 0) |
|
xtlineline
|
line |
y fmaternal_rs, fmaternal_w, fmaternal_nw
|
xline 1966, 1973, 1969 · legend pos(6) col(3) |
not saved | 2.1.descriptive_figures.do:213ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 213
xtline fmaternal_rs fmaternal_w fmaternal_nw , xline(1966) xline(1973) xline(1969) byopt(col(3)) ///
text( 18 1964 "First" "Reform", j(right) size(vsmall) ) ////
text( 18 196 … |
graph combineother
|
combine |
title Panel C: Maternal Mortality Rate |
not saved | 2.1.descriptive_figures.do:222ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 222
graph combine g3, name(g3, replace) title("Panel C: Maternal Mortality Rate", size(small)) imargins( 0 0 0 0) |
|
graph combineother
|
combine |
Figure A1${summary_graphs}figureA1.pdf (set at run time) |
2.1.descriptive_figures.do:224ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 224
graph combine g1 g2 g3 ,col(1) imargins( 0 0 0 0) name(g4, replace) |
||
tslineline
|
tsline |
y maternal_rs, maternal_w, maternal_nw
|
title `state' (set at run time) · xline 1970, 1973 · legend pos(6) col(3) size(tiny) |
not saved | 2.1.descriptive_figures.do:254ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 254
tsline maternal_rs maternal_w maternal_nw , xline(`year') xline(1973) ///
text(`max' 1966.5 "Legal" "Abortion", j(right) size(vsmall) ) ///
text(`max' 1974.5 "Roe v." "Wade" , j(right … |
tslineline
|
tsline |
y abortion_rs, abortion_w, abortion_nw
|
title `state' (set at run time) · xline 1970, 1973 · legend pos(6) col(3) size(tiny) |
not saved | 2.1.descriptive_figures.do:263ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 263
tsline abortion_rs abortion_w abortion_nw , xline(`year') xline(1973) ///
text( `max2' 1966.5 "Legal" "Abortion", j(right) size(vsmall) ) ///
text( `max2' 1974.5 "Roe v." … |
graph combineother
|
combine |
Figure A3${summary_graphs}figureA3.pdf (set at run time) |
2.1.descriptive_figures.do:274ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 274
graph combine p1 p2 , name(g0, replace) col(1) imargin( .2 .2 .2 .2 ) |
||
histogramhistogram
|
histogram |
x age
by year
|
xtitle Age · ytitle Frequency · by year , note( ) |
Figure A4${summary_graphs}figureA4.pdf (set at run time) |
2.1.descriptive_figures.do:285ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 285
hist age if age<50, by(year , note(" ")) freq discrete color( "73 0 106 %50") name(hist, replace) ytitle(Frequency, size(vsmall)) xtitle(Age, size(vsmall)) |
tslineline
|
tsline |
y share_out_state, abortion_w, abortion_nw
|
xline 1966, 1973, 1969 · legend pos(6) col(3) |
Figure A5${summary_graphs}figureA5.pdf (set at run time) |
2.1.descriptive_figures.do:305ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 305
tsline share_out_state abortion_w abortion_nw, xline(1966) xline(1973) xline(1969) ///
text( .7 1964.5 "First" "Abortion" "Reform", j(right) size(vsmall) ) ///
text( .7 1967.8 … |
graph hbarbar
|
bar |
y abortions_
by t, state
|
title Repeal States · legend label(1 In-State of Residence) label(2 Outside State of Residence) col(3) pos(6) |
not saved | 2.1.descriptive_figures.do:332ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 332
graph hbar abortions_ , over(t) over(state, sort(total) descending) ///
name(q, replace) legend(label(1 "In-State of Residence") ///
label(2 "Outside State of Residence") col(3) pos(6)) asyvars … |
graph hbarbar
|
bar |
y abortions_
by t, state
|
title Reform States · legend label(1 In-State of Residence) label(2 Outside State of Residence) col(3) pos(6) |
not saved | 2.1.descriptive_figures.do:344ICPSR replication package/do/2.analysis/2.1.descriptive_figures.do, line 344
graph hbar abortions_ , over(t) over(state, sort(total) descending) ///
name(q2, replace) legend(label(1 "In-State of Residence") ///
label(2 "Outside State of Residence") ///
c … |
the first 60 of 61, in file and line order