Replication package 155502 · openicpsr · 2024 · open the deposit

How the code gets from data to results

Data and Code for: The Gift of a Lifetime: The Hospital, Modern Medicine, and Mortality

Code for: The Gift of a Lifetime: The Hospital, Modern Medicine, and Mortality American Economic Review 2024

30
scripts
62
input files
47
file hand-offs
249
merges
492
sample steps
366
estimations

1 · Data in — files the code reads and no script of the package writes

  • $PROJ_PATH/analysis/processed/intermediate/nhgis/nhgis_`y'_db.dta Stata
    2_clean_data.do:92
    duke-replication/analysis/scripts/code/2_clean_data.do, line 92 use "$PROJ_PATH/analysis/processed/intermediate/nhgis/nhgis_`y'_db.dta", clear
  • $PROJ_PATH/analysis/raw/nhgis/tables/nhgis0029_ds31_1900_county.dat text
    1_process_raw_data.do:89
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 89 quietly infix /// str year 1-4 /// str state 5-28 /// str statea 29-31 /// str county 32-88 /// str countya 89-92 /// str areaname 93-158 /// double …
  • $PROJ_PATH/analysis/raw/nhgis/tables/nhgis0029_ds37_1910_county.dat text
    1_process_raw_data.do:166
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 166 quietly infix /// str year 1-4 /// str state 5-28 /// str statea 29-31 /// str county 32-88 /// str countya 89-92 /// str areaname 93-158 /// double …
  • $PROJ_PATH/analysis/raw/nhgis/tables/nhgis0029_ds43_1920_county.dat text
    1_process_raw_data.do:222
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 222 quietly infix /// str year 1-4 /// str state 5-28 /// str statea 29-31 /// str county 32-88 /// str countya 89-92 /// str areaname 93-158 /// double …
  • $PROJ_PATH/analysis/raw/nhgis/tables/nhgis0029_ds54_1930_county.dat text
    1_process_raw_data.do:281
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 281 quietly infix /// str year 1-4 /// str state 5-28 /// str statea 29-31 /// str county 32-88 /// str countya 89-92 /// str areaname 93-158 /// double …
  • $PROJ_PATH/analysis/raw/nhgis/tables/nhgis0029_ds78_1940_county.dat text
    1_process_raw_data.do:340
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 340 quietly infix /// str year 1-4 /// str state 5-28 /// str statea 29-31 /// str county 32-88 /// str countya 89-92 /// str areaname 93-158 /// double …
  • $PROJ_PATH/analysis/raw/nhgis/tables/nhgis0029_ds84_1950_county.dat text
    1_process_raw_data.do:396
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 396 quietly infix /// str year 1-4 /// str state 5-28 /// str statea 29-31 /// str county 32-88 /// str countya 89-92 /// str areaname 93-158 /// double …
  • $PROJ_PATH/analysis/raw/nhgis/tables/nhgis0029_ds91_1960_county.dat text
    1_process_raw_data.do:452
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 452 quietly infix /// str year 1-4 /// str state 5-28 /// str statea 29-31 /// str county 32-88 /// str countya 89-92 /// str areaname 93-158 /// double …
  • $PROJ_PATH/analysis/raw/ipums/ipums_placenhg_code_list.xlsx Excel
    3_0_ipums_data_for_geocode_nc_deaths.do:19
    duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do, line 19 import excel using "$PROJ_PATH/analysis/raw/ipums/ipums_placenhg_code_list.xlsx", firstrow case(lower) clear
  • $PROJ_PATH/analysis/raw/ipums/us/usa_00004.dta Stata
    1_1_process_ipums_data.do:18
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 18 use "$PROJ_PATH/analysis/raw/ipums/us/usa_00004.dta", clear
  • $PROJ_PATH/analysis/raw/ipums/us/usa_00005.dta Stata
    1_1_process_ipums_data.do:48
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 48 use "$PROJ_PATH/analysis/raw/ipums/us/usa_00005.dta", clear
  • $PROJ_PATH/analysis/raw/ipums/usa_00086.dta Stata
    4_1_compile_ipums_data.do:17
    duke-replication/analysis/scripts/code/4_1_compile_ipums_data.do, line 17 use "$PROJ_PATH/analysis/raw/ipums/usa_00086.dta" if year >= `first_census' & year <= 1940 & statefip == 37, clear
  • $PROJ_PATH/analysis/raw/ipums/usa_00087.dta Stata
    3_0_ipums_data_for_geocode_nc_deaths.do:24
    duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do, line 24 use statefip countyicp city placenhg using "$PROJ_PATH/analysis/raw/ipums/usa_00087.dta", clear
Other input files 49 files
  • $PROJ_PATH/analysis/raw/ama/aha_data_all_states.dta Stata · read by 4 scripts
    2_clean_data.do:502
    duke-replication/analysis/scripts/code/2_clean_data.do, line 502 use "$PROJ_PATH/analysis/raw/ama/aha_data_all_states.dta", clear
  • $PROJ_PATH/analysis/raw/gnis/NationalFile_20190301.txt text · read by 2 scripts
    1_process_raw_data.do:899
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 899 import delim using "$PROJ_PATH/analysis/raw/gnis/NationalFile_20190301.txt", case(lower) delim("|") encoding("utf-8") stringcols(1 10/11) stripq(yes) clear
  • $PROJ_PATH/analysis/raw/icpsr/36603-0001-Data.dta Stata · read by 2 scripts
    2_clean_data.do:438
    duke-replication/analysis/scripts/code/2_clean_data.do, line 438 use "$PROJ_PATH/analysis/raw/icpsr/36603-0001-Data.dta", clear
  • analysis/output/sr_output_vary_spec.txt text · read by 2 scripts
    7_combined_spec_chart.R:38
    duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 38 regression_results = fread("analysis/output/sr_output_vary_spec.txt", encoding = 'UTF-8')
  • $PROJ_PATH/analysis/processed/data/nc_deaths/nc_death_certificates_cleaned.dta Stata
    3_geocode_nc_deaths.do:27
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 27 use "$PROJ_PATH/analysis/processed/data/nc_deaths/nc_death_certificates_cleaned.dta", clear
  • $PROJ_PATH/analysis/processed/temp/ri_all_cty.dta Stata
    6.09_online_appendix_k_ri.do:164
    duke-replication/analysis/scripts/code/6.09_online_appendix_k_ri.do, line 164 use "$PROJ_PATH/analysis/processed/temp/ri_all_cty.dta", clear
  • $PROJ_PATH/analysis/raw/ama/Internships.xlsx Excel
    1_process_raw_data.do:556
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 556 import excel using "$PROJ_PATH/analysis/raw/ama/Internships.xlsx", sheet("Sheet1") clear
  • $PROJ_PATH/analysis/raw/amd_hospitals/amd_state_and_federal_institutions.xlsx Excel
    1_process_raw_data.do:570
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 570 import excel using "$PROJ_PATH/analysis/raw/amd_hospitals/amd_state_and_federal_institutions.xlsx", firstrow case(lower) allstring clear
41 more
  • $PROJ_PATH/analysis/raw/amd_hospitals/Final_`z'-North Carolina.xlsx Excel
    1_process_raw_data.do:588
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 588 import excel using "$PROJ_PATH/analysis/raw/amd_hospitals/Final_`z'-North Carolina.xlsx", firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_med_schools/history-medical-schools-1942.xlsx Excel
    1_process_raw_data.do:863
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 863 import excel "$PROJ_PATH/analysis/raw/amd_med_schools/history-medical-schools-1942.xlsx", sheet("History of Medical Schools") cellrange(A1:Z454) firstrow clear
  • $PROJ_PATH/analysis/raw/amd_med_schools/med_school_college_requirements.xlsx Excel
    1_process_raw_data.do:859
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 859 import excel "$PROJ_PATH/analysis/raw/amd_med_schools/med_school_college_requirements.xlsx", firstrow clear
  • $PROJ_PATH/analysis/raw/amd_med_schools/med_school_ratings.xlsx Excel
    1_process_raw_data.do:855
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 855 import excel using "$PROJ_PATH/analysis/raw/amd_med_schools/med_school_ratings.xlsx", sheet("medschoolcode_ratings") cellrange(A1:N182) firstrow clear
  • $PROJ_PATH/analysis/raw/amd_med_schools/medical_schools_list_(1923 AMD).dta Stata
    1_process_raw_data.do:867
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 867 use school_code foreign using "$PROJ_PATH/analysis/raw/amd_med_schools/medical_schools_list_(1923 AMD).dta", clear
  • $PROJ_PATH/analysis/raw/amd_med_schools/us-medical-schools-alphabetical-1942.xlsx Excel
    1_process_raw_data.do:851
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 851 import excel "$PROJ_PATH/analysis/raw/amd_med_schools/us-medical-schools-alphabetical-1942.xlsx", sheet("Alphabetical List") cellrange(A1:D802) firstrow clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1912.xlsx Excel
    1_process_raw_data.do:752
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 752 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1912.xlsx", sheet("1912") cellrange(A2:T1854) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1914.xlsx Excel
    1_process_raw_data.do:762
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 762 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1914.xlsx", sheet("1914") cellrange(A2:W2008) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1918.xlsx Excel
    1_process_raw_data.do:773
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 773 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1918.xlsx", sheet("1918") cellrange(A2:W2223) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1921.xlsx Excel
    1_process_raw_data.do:786
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 786 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1921.xlsx", sheet("1921") cellrange(A2:T2262) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1923.xlsx Excel
    1_process_raw_data.do:791
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 791 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1923.xlsx", sheet("1923") cellrange(A2:V2260) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1925.xlsx Excel
    1_process_raw_data.do:796
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 796 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1925.xlsx", sheet("1925") cellrange(A2:T2299) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1927.xlsx Excel
    1_process_raw_data.do:801
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 801 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1927.xlsx", sheet("1927") cellrange(A2:V2367) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1929.xlsx Excel
    1_process_raw_data.do:806
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 806 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1929.xlsx", sheet("1929") cellrange(A2:U2394) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1931.xlsx Excel
    1_process_raw_data.do:811
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 811 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1931.xlsx", sheet("1931") cellrange(A2:V2248) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1934.xlsx Excel
    1_process_raw_data.do:816
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 816 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1934.xlsx", sheet("1934") cellrange(A2:T2502) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1936.xlsx Excel
    1_process_raw_data.do:821
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 821 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1936.xlsx", sheet("1936") cellrange(A2:V2622) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1938.xlsx Excel
    1_process_raw_data.do:826
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 826 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1938.xlsx", sheet("1938") cellrange(A2:T2721) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1940.xlsx Excel
    1_process_raw_data.do:831
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 831 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1940.xlsx", sheet("1940") cellrange(A2:V2801) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1942.xlsx Excel
    1_process_raw_data.do:838
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 838 import excel using "$PROJ_PATH/analysis/raw/amd_physicians/amd_physicians_nc_1942.xlsx", sheet("1942") cellrange(A2:U2951) firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/chd/chd_operation_dates.xlsx Excel
    1_process_raw_data.do:691
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 691 import excel using "$PROJ_PATH/analysis/raw/chd/chd_operation_dates.xlsx", cellrange(A1:F786) firstrow case(lower) clear
  • $PROJ_PATH/analysis/raw/duke/capital_expenditures/Final_CE-1932-1938.xlsx Excel
    1_process_raw_data.do:648
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 648 import excel using "$PROJ_PATH/analysis/raw/duke/capital_expenditures/Final_CE-1932-1938.xlsx", firstrow case(lower) sheet("Current") clear
  • $PROJ_PATH/analysis/raw/duke/ce_locations_1927_1938.xlsx Excel
    1_process_raw_data.do:616
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 616 import excel "$PROJ_PATH/analysis/raw/duke/ce_locations_1927_1938.xlsx", sheet("Locations") firstrow clear
  • $PROJ_PATH/analysis/raw/duke/ce_locations_1927_1938_entry_2.xlsx Excel
    1_process_raw_data.do:624
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 624 import excel "$PROJ_PATH/analysis/raw/duke/ce_locations_1927_1938_entry_2.xlsx", sheet("Locations") firstrow clear
  • $PROJ_PATH/analysis/raw/duke/ce_locations_1939_1962.xlsx Excel
    1_process_raw_data.do:620
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 620 import excel using "$PROJ_PATH/analysis/raw/duke/ce_locations_1939_1962.xlsx", firstrow case(lower) clear
  • $PROJ_PATH/analysis/raw/duke/inflation_factors.xlsx Excel
    1_process_raw_data.do:604
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 604 import excel "$PROJ_PATH/analysis/raw/duke/inflation_factors.xlsx", sheet("Sheet1") firstrow clear
  • $PROJ_PATH/analysis/raw/duke/labc_locations_1925_1962.xlsx Excel
    1_process_raw_data.do:612
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 612 import excel using "$PROJ_PATH/analysis/raw/duke/labc_locations_1925_1962.xlsx", firstrow case(lower) clear
  • $PROJ_PATH/analysis/raw/duke/returns_by_year.xlsx Excel
    1_process_raw_data.do:608
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 608 import excel "$PROJ_PATH/analysis/raw/duke/returns_by_year.xlsx", sheet("Sheet1") firstrow cellrange(A1:M35) clear
  • $PROJ_PATH/analysis/raw/gnis/stateabb.dta Stata
    3_geocode_nc_deaths.do:353
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 353 fmerge m:1 stateabb using "$PROJ_PATH/analysis/raw/gnis/stateabb.dta", keep(1 3) nogen keepusing(statefip)
  • $PROJ_PATH/analysis/raw/hospitals/all_hosp.xlsx Excel
    1_process_raw_data.do:561
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 561 import excel using "$PROJ_PATH/analysis/raw/hospitals/all_hosp.xlsx", sheet("Sheet1") firstrow clear
  • $PROJ_PATH/analysis/raw/hospitals/pollitt-nc-african-american-hospitals.xlsx Excel
    1_process_raw_data.do:566
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 566 import excel using "$PROJ_PATH/analysis/raw/hospitals/pollitt-nc-african-american-hospitals.xlsx", sheet("African American Hospitals") firstrow case(lower) allstring clear
  • $PROJ_PATH/analysis/raw/icpsr/icpsrcnt.xls Excel
    1_process_raw_data.do:38
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 38 import excel using "$PROJ_PATH/analysis/raw/icpsr/icpsrcnt.xls", firstrow case(lower) cellrange(A1:E3261) clear
  • $PROJ_PATH/analysis/raw/nc_deaths/nc_deaths_raw.dta Stata
    3_geocode_nc_deaths.do:41
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 41 use dpl using "$PROJ_PATH/analysis/raw/nc_deaths/nc_deaths_raw.dta", clear
  • $PROJ_PATH/analysis/raw/nc_vital_stats/infant_maternal_mortality/1918-1922-infant-mortality-rate-only.xlsx Excel
    1_process_raw_data.do:733
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 733 import excel "$PROJ_PATH/analysis/raw/nc_vital_stats/infant_maternal_mortality/1918-1922-infant-mortality-rate-only.xlsx", firstrow clear
  • $PROJ_PATH/analysis/raw/numident/death/NUMDEATH`n'_PU.txt text
    1_process_raw_data.do:1168
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 1168 quietly infix /// str refnum 1-11 /// str ssn 13-21 /// str entrycode 27-27 /// int cycleyr 29-32 /// byte cyclemon 33-34 /// str cycleday …
  • $PROJ_PATH/analysis/raw/numident/ferrie_crosswalk.dta Stata
    2_clean_data.do:6084
    duke-replication/analysis/scripts/code/2_clean_data.do, line 6084 merge 1:m feature_id using "$PROJ_PATH/analysis/raw/numident/ferrie_crosswalk.dta", keep(2 3) keepusing(pobcity)
  • $PROJ_PATH/analysis/raw/numident/ss5/NUMSS5`n'_PU.txt text
    1_process_raw_data.do:1044
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 1044 quietly infix /// str refnum 1-11 /// str interview 12-12 /// str ssn 13-21 /// str citcode 22-22 /// str offcode 23-25 /// str formcode …
  • $PROJ_PATH/analysis/raw/pvf/bdct2140.xls Excel
    1_process_raw_data.do:879
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 879 import excel using "$PROJ_PATH/analysis/raw/pvf/bdct2140.xls", sheet("data") cellrange(A1:W19430) firstrow case(lower) clear
  • $PROJ_PATH/analysis/raw/seer/nc_1969_2019_single_ages.txt text
    1_process_raw_data.do:921
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 921 infix year 1-4 str state 5-6 StateFIPS 7-8 CountyFIPS 9-11 registry 12-13 race 14 origin 15 age 17-18 population 19-27 using "$PROJ_PATH/analysis/raw/seer/nc_1969_2019_single_ages.txt", clear
  • analysis/output/sr_output_vary_samp.txt text
    7_sample_chart.R:29
    duke-replication/analysis/scripts/code/7_sample_chart.R, line 29 regression_results = fread("analysis/output/sr_output_vary_samp.txt", encoding = 'UTF-8')
  • analysis/raw/cdc-wonder/imr-and-life-expectancy-by-year.xlsx Excel
    6.07_online_appendix_f_long_run.do:876
    duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 876 import excel "analysis/raw/cdc-wonder/imr-and-life-expectancy-by-year.xlsx", /// sheet("Sheet1") cellrange(A1:E19) firstrow clear

Plus 18 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

30 scripts, in data lineage — a script that writes a file comes before the scripts that read it; 47 hand-offs through 91 intermediate files; 9 files written and never read back (outputs). 2 hand-offs run against this order (dashed), so the order is low-confidence: the scripts share a file both ways, or the order is not the one stated.

duke-replication/analysis/scripts/code/1_process_raw_data.do → duke-replication/analysis/scripts/code/2_clean_data.do: Final_AMD_`y'.dta, Final_AMD_`z'.dta, Final_CE-1932-1938_current.dta, Final_CE-1932-1938_outstanding.dta, Final_CE-`y'.dta, aha_amd_hospitals_combined.dta, ama_carolina_hospitals_uncleaned.dta, amd_physicians_nc_`year'.dta (+29 more)duke-replication/analysis/scripts/code/_gnis_nhgis_overlay.R → duke-replication/analysis/scripts/code/2_clean_data.do: gnis_nhgis_xwk.dtaduke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R → duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do: placenhg_nhgis_xwk_`y'.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do: gnis.dta, nhgis_icpsr_county_crosswalk.dtaduke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do → duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do: ipums_placenhg_codes_1940.dta, unincorporated_placenhg_1910_1940.dtaduke-replication/analysis/scripts/code/3_geocode_nc_deaths.do → duke-replication/analysis/scripts/code/3_geocode_nc_deaths/_nc_deaths_merge_matched_results.do: bcntry_matched.dta, bcty_cross_match.dta, birth_death_match.dta, bloc_cross_match.dta, bstate_cross_match.dta, bstate_matched_comma.dta, bstate_matched_space.dta, btown_cross_match.dta (+5 more)duke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/4_1_compile_ipums_data.do: chd_operation_dates_by_county.dta, nhgis_interpolated_pop_1900-1962.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/4_1_compile_ipums_data.do: duke_county-year-panel_1925-1962.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/4_compile_data.do: amd_physicians_with_med_school_quality.dta, births_pub_by_race_1922_1948.dta, births_pub_cohorts_by_year.dta, capital_appropriations_1927_1962.dta, chd_operation_dates_by_county.dta, chd_operation_dates_panel.dta, hospital-by-year_panel_data.dta, icpsr_county_year_births.dta (+7 more)duke-replication/analysis/scripts/code/1_process_raw_data.do → duke-replication/analysis/scripts/code/4_compile_data.do: bdct2140.dta, inflation_factors.dta, nc_population_single_ages_by_year_race.dta, south_population_single_ages_by_year_race.dtaduke-replication/analysis/scripts/code/3_geocode_nc_deaths.do → duke-replication/analysis/scripts/code/4_compile_data.do: nc_death_certificates_cleaned.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/5_figures.do: nhgis_interpolated_pop_1900-1962.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/5_figures.do: amd_county-by-year_binned_panel.dta, duke_county-year-panel_1925-1962.dta, hospitals_county_level_first_stage_data.dta, nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/5_figures.do → duke-replication/analysis/scripts/code/5_maps.R: map_input.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/5_tables.do: amd_county-by-year_binned_panel.dta, gompertz_event_study_input_by_race.dta, gompertz_event_study_input_pooled.dta, hospitals_county_level_first_stage_data.dta, nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/5_tables.do: shift_share_pneumonia_mortality_22to26.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do: hospitals_county_level_first_stage_data.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do: amd_county-by-year_binned_panel.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do: amd_physicians_with_med_school_quality.dtaduke-replication/analysis/scripts/code/4_1_compile_ipums_data.do → duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do: ipums_doctors_nurses_hospital_staff.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do: nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do: capital_appropriations_1927_1962.dtaduke-replication/analysis/scripts/code/1_process_raw_data.do → duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do: inflation_factors.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do: nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do: nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do: shift_share_pneumonia_mortality_22to26.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do: nc_deaths_event_study_input.dta, southern_infant_deaths.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do: gompertz_event_study_input_by_race.dta, gompertz_event_study_input_by_race_nc_sc.dta, gompertz_event_study_input_pooled.dta, gompertz_event_study_input_pooled_nc_sc.dta, south_gompertz_event_study_input_by_race.dta, south_gompertz_event_study_input_pooled.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.08.0_online_appendix_i_es_diagnostics.do: nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/6.08.1_bacon_decomp.R → duke-replication/analysis/scripts/code/6.08.0_online_appendix_i_es_diagnostics.do: bacon_out.dtaduke-replication/analysis/scripts/code/6.08.0_online_appendix_i_es_diagnostics.do → duke-replication/analysis/scripts/code/6.08.1_bacon_decomp.R: bacon_input.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.09_online_appendix_k_ri.do: nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do: births_pub_cohorts_by_year.dta, chd_operation_dates_panel.dta, hospital-by-year_panel_data.dta, nhgis_interpolated_pop_1900-1962.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do: nc_deaths_event_study_input.dta, southern_infant_deaths.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do: gompertz_event_study_input_by_race.dta, gompertz_event_study_input_pooled.dta, nc_deaths_event_study_input.dta, south_gompertz_event_study_input_by_race.dta, south_gompertz_event_study_input_pooled.dta, southern_infant_deaths.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do: chd_operation_dates_panel.dta, nhgis_1900_1960_counties.dta, nhgis_interpolated_pop_1900-1962.dtaduke-replication/analysis/scripts/code/1_1_process_ipums_data.do → duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do: childhood_survival.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.12_online_appendix_n_summary_stats.do: amd_county-by-year_binned_panel.dta, gompertz_event_study_input_by_race.dta, gompertz_event_study_input_pooled.dta, hospitals_county_level_first_stage_data.dta, nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/1_process_raw_data.do → duke-replication/analysis/scripts/code/6.12_online_appendix_n_summary_stats.do: inflation_factors.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/6.12_online_appendix_n_summary_stats.do: shift_share_pneumonia_mortality_22to26.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do: nhgis_1900_1960_counties.dtaduke-replication/analysis/scripts/code/1_process_raw_data.do → duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do: inflation_factors.dta, returns_by_year.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do: nc_deaths_event_study_input.dta, southern_infant_deaths.dtaduke-replication/analysis/scripts/code/4_compile_data.do → duke-replication/analysis/scripts/code/8_intext_stats.do: hospitals_county_level_first_stage_data.dta, nc_deaths_event_study_input.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/8_intext_stats.do: capital_appropriations_1927_1962.dta, labc_hospital_locations_cleaned.dtaduke-replication/analysis/scripts/code/1_process_raw_data.do → duke-replication/analysis/scripts/code/8_intext_stats.do: inflation_factors.dtaduke-replication/analysis/scripts/code/2_clean_data.do → duke-replication/analysis/scripts/code/_gnis_nhgis_overlay.R: gnis.dta duke-replication/analysis/scripts/code/1_1_process_ipums_data.do · reads 2 input files 1. 1_1_process_ipums_data.do duke-replication/analysis/scripts/code/1_process_raw_data.do · reads 46 input files 2. 1_process_raw_data.do duke-replication/analysis/scripts/code/7_combined_spec_chart.R · reads 1 input files 3. 7_combined_spec_chart.R duke-replication/analysis/scripts/code/7_sample_chart.R · reads 2 input files 4. 7_sample_chart.R duke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R 5. _placenhg_nhgis_overlay.R duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do · reads 2 input files 6. 3_0_ipums_data_for_geocode_nc_deaths.do duke-replication/analysis/scripts/code/2_clean_data.do · reads 5 input files 7. 2_clean_data.do duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do · reads 3 input files 8. 3_geocode_nc_deaths.do duke-replication/analysis/scripts/code/3_geocode_nc_deaths/_nc_deaths_merge_matched_results.do 9. _nc_deaths_merge_matched_results.do duke-replication/analysis/scripts/code/4_compile_data.do · reads 1 input files 10. 4_compile_data.do duke-replication/analysis/scripts/code/4_1_compile_ipums_data.do · reads 1 input files 11. 4_1_compile_ipums_data.do duke-replication/analysis/scripts/code/5_figures.do · 9 estimations 12. 5_figures.do 9 est.duke-replication/analysis/scripts/code/5_maps.R 13. 5_maps.R duke-replication/analysis/scripts/code/5_tables.do · 99 estimations 14. 5_tables.do 99 est.duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do · 6 estimations 15. 6.01_online_appendix_b_hospitals.do 6 est.duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do · 15 estimations 16. 6.02_online_appendix_c_doctors.do 15 est.duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do · 7 estimations 17. 6.03_online_appendix_d_infant_mortality.do 7 est.duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do · 3 estimations 18. 6.04_online_appendix_e_heterogeneity.do 3 est.duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do · 50 estimations 19. 6.05_online_appendix_g_other_results.do 50 est.duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do · 5 estimations 20. 6.06_online_appendix_j_non_nc.do 5 est.duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do · reads 1 input files · 75 estimations 21. 6.07_online_appendix_f_long_run.do 75 est.duke-replication/analysis/scripts/code/6.09_online_appendix_k_ri.do · reads 1 input files · 1 estimation 22. 6.09_online_appendix_k_ri.do 1 est.duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do · reads 1 input files · 47 estimations 23. 6.10_online_appendix_l_extended_panel.do 47 est.duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do · reads 1 input files · 14 estimations 24. 6.11_online_appendix_m_psm.do 14 est.duke-replication/analysis/scripts/code/6.12_online_appendix_n_summary_stats.do 25. 6.12_online_appendix_n_summary_stats.do duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do · reads 1 input files · 28 estimations 26. 6.13_online_appendix_j_iv.do 28 est.duke-replication/analysis/scripts/code/8_intext_stats.do · 6 estimations 27. 8_intext_stats.do 6 est.duke-replication/analysis/scripts/code/_gnis_nhgis_overlay.R 28. _gnis_nhgis_overlay.R duke-replication/analysis/scripts/code/6.08.0_online_appendix_i_es_diagnostics.do · 1 estimation 29. 6.08.0_online_appendix_i_es_diagnostics.do 1 est.duke-replication/analysis/scripts/code/6.08.1_bacon_decomp.R 30. 6.08.1_bacon_decomp.R
  1. 1.duke-replication/analysis/scripts/code/1_1_process_ipums_data.do reads 2 input files · 3 merges ·
    writes childhood_survival.dta → read by 6.11_online_appendix_m_psm.do
  2. 2.duke-replication/analysis/scripts/code/1_process_raw_data.do reads 46 input files · 4 merges ·
    writes Final_AMD_`y'.dta → read by 2_clean_data.do
    writes Final_AMD_`z'.dta → read by 2_clean_data.do
    writes Final_CE-1932-1938_current.dta → read by 2_clean_data.do
    writes Final_CE-1932-1938_outstanding.dta → read by 2_clean_data.do
    writes Final_CE-`y'.dta → read by 2_clean_data.do
    writes aha_amd_hospitals_combined.dta → read by 2_clean_data.do
    writes ama_carolina_hospitals_uncleaned.dta → read by 2_clean_data.do
    writes amd_physicians_nc_`year'.dta → read by 2_clean_data.do
    writes amd_state_and_federal_institutions.dta → read by 2_clean_data.do
    writes bdct2140.dta → read by 4_compile_data.do
    writes births_by_race_`year'.dta → read by 2_clean_data.do
    writes ce_locations_1927_1938.dta → read by 2_clean_data.do
    writes ce_locations_1927_1938_entry_2.dta → read by 2_clean_data.do
    writes chd_operation_dates.dta → read by 2_clean_data.do
    writes death_files.dta → read by 2_clean_data.do
    writes ds31_1900_county.dta → read by 2_clean_data.do
    writes ds37_1910_county.dta → read by 2_clean_data.do
    writes ds43_1920_county.dta → read by 2_clean_data.do
    writes ds54_1930_county.dta → read by 2_clean_data.do
    writes ds78_1940_county.dta → read by 2_clean_data.do
    +20 more files handed on
    writes (not read again): `file_name', `file_name*'
  3. 3.duke-replication/analysis/scripts/code/7_combined_spec_chart.R reads 1 input file · 2 merges ·
  4. 4.duke-replication/analysis/scripts/code/7_sample_chart.R reads 2 input files · 1 merge ·
  5. 5.duke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R
    writes placenhg_nhgis_xwk_`y'.dta → read by 3_0_ipums_data_for_geocode_nc_deaths.do
  6. 6.duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do reads 2 input files · 3 merges ·
    reads what _placenhg_nhgis_overlay.R wrote
    writes ipums_placenhg_codes_1940.dta → read by 3_geocode_nc_deaths.do
    writes unincorporated_placenhg_1910_1940.dta → read by 3_geocode_nc_deaths.do
  7. 7.duke-replication/analysis/scripts/code/2_clean_data.do reads 5 input files · 96 merges ·
    reads what 1_process_raw_data.do, _gnis_nhgis_overlay.R wrote
    writes amd_physicians_with_med_school_quality.dta → read by 4_compile_data.do, 6.02_online_appendix_c_doctors.do
    writes births_pub_by_race_1922_1948.dta → read by 4_compile_data.do
    writes births_pub_cohorts_by_year.dta → read by 4_compile_data.do, 6.10_online_appendix_l_extended_panel.do
    writes capital_appropriations_1927_1962.dta → read by 4_compile_data.do, 6.04_online_appendix_e_heterogeneity.do, 8_intext_stats.do
    writes chd_operation_dates_by_county.dta → read by 4_compile_data.do, 4_1_compile_ipums_data.do
    writes chd_operation_dates_panel.dta → read by 4_compile_data.do, 6.10_online_appendix_l_extended_panel.do, 6.11_online_appendix_m_psm.do
    writes gnis.dta → read by 3_geocode_nc_deaths.do, _gnis_nhgis_overlay.R
    writes hospital-by-year_panel_data.dta → read by 4_compile_data.do, 6.10_online_appendix_l_extended_panel.do
    writes icpsr_county_year_births.dta → read by 4_compile_data.do
    writes imr_mmr_1922_1942.dta → read by 4_compile_data.do
    writes labc_hospital_locations_cleaned.dta → read by 8_intext_stats.do
    writes nhgis_1900_1960_counties.dta → read by 4_compile_data.do, 6.11_online_appendix_m_psm.do, 6.13_online_appendix_j_iv.do
    writes nhgis_1920_counties.dta → read by 4_compile_data.do
    writes nhgis_icpsr_county_crosswalk.dta → read by 3_geocode_nc_deaths.do
    writes nhgis_interpolated_pop_1900-1962.dta → read by 4_compile_data.do, 4_1_compile_ipums_data.do, 5_figures.do, 6.10_online_appendix_l_extended_panel.do, 6.11_online_appendix_m_psm.do
    writes numident_carolina_indiv_1920-1942.dta → read by 4_compile_data.do
    writes numident_south_indiv_1920-1942.dta → read by 4_compile_data.do
    writes shift_share_pneumonia_mortality_22to26.dta → read by 4_compile_data.do, 5_tables.do, 6.05_online_appendix_g_other_results.do, 6.12_online_appendix_n_summary_stats.do
    writes (not read again): financials_1925_1962.dta, locations-unique.dta, locations.dta, share_phys_att_1922_1948.dta
  8. 8.duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do reads 3 input files · 68 merges ·
    reads what 3_0_ipums_data_for_geocode_nc_deaths.do, 2_clean_data.do wrote
    writes bcntry_matched.dta → read by _nc_deaths_merge_matched_results.do
    writes bcty_cross_match.dta → read by _nc_deaths_merge_matched_results.do
    writes birth_death_match.dta → read by _nc_deaths_merge_matched_results.do
    writes bloc_cross_match.dta → read by _nc_deaths_merge_matched_results.do
    writes bstate_cross_match.dta → read by _nc_deaths_merge_matched_results.do
    writes bstate_matched_comma.dta → read by _nc_deaths_merge_matched_results.do
    writes bstate_matched_space.dta → read by _nc_deaths_merge_matched_results.do
    writes btown_cross_match.dta → read by _nc_deaths_merge_matched_results.do
    writes cty_exact_match_comma.dta → read by _nc_deaths_merge_matched_results.do
    writes cty_exact_match_space.dta → read by _nc_deaths_merge_matched_results.do
    writes gnis_cross_match.dta → read by _nc_deaths_merge_matched_results.do
    writes location_exact_match_comma.dta → read by _nc_deaths_merge_matched_results.do
    writes location_exact_match_space.dta → read by _nc_deaths_merge_matched_results.do
    writes nc_death_certificates_cleaned.dta → read by 4_compile_data.do
    writes (not read again): _archived_`datetime'_nc_death_certificates_cleaned.dta
  9. 9.duke-replication/analysis/scripts/code/3_geocode_nc_deaths/_nc_deaths_merge_matched_results.do 13 merges ·
    reads what 3_geocode_nc_deaths.do wrote
  10. 10.duke-replication/analysis/scripts/code/4_compile_data.do reads 1 input file · 54 merges ·
    reads what 1_process_raw_data.do, 2_clean_data.do, 3_geocode_nc_deaths.do wrote
    writes amd_county-by-year_binned_panel.dta → read by 5_figures.do, 5_tables.do, 6.02_online_appendix_c_doctors.do, 6.12_online_appendix_n_summary_stats.do
    writes duke_county-year-panel_1925-1962.dta → read by 4_1_compile_ipums_data.do, 5_figures.do
    writes gompertz_event_study_input_by_race.dta → read by 5_tables.do, 6.07_online_appendix_f_long_run.do, 6.11_online_appendix_m_psm.do, 6.12_online_appendix_n_summary_stats.do
    writes gompertz_event_study_input_by_race_nc_sc.dta → read by 6.07_online_appendix_f_long_run.do
    writes gompertz_event_study_input_pooled.dta → read by 5_tables.do, 6.07_online_appendix_f_long_run.do, 6.11_online_appendix_m_psm.do, 6.12_online_appendix_n_summary_stats.do
    writes gompertz_event_study_input_pooled_nc_sc.dta → read by 6.07_online_appendix_f_long_run.do
    writes hospitals_county_level_first_stage_data.dta → read by 5_figures.do, 5_tables.do, 6.01_online_appendix_b_hospitals.do, 6.12_online_appendix_n_summary_stats.do, 8_intext_stats.do
    writes nc_deaths_event_study_input.dta → read by 5_figures.do, 5_tables.do, 6.03_online_appendix_d_infant_mortality.do, 6.04_online_appendix_e_heterogeneity.do, 6.05_online_appendix_g_other_results.do, 6.06_online_appendix_j_non_nc.do, 6.09_online_appendix_k_ri.do, 6.10_online_appendix_l_extended_panel.do +5 more
    writes south_gompertz_event_study_input_by_race.dta → read by 6.07_online_appendix_f_long_run.do, 6.11_online_appendix_m_psm.do
    writes south_gompertz_event_study_input_pooled.dta → read by 6.07_online_appendix_f_long_run.do, 6.11_online_appendix_m_psm.do
    writes southern_infant_deaths.dta → read by 6.06_online_appendix_j_non_nc.do, 6.10_online_appendix_l_extended_panel.do, 6.11_online_appendix_m_psm.do, 6.13_online_appendix_j_iv.do
  11. 11.duke-replication/analysis/scripts/code/4_1_compile_ipums_data.do reads 1 input file · 3 merges ·
    reads what 2_clean_data.do, 4_compile_data.do wrote
    writes ipums_doctors_nurses_hospital_staff.dta → read by 6.02_online_appendix_c_doctors.do
  12. 12.duke-replication/analysis/scripts/code/5_figures.do 17 merges · 9 estimations
    reads what 2_clean_data.do, 4_compile_data.do wrote
    writes map_input.dta → read by 5_maps.R
    writes (not read again): `dta_bk'
  13. 13.duke-replication/analysis/scripts/code/5_maps.R 1 merge ·
    reads what 5_figures.do wrote
  14. 14.duke-replication/analysis/scripts/code/5_tables.do 99 estimations
    reads what 2_clean_data.do, 4_compile_data.do wrote
  15. 15.duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do 3 merges · 6 estimations
    reads what 4_compile_data.do wrote
  16. 16.duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do 4 merges · 15 estimations
    reads what 2_clean_data.do, 4_compile_data.do, 4_1_compile_ipums_data.do wrote
  17. 17.duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do 7 estimations
    reads what 4_compile_data.do wrote
  18. 18.duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do 1 merge · 3 estimations
    reads what 1_process_raw_data.do, 2_clean_data.do, 4_compile_data.do wrote
  19. 19.duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do 1 merge · 50 estimations
    reads what 2_clean_data.do, 4_compile_data.do wrote
  20. 20.duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do 3 merges · 5 estimations
    reads what 4_compile_data.do wrote
  21. 21.duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do reads 1 input file · 4 merges · 75 estimations
    reads what 4_compile_data.do wrote
  22. 22.duke-replication/analysis/scripts/code/6.09_online_appendix_k_ri.do reads 1 input file · 2 merges · 1 estimation
    reads what 4_compile_data.do wrote
  23. 23.duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do reads 1 input file · 14 merges · 47 estimations
    reads what 2_clean_data.do, 4_compile_data.do wrote
  24. 24.duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do reads 1 input file · 19 merges · 14 estimations
    reads what 1_1_process_ipums_data.do, 2_clean_data.do, 4_compile_data.do wrote
  25. 25.duke-replication/analysis/scripts/code/6.12_online_appendix_n_summary_stats.do 1 merge ·
    reads what 1_process_raw_data.do, 2_clean_data.do, 4_compile_data.do wrote
5 more scripts
  1. 26.duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do reads 1 input file · 9 merges · 28 estimations
    reads what 1_process_raw_data.do, 2_clean_data.do, 4_compile_data.do wrote
  2. 27.duke-replication/analysis/scripts/code/8_intext_stats.do 3 merges · 6 estimations
    reads what 1_process_raw_data.do, 2_clean_data.do, 4_compile_data.do wrote
  3. 28.duke-replication/analysis/scripts/code/_gnis_nhgis_overlay.R
    reads what 2_clean_data.do wrote
    writes gnis_nhgis_xwk.dta → read by 2_clean_data.do
  4. 29.duke-replication/analysis/scripts/code/6.08.0_online_appendix_i_es_diagnostics.do 1 estimation
    reads what 4_compile_data.do, 6.08.1_bacon_decomp.R wrote
    writes bacon_input.dta → read by 6.08.1_bacon_decomp.R
  5. 30.duke-replication/analysis/scripts/code/6.08.1_bacon_decomp.R
    reads what 6.08.0_online_appendix_i_es_diagnostics.do wrote
    writes bacon_out.dta → read by 6.08.0_online_appendix_i_es_diagnostics.do
    writes (not read again): bacon_table.dta

3 · Merges — 249 joins, 34 followed by a check of the merge result; 80 appends

JoinsHowOn keysCheck that followsWhere
usa_00005 ← hik_in_1920_and_1930 merge 1:1 year histid none
1_1_process_ipums_data.do:59
duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 59 merge 1:1 year histid using "$PROJ_PATH/analysis/processed/temp/hik_in_1920_and_1930.dta", assert(1 3) nogen
(data in memory) ← white merge 1:1 stateicp statefip countyicp none
1_1_process_ipums_data.do:151
duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 151 merge 1:1 stateicp statefip countyicp using `white', nogen
white ← pooled merge 1:1 stateicp statefip countyicp none
1_1_process_ipums_data.do:152
duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 152 merge 1:1 stateicp statefip countyicp using `pooled', nogen
regression_results_pooled ← regression_results_white merge — none
7_combined_spec_chart.R:79
duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 79 regression_results = merge(regression_results_pooled, regression_results_white)
regression_results ← regression_results_black merge — none
7_combined_spec_chart.R:80
duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 80 regression_results = merge(regression_results, regression_results_black)
usa_00087 ← ipums_placenhg_code_list merge m:1 placenhg none
3_0_ipums_data_for_geocode_nc_deaths.do:29
duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do, line 29 fmerge m:1 placenhg using `ipums_placenhg_code_list', assert(2 3) keep(3) nogen
ipums_placenhg_codes_1940 ← placenhg_nc merge m:1 placenhg keep if _merge == 1
3_0_ipums_data_for_geocode_nc_deaths.do:67
duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do, line 67 fmerge m:1 placenhg using `placenhg_nc', keepusing(placenhg)
nhgis_`y'_counties ← icpsr_county_codes_1850-1930 merge m:1 statefip countyicp none
2_clean_data.do:152
duke-replication/analysis/scripts/code/2_clean_data.do, line 152 merge m:1 statefip countyicp using "$PROJ_PATH/analysis/processed/data/icpsr/icpsr_county_codes_1850-1930.dta", keepusing(stateicp county_icpsr) keep(1 3) nogen
nhgis_1960 ← nhgis_1900_1960_counties merge m:1 str_nhgisst str_nhgiscty egen state_ever_merge = max(_merge == 3), by(str_nhgisst)
2_clean_data.do:303
duke-replication/analysis/scripts/code/2_clean_data.do, line 303 merge m:1 str_nhgisst str_nhgiscty using "$PROJ_PATH/analysis/processed/data/nhgis/nhgis_1900_1960_counties.dta", assert(1 3)
(data in memory) ← expanded_nhgis_tables merge 1:1 fips year none
2_clean_data.do:359
duke-replication/analysis/scripts/code/2_clean_data.do, line 359 merge 1:1 fips year using `expanded_nhgis_tables', assert(1 3) nogen
(data in memory) ← crosswalk merge m:1 updated_hosp_id none
2_clean_data.do:1223
duke-replication/analysis/scripts/code/2_clean_data.do, line 1223 merge m:1 updated_hosp_id using `crosswalk', keep(1 3) nogen
(data in memory) ← new_hospitals merge m:1 updated_hosp_id replace temp_hosp_id = 20000 + updated_hosp_id if _merge == 3
2_clean_data.do:1240
duke-replication/analysis/scripts/code/2_clean_data.do, line 1240 merge m:1 updated_hosp_id using `new_hospitals', assert(1 3)

4 · The sample — 492 keep/drop steps, 0 variables winsorized or trimmed

Filters, by kind
time period ×80
  • keep if year == 1920
    1_1_process_ipums_data.do:34
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 34 keep if year == 1920
  • keep if year == 1920
    1_1_process_ipums_data.do:51
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 51 keep if year == 1920
  • drop if year == 1911
    1_process_raw_data.do:562
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 562 drop if year == 1911
  • drop if year > 1962
    2_clean_data.do:356
    duke-replication/analysis/scripts/code/2_clean_data.do, line 356 drop if year > 1962
  • keep if race == 0 & year >= 1915 & year <= 1962
    2_clean_data.do:446
    duke-replication/analysis/scripts/code/2_clean_data.do, line 446 keep if race == 0 & year >= 1915 & year <= 1962
  • drop if year > min_exp & expired == 1
    2_clean_data.do:1998
    duke-replication/analysis/scripts/code/2_clean_data.do, line 1998 drop if year > min_exp & expired == 1
  • drop if yearclosed < 1920 | yearopen > 1942
    2_clean_data.do:4101
    duke-replication/analysis/scripts/code/2_clean_data.do, line 4101 drop if yearclosed < 1920 | yearopen > 1942
  • drop if year == 1920 | year == 1925
    2_clean_data.do:4170
    duke-replication/analysis/scripts/code/2_clean_data.do, line 4170 drop if year == 1920 | year == 1925
  • first 8 of 80
value ranges ×89
  • keep if count == 2
    1_1_process_ipums_data.do:32
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 32 keep if count == 2
  • keep if -order > 0
    7_sample_chart.R:157
    duke-replication/analysis/scripts/code/7_sample_chart.R, line 157 geom_text(data = subset(regression_results, -order > 0), aes(x = 2.5, y = -order, label = own_label), size = base_text_size, …
  • keep if -order <= 0 & -order >= -52
    7_sample_chart.R:163
    duke-replication/analysis/scripts/code/7_sample_chart.R, line 163 geom_text(data = subset(regression_results, -order <= 0 & -order >= -52), aes(x = 2.5, y = -order, label = own_label), size = base_text_size, hjust = 0) +
  • keep if -order < -53 & -order != -60
    7_sample_chart.R:169
    duke-replication/analysis/scripts/code/7_sample_chart.R, line 169 geom_text(data = subset(regression_results, -order < -53 & -order != -60), aes(x = 2.5, y = -order, label = own_label), size = base_text_size, hjust = 0) +
  • drop if tot_1 > 0 & phase == 2
    2_clean_data.do:1195
    duke-replication/analysis/scripts/code/2_clean_data.do, line 1195 drop if tot_1 > 0 & phase == 2
  • drop if tot_1 > 0
    2_clean_data.do:1229
    duke-replication/analysis/scripts/code/2_clean_data.do, line 1229 drop if tot_1 > 0
  • drop if tot_1 > 0 & phase == 3
    2_clean_data.do:1329
    duke-replication/analysis/scripts/code/2_clean_data.do, line 1329 drop if tot_1 > 0 & phase == 3
  • drop if tot_1 > 0
    2_clean_data.do:1362
    duke-replication/analysis/scripts/code/2_clean_data.do, line 1362 drop if tot_1 > 0
  • first 8 of 89
category values ×52
  • keep if hhtype == 1
    1_1_process_ipums_data.do:21
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 21 keep if hhtype == 1
  • keep if hhtype == 1
    1_1_process_ipums_data.do:54
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 54 keep if hhtype == 1
  • drop if ssn == "ZZZZZZZZZ"
    1_process_raw_data.do:1144
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 1144 drop if ssn == "ZZZZZZZZZ"
  • keep if notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"
    7_combined_spec_chart.R:91
    duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 91 geom_linerange(data = subset(regression_results, notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"), color = highlight_color, aes(ymin = low, ymax = high)) +
  • keep if notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"
    7_combined_spec_chart.R:95
    duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 95 geom_point(data = subset(regression_results, notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"), color = "white", size = bigger_point_size, shape = 15) +
  • keep if notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"
    7_combined_spec_chart.R:100
    duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 100 geom_point(data = subset(regression_results, notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"), color = highlight_color, size = base_point_size, shape = 15) +
  • keep if notes != "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"
    7_combined_spec_chart.R:126
    duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 126 dot_plot = ggplot(data = subset(regression_results, notes != "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights") , aes(y = 1, x = order, fill = as.factor(countyFE))) +
  • keep if notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"
    7_combined_spec_chart.R:131
    duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 131 geom_point(data = subset(regression_results, notes == "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights"), color = 'black', size = bigger_dp_size, shape = 15) +
  • first 8 of 52
indicator subsets ×34
  • keep if keep_hhh == 1 & keep_hh_child_und_1 == 1 | keep_hhh == 1 & keep_hh_child_1_5 == 1
    1_1_process_ipums_data.do:91
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 91 keep if keep_hhh == 1 & keep_hh_child_und_1 == 1 | keep_hhh == 1 & keep_hh_child_1_5 == 1
  • keep if keep_child == 1
    1_1_process_ipums_data.do:98
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 98 keep if keep_child == 1
  • drop if flag_page_id == 1
    1_process_raw_data.do:781
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 781 drop if flag_page_id == 1
  • drop if appropriation == 0 & app_payments == 0 & expired == 0
    2_clean_data.do:2002
    duke-replication/analysis/scripts/code/2_clean_data.do, line 2002 drop if appropriation == 0 & app_payments == 0 & expired == 0
  • drop if ever_in_ama == 0
    2_clean_data.do:4699
    duke-replication/analysis/scripts/code/2_clean_data.do, line 4699 drop if ever_in_ama == 0
  • drop if not_practicing == 1 | retired == 1
    2_clean_data.do:5736
    duke-replication/analysis/scripts/code/2_clean_data.do, line 5736 drop if not_practicing == 1 | retired == 1
  • drop if eclectic == 1 | homeopath == 1
    2_clean_data.do:5741
    duke-replication/analysis/scripts/code/2_clean_data.do, line 5741 drop if eclectic == 1 | homeopath == 1
  • drop if flag_repeat == 1
    2_clean_data.do:5746
    duke-replication/analysis/scripts/code/2_clean_data.do, line 5746 drop if flag_repeat == 1
  • first 8 of 34
geography ×86
  • keep if inlist(statefip,1,5,10,11,12,13,21,22,24,28,37,40,45,47,48,51,54)
    1_1_process_ipums_data.do:24
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 24 keep if inlist(statefip,1,5,10,11,12,13,21,22,24,28,37,40,45,47,48,51,54)
  • keep if inlist(statefip,1,5,10,11,12,13,21,22,24,28,37,40,45,47,48,51,54)
    1_1_process_ipums_data.do:57
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 57 keep if inlist(statefip,1,5,10,11,12,13,21,22,24,28,37,40,45,47,48,51,54)
  • keep if statefip == 37
    1_process_raw_data.do:908
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 908 keep if statefip == 37
  • keep if statefip %in% c(37)
    _placenhg_nhgis_overlay.R:22
    duke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R, line 22 filter(statefip %in% c(37)) %>%
  • keep if statefip %in% c(37)
    _placenhg_nhgis_overlay.R:35
    duke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R, line 35 filter(statefip %in% c(37)) %>%
  • keep if statefip %in% c(37)
    _placenhg_nhgis_overlay.R:48
    duke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R, line 48 filter(statefip %in% c(37)) %>%
  • keep if statefip %in% c(37)
    _placenhg_nhgis_overlay.R:61
    duke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R, line 61 filter(statefip %in% c(37)) %>%
  • keep if state_id %in% c(37)
    _placenhg_nhgis_overlay.R:75
    duke-replication/analysis/scripts/code/_placenhg_nhgis_overlay.R, line 75 filter(state_id %in% c(37)) %>%
  • first 8 of 86
demographics ×21
  • keep if race == 1
    1_1_process_ipums_data.do:127
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 127 keep if race == 1
  • keep if race == 2
    1_1_process_ipums_data.do:141
    duke-replication/analysis/scripts/code/1_1_process_ipums_data.do, line 141 keep if race == 2
  • keep if race == 1 | race == 2
    1_process_raw_data.do:926
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 926 keep if race == 1 | race == 2
  • keep if race == 1 | race == 2
    1_process_raw_data.do:979
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 979 keep if race == 1 | race == 2
  • drop if tot_sex_match > 0 & sex != sex_ss5
    2_clean_data.do:6200
    duke-replication/analysis/scripts/code/2_clean_data.do, line 6200 drop if tot_sex_match > 0 & sex != sex_ss5
  • keep if age == 0
    4_compile_data.do:619
    duke-replication/analysis/scripts/code/4_compile_data.do, line 619 keep if age == 0
  • keep if race == 1 | race == 2
    4_compile_data.do:1087
    duke-replication/analysis/scripts/code/4_compile_data.do, line 1087 keep if race == 1 | race == 2
  • keep if age >= 56 & age <= 64
    4_compile_data.do:1269
    duke-replication/analysis/scripts/code/4_compile_data.do, line 1269 keep if age >= 56 & age <= 64
  • first 8 of 21
row position (_n, first / last row) ×7
  • keep if order == 1
    2_clean_data.do:459
    duke-replication/analysis/scripts/code/2_clean_data.do, line 459 keep if order == 1
  • keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
    3_geocode_nc_deaths.do:469
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 469 keep if _n >= `bot' & _n <= `top' as we read it (macros filled in / loop expanded): keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
  • keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
    3_geocode_nc_deaths.do:977
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 977 keep if _n >= `bot' & _n <= `top' as we read it (macros filled in / loop expanded): keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
  • keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
    3_geocode_nc_deaths.do:1075
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 1075 keep if _n >= `bot' & _n <= `top' as we read it (macros filled in / loop expanded): keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
  • keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
    3_geocode_nc_deaths.do:1185
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 1185 keep if _n >= `bot' & _n <= `top' as we read it (macros filled in / loop expanded): keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
  • keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
    3_geocode_nc_deaths.do:1292
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 1292 keep if _n >= `bot' & _n <= `top' as we read it (macros filled in / loop expanded): keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
  • keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
    3_geocode_nc_deaths.do:1449
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 1449 keep if _n >= `bot' & _n <= `top' as we read it (macros filled in / loop expanded): keep if _n >= (`n' - 1)*50000 + 1 & _n <= (`n' - 1)*50000 + 1 + 49999
missing values ×105
  • drop if state == ""
    1_process_raw_data.do:39
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 39 drop if state == ""
  • keep if !missing(state)
    1_process_raw_data.do:589
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 589 keep if !missing(state)
  • drop if missing(imageno) & missing(hospital)
    1_process_raw_data.do:637
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 637 drop if missing(imageno) & missing(hospital)
  • drop if missing(imageno) & missing(location)
    1_process_raw_data.do:678
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 678 drop if missing(imageno) & missing(location)
  • drop if flag_page_id == 1 & missing(name)
    1_process_raw_data.do:768
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 768 drop if flag_page_id == 1 & missing(name)
  • drop if countyicp == .
    2_clean_data.do:63
    duke-replication/analysis/scripts/code/2_clean_data.do, line 63 drop if countyicp == .
  • drop if missing(pop_total)
    2_clean_data.do:306
    duke-replication/analysis/scripts/code/2_clean_data.do, line 306 drop if missing(pop_total)
  • drop if missing(cofips)
    2_clean_data.do:444
    duke-replication/analysis/scripts/code/2_clean_data.do, line 444 drop if missing(cofips)
  • first 8 of 105
other conditions ×6
  • drop if regexm(hospital,"^[0-9]+")
    2_clean_data.do:1804
    duke-replication/analysis/scripts/code/2_clean_data.do, line 1804 drop if regexm(hospital,"^[0-9]+")
  • drop if regexm(hospital,"^[0-9]+")
    2_clean_data.do:2047
    duke-replication/analysis/scripts/code/2_clean_data.do, line 2047 drop if regexm(hospital,"^[0-9]+")
  • drop if regexm(hospital,"^[0-9]+")
    2_clean_data.do:2129
    duke-replication/analysis/scripts/code/2_clean_data.do, line 2129 drop if regexm(hospital,"^[0-9]+")
  • drop if regexm(lower(nameofhospital),"psychiatric") | regexm(lower(nameofhospital),"clinic") | regexm(lower(nameofhospital),"sanitarium") | regexm(lower(nameofhospital),"sanatorium") | regexm(lower(nameofhospital),"orthopedic")
    2_clean_data.do:4104
    duke-replication/analysis/scripts/code/2_clean_data.do, line 4104 drop if regexm(lower(nameofhospital),"psychiatric") | regexm(lower(nameofhospital),"clinic") | regexm(lower(nameofhospital),"sanitarium") | regexm(lower(nameofhospital),"sanatorium") | regexm(lower(nameofhospital),"orthopedic")
  • drop if regexm(lower(nameofhospital),"branch")
    2_clean_data.do:4107
    duke-replication/analysis/scripts/code/2_clean_data.do, line 4107 drop if regexm(lower(nameofhospital),"branch")
  • drop if regexm(location,"CAROLINA")
    3_geocode_nc_deaths.do:116
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 116 drop if regexm(location,"CAROLINA")
time windows set by a variable — a loop or a computed date, not fixed years (rolling estimation windows, not the sample period) ×4
  • drop if year >= last_census + 10
    2_clean_data.do:374
    duke-replication/analysis/scripts/code/2_clean_data.do, line 374 drop if year >= last_census + 10
  • drop if year <= first_census - 10
    2_clean_data.do:375
    duke-replication/analysis/scripts/code/2_clean_data.do, line 375 drop if year <= first_census - 10
  • drop if year > last_year
    2_clean_data.do:4741
    duke-replication/analysis/scripts/code/2_clean_data.do, line 4741 drop if year > last_year
  • keep if MergedIntoYear_i == max_year_merger
    2_clean_data.do:5623
    duke-replication/analysis/scripts/code/2_clean_data.do, line 5623 keep if MergedIntoYear_i == max_year_merger
drops after a merge (_merge) ×8
  • keep if _merge == 1
    3_0_ipums_data_for_geocode_nc_deaths.do:68
    duke-replication/analysis/scripts/code/3_0_ipums_data_for_geocode_nc_deaths.do, line 68 keep if _merge == 1
  • keep if _merge == 3
    2_clean_data.do:311
    duke-replication/analysis/scripts/code/2_clean_data.do, line 311 keep if _merge == 3
  • drop if _merge == 2
    2_clean_data.do:5584
    duke-replication/analysis/scripts/code/2_clean_data.do, line 5584 drop if _merge == 2
  • keep if _merge == 3
    2_clean_data.do:5987
    duke-replication/analysis/scripts/code/2_clean_data.do, line 5987 keep if _merge == 3
  • drop if _merge == 2
    2_clean_data.do:6086
    duke-replication/analysis/scripts/code/2_clean_data.do, line 6086 drop if _merge == 2
  • drop if _merge == 1
    4_compile_data.do:1036
    duke-replication/analysis/scripts/code/4_compile_data.do, line 1036 drop if _merge == 1
  • drop if _merge == 2
    6.12_online_appendix_n_summary_stats.do:41
    duke-replication/analysis/scripts/code/6.12_online_appendix_n_summary_stats.do, line 41 drop if _merge == 2
  • keep if _merge == 3
    8_intext_stats.do:649
    duke-replication/analysis/scripts/code/8_intext_stats.do, line 649 keep if _merge == 3
Outliers

No winsorizing or trimming recorded.

Missing values
set to zero ×153
  • time_treated → 0
    6.08.1_bacon_decomp.R:32
    duke-replication/analysis/scripts/code/6.08.1_bacon_decomp.R, line 32 mutate(time_treated = replace_na(time_treated, 0))
  • any_non_profit_1927 → 0
    6.13_online_appendix_j_iv.do:136
    duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 136 replace any_non_profit_1927 = 0 if missing(any_non_profit_1927)
  • has_beds_1927 → 0
    6.13_online_appendix_j_iv.do:137
    duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 137 replace has_beds_1927 = 0 if missing(has_beds_1927)
  • proprietary_1927 → 0
    6.13_online_appendix_j_iv.do:138
    duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 138 replace proprietary_1927 = 0 if missing(proprietary_1927)
  • tot_pay_all_adj → 0
    6.13_online_appendix_j_iv.do:143
    duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 143 replace tot_pay_`treat_type'_adj = 0 if missing(tot_pay_`treat_type'_adj) as we read it (macros filled in / loop expanded): replace tot_pay_all_adj = 0 if missing(tot_pay_all_adj)
  • tot_capp_all_adj → 0
    6.13_online_appendix_j_iv.do:144
    duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 144 replace tot_capp_`treat_type'_adj = 0 if missing(tot_capp_`treat_type'_adj) as we read it (macros filled in / loop expanded): replace tot_capp_all_adj = 0 if missing(tot_capp_all_adj)
filled with a value ×125
  • dctyfips → fips
    3_geocode_nc_deaths.do:57
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 57 replace dctyfips = fips if _merge == 3 & dctyfips == .
  • bcntry → country
    3_geocode_nc_deaths.do:294
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 294 replace bcntry = country if country != . & bcntry == .
  • bstate → state
    3_geocode_nc_deaths.do:346
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 346 replace bstate = state if state != . & (bstate == . | bstate == 99)
  • bstate → statefip
    3_geocode_nc_deaths.do:355
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 355 replace bstate = statefip if statefip != . & (bstate == . | bstate == 99)
  • bstate → state
    3_geocode_nc_deaths.do:387
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 387 replace bstate = state if state != . & (bstate == . | bstate == 99)
  • bstate → statefip
    3_geocode_nc_deaths.do:396
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 396 replace bstate = statefip if statefip != . & (bstate == . | bstate == 99)
interpolated / carried forward ×87
  • 1_process_raw_data.do:766
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 766 carryforward pagename, replace
  • 1_process_raw_data.do:767
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 767 carryforward state city pop county, replace
  • 1_process_raw_data.do:778
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 778 carryforward pagename, replace
  • 1_process_raw_data.do:779
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 779 carryforward state city pop county, replace
  • 6.13_online_appendix_j_iv.do:99
    duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 99 ipolate balance_adj year, gen(balance)
  • 6.13_online_appendix_j_iv.do:100
    duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 100 ipolate dist_to_hosp_adj year, gen(dist)
dropped ×78
  • 1_process_raw_data.do:589
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 589 keep if !missing(state)
  • 1_process_raw_data.do:637
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 637 drop if missing(imageno) & missing(hospital)
  • 1_process_raw_data.do:678
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 678 drop if missing(imageno) & missing(location)
  • 1_process_raw_data.do:768
    duke-replication/analysis/scripts/code/1_process_raw_data.do, line 768 drop if flag_page_id == 1 & missing(name)
  • 8_intext_stats.do:307
    duke-replication/analysis/scripts/code/8_intext_stats.do, line 307 keep if pay_all > 0 & !missing(pay_all)
  • 3_geocode_nc_deaths.do:308
    duke-replication/analysis/scripts/code/3_geocode_nc_deaths.do, line 308 keep if bcntry != . & bcntry != 99700
common sample across variables (listwise) ×47
  • 8_intext_stats.do:587
    duke-replication/analysis/scripts/code/8_intext_stats.do, line 587 unique fips if !missing(`mort'_bk) & `mort'_bk > births_`suffix'_bk & year >= `min_year' & year <= `max_year' as we read it (macros filled in / loop expanded): unique fips if !missing(mort_bk) & mort_bk > births_pub_bk & year >= 1922 & year <= 1942
  • 8_intext_stats.do:591
    duke-replication/analysis/scripts/code/8_intext_stats.do, line 591 unique fips if !missing(`mort'_wt) & `mort'_wt == 0 & year >= `min_year' & year <= `max_year' as we read it (macros filled in / loop expanded): unique fips if !missing(mort_wt) & mort_wt == 0 & year >= 1922 & year <= 1942
  • 8_intext_stats.do:592
    duke-replication/analysis/scripts/code/8_intext_stats.do, line 592 unique fips if !missing(`mort'_bk) & `mort'_bk == 0 & year >= `min_year' & year <= `max_year' as we read it (macros filled in / loop expanded): unique fips if !missing(mort_bk) & mort_bk == 0 & year >= 1922 & year <= 1942
  • 6.03_online_appendix_d_infant_mortality.do:493
    duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 493 levelsof(event_time_bacon) if !missing(`depvar'), matrow(event_time_names) as we read it (macros filled in / loop expanded): levelsof(event_time_bacon) if !missing(imr_pub), matrow(event_time_names)
  • 6.03_online_appendix_d_infant_mortality.do:523
    duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 523 levelsof(event_time_bacon) if !missing(`y_var') , local(event_time_names_with_ref)
  • 6.03_online_appendix_d_infant_mortality.do:554
    duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 554 levelsof(event_time_bacon) if event_time_bacon != `ref_event_time' & !missing(`depvar') , matrow(event_time_names_without_ref) as we read it (macros filled in / loop expanded): levelsof(event_time_bacon) if event_time_bacon != r(mean) & !missing(imr_pub) , matrow(event_time_names_without_ref)

5 · Key variables — what enters the models, and where the code builds it

VariableUsed in models asBuilt by
deaths outcome in 87
deaths = deaths_ (rename)
4_compile_data.do:1181
duke-replication/analysis/scripts/code/4_compile_data.do, line 1181 rename deaths_ deaths
deaths = deaths_ (rename)
4_compile_data.do:1481
duke-replication/analysis/scripts/code/4_compile_data.do, line 1481 rename deaths_ deaths
deaths = deaths_ (rename)
4_compile_data.do:1980
duke-replication/analysis/scripts/code/4_compile_data.do, line 1980 rename deaths_ deaths
imr_pub outcome in 21
imr_pub = (mort/births_pub)*1000 (gen)
4_compile_data.do:960
duke-replication/analysis/scripts/code/4_compile_data.do, line 960 gen imr_pub = (mort/births_pub)*1000
ln_imr_pub outcome in 16
ln_imr_pub = log(imr_pub) (gen)
4_compile_data.do:965
duke-replication/analysis/scripts/code/4_compile_data.do, line 965 gen ln_imr_pub = log(imr_pub)
imr_pub_bk outcome in 13
imr_pub_bk = (mort_bk/births_pub_bk)*1000 (gen)
4_compile_data.do:961
duke-replication/analysis/scripts/code/4_compile_data.do, line 961 gen imr_pub_bk = (mort_bk/births_pub_bk)*1000
tot_pay_all_adj outcome in 10, endogenous in 4, regressor in 8
tot_pay_all_adj = recode(tot_pay_all_adj) (mis = 0) (recode)
4_compile_data.do:828
duke-replication/analysis/scripts/code/4_compile_data.do, line 828 recode tot_pay_all_adj (mis = 0)
tot_pay_all_adj = 0 (replace)
5_tables.do:735
duke-replication/analysis/scripts/code/5_tables.do, line 735 replace tot_pay_all_adj = 0 if missing(tot_pay_all_adj)
tot_pay_all_adj = 0 (replace)
6.13_online_appendix_j_iv.do:143
duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 143 replace tot_pay_`treat_type'_adj = 0 if missing(tot_pay_`treat_type'_adj)
+1 more statements set it
lldr outcome in 12
lldr = (deaths/population)*100000 (gen)
4_compile_data.do:1254
duke-replication/analysis/scripts/code/4_compile_data.do, line 1254 gen lldr = (deaths/population)*100000
lldr = (deaths/population)*100000 (gen)
4_compile_data.do:1349
duke-replication/analysis/scripts/code/4_compile_data.do, line 1349 gen lldr = (deaths/population)*100000
lldr = (deaths/population)*100000 (gen)
4_compile_data.do:1549
duke-replication/analysis/scripts/code/4_compile_data.do, line 1549 gen lldr = (deaths/population)*100000
+5 more statements set it
i_likely_beds_aha outcome in 6 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace
i_likely_beds_aha_pc outcome in 6
i_likely_beds_aha_pc = (i_likely_beds_aha/births_pub)*1000 (gen)
4_compile_data.do:246
duke-replication/analysis/scripts/code/4_compile_data.do, line 246 gen i_likely_beds_aha_pc = (i_likely_beds_aha/births_pub)*1000
i_likely_beds_aha_pc = (i_likely_beds_aha/births_pub)*1000 (gen)
6.10_online_appendix_l_extended_panel.do:175
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 175 gen i_likely_beds_aha_pc = (i_likely_beds_aha/births_pub)*1000
i_prop_beds_aha outcome in 6 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace
i_prop_beds_aha_pc outcome in 6
i_prop_beds_aha_pc = (i_prop_beds_aha/births_pub)*1000 (gen)
4_compile_data.do:254
duke-replication/analysis/scripts/code/4_compile_data.do, line 254 gen i_prop_beds_aha_pc = (i_prop_beds_aha/births_pub)*1000
i_prop_beds_aha_pc = (i_prop_beds_aha/births_pub)*1000 (gen)
6.10_online_appendix_l_extended_panel.do:183
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 183 gen i_prop_beds_aha_pc = (i_prop_beds_aha/births_pub)*1000
i_tot_beds_aha outcome in 6 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace
i_tot_beds_aha_pc outcome in 6
i_tot_beds_aha_pc = (i_tot_beds_aha/births_pub)*1000 (gen)
4_compile_data.do:238
duke-replication/analysis/scripts/code/4_compile_data.do, line 238 gen i_tot_beds_aha_pc = (i_tot_beds_aha/births_pub)*1000
i_tot_beds_aha_pc = (i_tot_beds_aha/births_pub)*1000 (gen)
6.10_online_appendix_l_extended_panel.do:167
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 167 gen i_tot_beds_aha_pc = (i_tot_beds_aha/births_pub)*1000
imr_pub_ outcome in 6
imr_pub_ = (mort/births_pub)*1000 (gen)
6.10_online_appendix_l_extended_panel.do:838
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 838 gen imr_pub_ = (mort/births_pub)*1000
imr_pub_wt outcome in 6
imr_pub_wt = (mort_wt/births_pub_wt)*1000 (gen)
4_compile_data.do:962
duke-replication/analysis/scripts/code/4_compile_data.do, line 962 gen imr_pub_wt = (mort_wt/births_pub_wt)*1000
tot_hosp_likely outcome in 6 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace

6 · Models, by the table or figure they feed — 366 estimations, 309 traced into 26 exhibits

Table 1 · 36 estimations → table_1_county_level_hospitals.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
i_tot_beds_aha b0.treated fips, year cluster: fips
5_tables.do:56
duke-replication/analysis/scripts/code/5_tables.do, line 56 eststo c_c_1 :reghdfe `depvar' b0.treated, absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_1 :reghdfe i_tot_beds_aha b0.treated, absorb(fips year) vce(cluster fips)
written at 5_tables.do:254
reghdfe
panel fe
i_tot_beds_aha b0.treated fips, year cluster: fips
5_tables.do:60
duke-replication/analysis/scripts/code/5_tables.do, line 60 eststo c_c_2 :reghdfe `depvar' b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_2 :reghdfe i_tot_beds_aha b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips)
written at 5_tables.do:254
reghdfe
panel fe
i_tot_beds_aha b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:64
duke-replication/analysis/scripts/code/5_tables.do, line 64 eststo c_c_3 :reghdfe `depvar' b0.treated `baseline_controls' [aw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_3 :reghdfe i_tot_beds_aha b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [aw = births_pub], absorb(fips year) vce(cluster fips)
written at 5_tables.do:254
reghdfe
panel fe
i_tot_beds_aha_pc b0.treated fips, year cluster: fips
5_tables.do:70
duke-replication/analysis/scripts/code/5_tables.do, line 70 eststo c_r_1 :reghdfe `depvar'_pc b0.treated, absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_r_1 :reghdfe i_tot_beds_aha_pc b0.treated, absorb(fips year) vce(cluster fips)
written at 5_tables.do:254
reghdfe
panel fe
i_tot_beds_aha_pc b0.treated fips, year cluster: fips
5_tables.do:74
duke-replication/analysis/scripts/code/5_tables.do, line 74 eststo c_r_2 :reghdfe `depvar'_pc b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_r_2 :reghdfe i_tot_beds_aha_pc b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips)
written at 5_tables.do:254
first 5 of 36
Table 2 · 36 estimations → table_2_county_level_doctors_2yr_as_quality.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
md b0.treated fips, amd_wave cluster: fips
5_tables.do:323
duke-replication/analysis/scripts/code/5_tables.do, line 323 eststo c_c_1 :reghdfe `depvar' b0.treated, absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_1 :reghdfe md b0.treated, absorb(fips amd_wave) vce(cluster fips)
written at 5_tables.do:516
reghdfe
panel fe
md b0.treated fips, amd_wave cluster: fips
5_tables.do:327
duke-replication/analysis/scripts/code/5_tables.do, line 327 eststo c_c_2 :reghdfe `depvar' b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_2 :reghdfe md b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips)
written at 5_tables.do:516
reghdfe
panel fe
md b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, amd_wave cluster: fips
5_tables.do:331
duke-replication/analysis/scripts/code/5_tables.do, line 331 eststo c_c_3 :reghdfe `depvar' b0.treated `baseline_controls' [aw = births_pub], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_3 :reghdfe md b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [aw = births_pub], absorb(fips amd_wave) vce(cluster fips)
written at 5_tables.do:516
reghdfe
panel fe
rmd b0.treated fips, amd_wave cluster: fips
5_tables.do:337
duke-replication/analysis/scripts/code/5_tables.do, line 337 eststo c_r_1 :reghdfe r`depvar' b0.treated, absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_r_1 :reghdfe rmd b0.treated, absorb(fips amd_wave) vce(cluster fips)
written at 5_tables.do:516
reghdfe
panel fe
rmd b0.treated fips, amd_wave cluster: fips
5_tables.do:341
duke-replication/analysis/scripts/code/5_tables.do, line 341 eststo c_r_2 :reghdfe r`depvar' b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_r_2 :reghdfe rmd b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips)
written at 5_tables.do:516
first 5 of 36
Table 4 · 12 estimations → table_4_infant_mortality_poisson_intensive.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
imr_pub tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:742
duke-replication/analysis/scripts/code/5_tables.do, line 742 eststo pl_c1: ppmlhdfe imr_pub tot_capp_all_adj `baseline_controls' [pw = births_pub], /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c1: ppmlhdfe imr_pub tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year ) vce(cluster fips)
written at 5_tables.do:766
ppmlhdfe
count
imr_pub tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:747
duke-replication/analysis/scripts/code/5_tables.do, line 747 eststo pl_c2: ppmlhdfe imr_pub tot_pay_all_adj `baseline_controls' [pw = births_pub], /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c2: ppmlhdfe imr_pub tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year ) vce(cluster fips)
written at 5_tables.do:766
reghdfe
panel fe
tot_pay_all_adj tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:752
duke-replication/analysis/scripts/code/5_tables.do, line 752 eststo pl_c3: reghdfe tot_pay_all_adj tot_capp_all_adj `baseline_controls' [pw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c3: reghdfe tot_pay_all_adj tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year) vce(cluster fips)
written at 5_tables.do:766
ppmlhdfe
count
imr_pub_ tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:811
duke-replication/analysis/scripts/code/5_tables.do, line 811 eststo bk_c1: ppmlhdfe imr_pub_ tot_capp_all_adj `baseline_controls' [pw = births_pub_] if race == 2, /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo bk_c1: ppmlhdfe imr_pub_ tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub_] if race == 2, absorb(fips year ) vce(cluster fips)
written at 5_tables.do:825
ppmlhdfe
count
imr_pub_ tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:816
duke-replication/analysis/scripts/code/5_tables.do, line 816 eststo bk_c2: ppmlhdfe imr_pub_ tot_pay_all_adj `baseline_controls' [pw = births_pub_] if race == 2, /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo bk_c2: ppmlhdfe imr_pub_ tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub_] if race == 2, absorb(fips year ) vce(cluster fips)
written at 5_tables.do:825
first 5 of 12
Table 5 · 3 estimations → table_5_continuous_sulfa_interaction.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
imr_pub treated_post_shift_share treated treated_post_sulfa treated_shift_share post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:940
duke-replication/analysis/scripts/code/5_tables.do, line 940 ppmlhdfe imr_pub /// treated_post_shift_share /// treated /// treated_post_sulfa treated_shift_share post_sulfa_shift_share /// `baseline_controls' [pw = births_pub], /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub treated_post_shift_share treated treated_post_sulfa treated_shift_share post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips …
written at 5_tables.do:1066
ppmlhdfe
count
imr_pub_bk treated_post_shift_share treated treated_post_sulfa treated_shift_share post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:985
duke-replication/analysis/scripts/code/5_tables.do, line 985 ppmlhdfe imr_pub_bk /// treated_post_shift_share /// treated /// treated_post_sulfa treated_shift_share post_sulfa_shift_share /// `baseline_controls' if ever_zero_births == 0 [pw = births_pub_bk], /// absorb(fips year … as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub_bk treated_post_shift_share treated treated_post_sulfa treated_shift_share post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence if ever_zero_births == 0 [p …
written at 5_tables.do:1066
ppmlhdfe
count
imr_pub_wt treated_post_shift_share treated treated_post_sulfa treated_shift_share post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
5_tables.do:1025
duke-replication/analysis/scripts/code/5_tables.do, line 1025 ppmlhdfe imr_pub_wt /// treated_post_shift_share /// treated /// treated_post_sulfa treated_shift_share post_sulfa_shift_share /// `baseline_controls' [pw = births_pub_wt], /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub_wt treated_post_shift_share treated treated_post_sulfa treated_shift_share post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub_wt], absor …
written at 5_tables.do:1066
Table 6 · 12 estimations → table_6_long_run_mortality_poisson.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
5_tables.do:1118
duke-replication/analysis/scripts/code/5_tables.do, line 1118 eststo p1_c1: ppmlhdfe deaths b0.treated, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1: ppmlhdfe deaths b0.treated, absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 5_tables.do:1194
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
5_tables.do:1122
duke-replication/analysis/scripts/code/5_tables.do, line 1122 eststo p1_c2: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 5_tables.do:1194
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year, i.age##c.percent_illit, i.age##c.percent_black, i.age##c.percent_other_race, i.age##c.percent_urban, i.age##c.retail_sales_per_capita, i.age##i.chd_presence" cluster: fips
5_tables.do:1126
duke-replication/analysis/scripts/code/5_tables.do, line 1126 eststo p1_c3: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("`fixed_effects' `int_baseline_controls'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("i.age##i.fips i.age##i.year i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_p …
written at 5_tables.do:1194
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
5_tables.do:1141
duke-replication/analysis/scripts/code/5_tables.do, line 1141 eststo p2_c1: ppmlhdfe deaths b0.treated if ever_zero_births == 0 & race == 2, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c1: ppmlhdfe deaths b0.treated if ever_zero_births == 0 & race == 2, absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 5_tables.do:1203
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
5_tables.do:1145
duke-replication/analysis/scripts/code/5_tables.do, line 1145 eststo p2_c2: ppmlhdfe deaths b0.treated [pw = births_pub] if ever_zero_births == 0 & race == 2, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c2: ppmlhdfe deaths b0.treated [pw = births_pub] if ever_zero_births == 0 & race == 2, absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 5_tables.do:1203
first 5 of 12
Table B1 · 2 estimations → table_b1_county_level_hospitals_robustness.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
`depvar'_pc 1.treated fips, year cluster: fips
6.01_online_appendix_b_hospitals.do:119
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 119 eststo p1_c1`suffix': reghdfe `depvar_new' 1.treated [aw = `weightvar'], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1`suffix': reghdfe `depvar'_pc 1.treated [aw = births_pub], absorb(fips year) vce(cluster fips)
written at 6.01_online_appendix_b_hospitals.do:174
reghdfe
panel fe
`depvar'_pc 1.treated fips##stackID, year##stackID cluster: fips
6.01_online_appendix_b_hospitals.do:159
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 159 eststo p1_c2`suffix': reghdfe `depvar_new' 1.treated [aw = `weightvar'], absorb(fips##stackID year##stackID) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2`suffix': reghdfe `depvar'_pc 1.treated [aw = births_pub], absorb(fips##stackID year##stackID) vce(cluster fips)
written at 6.01_online_appendix_b_hospitals.do:174
Table C1 · 2 estimations → table_c1_county_level_doctors_robustness.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
r`depvar' 1.treated fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:178
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 178 eststo p1_c1`suffix'`suffix3': reghdfe `depvar_new' 1.treated [aw = `weightvar'], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1`suffix'bad: reghdfe r`depvar' 1.treated [aw = births_pub_bk], absorb(fips amd_wave) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:236
reghdfe
panel fe
r`depvar' 1.treated fips##stackID, amd_wave##stackID cluster: fips
6.02_online_appendix_c_doctors.do:221
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 221 eststo p1_c2`suffix'`suffix3': reghdfe `depvar_new' 1.treated [aw = `weightvar'], absorb(fips##stackID amd_wave##stackID) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2`suffix'bad: reghdfe r`depvar' 1.treated [aw = births_pub_bk], absorb(fips##stackID amd_wave##stackID) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:236
Table C3 · 1 estimation → table_c3_county_level_doctors_alt_qual_low.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
r`depvar' 1.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:394
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 394 eststo p_`race'_`suffix'_`qual'_`suffix3': reghdfe `depvar_new' 1.treated `baseline_controls' [aw = `weightvar'], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p_`race'_`suffix'_`qual'_bad: reghdfe r`depvar' 1.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [aw = births_pub_bk], absorb(fips amd_wave) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:492
Table C4 · 6 estimations → table_c4_county_level_doctors_other_metrics.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
sum_`depvar' b0.treated fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:649
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 649 eststo p`i'_c1 :reghdfe `stat'_`depvar' b0.treated, absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1 :reghdfe sum_`depvar' b0.treated, absorb(fips amd_wave) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:684
reghdfe
panel fe
sum_`depvar' b0.treated fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:653
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 653 eststo p`i'_c2 :reghdfe `stat'_`depvar' b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2 :reghdfe sum_`depvar' b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:684
reghdfe
panel fe
sum_`depvar' b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:657
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 657 eststo p`i'_c3 :reghdfe `stat'_`depvar' b0.treated `baseline_controls' [aw = births_pub], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3 :reghdfe sum_`depvar' b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [aw = births_pub], absorb(fips amd_wave) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:684
reghdfe
panel fe
sum_`depvar'_pc b0.treated fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:661
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 661 eststo p`i'_c4 :reghdfe `stat'_`depvar'_pc b0.treated, absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c4 :reghdfe sum_`depvar'_pc b0.treated, absorb(fips amd_wave) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:684
reghdfe
panel fe
sum_`depvar'_pc b0.treated fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:665
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 665 eststo p`i'_c5 :reghdfe `stat'_`depvar'_pc b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c5 :reghdfe sum_`depvar'_pc b0.treated [aw = births_pub], absorb(fips amd_wave) vce(cluster fips)
written at 6.02_online_appendix_c_doctors.do:684
first 5 of 6
Table D1 · 3 estimations → table_d1_infant_mortality_robustness.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
imr_pub_bk 1.treated fips, year cluster: fips
6.03_online_appendix_d_infant_mortality.do:128
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 128 eststo p1_c1`suffix': ppmlhdfe `depvar' 1.treated [pw = `weightvar'], absorb(fips year) cluster(fips) sep(fe) as we read it (macros filled in / loop expanded): eststo p1_c1`suffix': ppmlhdfe imr_pub_bk 1.treated [pw = births_pub_bk], absorb(fips year) cluster(fips) sep(fe)
written at 6.03_online_appendix_d_infant_mortality.do:213
reghdfe
panel fe
imr_pub_bk 1.treated fips, year cluster: fips
6.03_online_appendix_d_infant_mortality.do:152
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 152 eststo p1_c4`suffix': reghdfe `depvar' 1.treated [aw = `weightvar'], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c4`suffix': reghdfe imr_pub_bk 1.treated [aw = births_pub_bk], absorb(fips year) vce(cluster fips)
written at 6.03_online_appendix_d_infant_mortality.do:213
ppmlhdfe
count
imr_pub_bk 1.treated fips##stackID, year##stackID cluster: fips
6.03_online_appendix_d_infant_mortality.do:188
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 188 eststo p1_c2`suffix': ppmlhdfe `depvar' 1.treated [pw = `weightvar'], absorb(fips##stackID year##stackID) cluster(fips) sep(fe) as we read it (macros filled in / loop expanded): eststo p1_c2`suffix': ppmlhdfe imr_pub_bk 1.treated [pw = births_pub_bk], absorb(fips##stackID year##stackID) cluster(fips) sep(fe)
written at 6.03_online_appendix_d_infant_mortality.do:213
Table D2 · 2 estimations → table_d2_infant_mortality_log_specs.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
ln_imr_pub_bk 1.treated fips, year cluster: fips
6.03_online_appendix_d_infant_mortality.do:325
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 325 eststo p1_c1: reghdfe `depvar' 1.treated [aw = `weightvar'], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1: reghdfe ln_imr_pub_bk 1.treated [aw = births_pub_bk], absorb(fips year) vce(cluster fips)
written at 6.03_online_appendix_d_infant_mortality.do:391
reghdfe
panel fe
ln_imr_pub_bk 1.treated fips##stackID, year##stackID cluster: fips
6.03_online_appendix_d_infant_mortality.do:374
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 374 eststo p1_c2: reghdfe `depvar' 1.treated [aw = `weightvar'], absorb(fips##stackID year##stackID) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2: reghdfe ln_imr_pub_bk 1.treated [aw = births_pub_bk], absorb(fips##stackID year##stackID) vce(cluster fips)
written at 6.03_online_appendix_d_infant_mortality.do:391
Table F1 · 24 estimations → table_F1_later_life_mortality_with_rates.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:54
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 54 eststo p1_c1: ppmlhdfe deaths b0.treated, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1: ppmlhdfe deaths b0.treated, absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:190
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:58
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 58 eststo p1_c2: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:190
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year, i.age##c.percent_illit, i.age##c.percent_black, i.age##c.percent_other_race, i.age##c.percent_urban, i.age##c.retail_sales_per_capita, i.age##i.chd_presence" cluster: fips
6.07_online_appendix_f_long_run.do:62
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 62 eststo p1_c3: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("`fixed_effects' `int_baseline_controls'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("i.age##i.fips i.age##i.year i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_p …
written at 6.07_online_appendix_f_long_run.do:190
ppmlhdfe
count
lldr b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:67
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 67 eststo p1_c4: ppmlhdfe lldr b0.treated, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c4: ppmlhdfe lldr b0.treated, absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:190
ppmlhdfe
count
lldr b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:71
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 71 eststo p1_c5: ppmlhdfe lldr b0.treated [pw = births_pub], absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c5: ppmlhdfe lldr b0.treated [pw = births_pub], absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:190
first 5 of 24
Table F2 · 12 estimations → table_F2_later_life_mortality_collapsed.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
deaths b0.treated "i.fips, i.year" cluster: fips
6.07_online_appendix_f_long_run.do:301
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 301 eststo p1_c1: ppmlhdfe deaths b0.treated, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1: ppmlhdfe deaths b0.treated, absorb("i.fips i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:411
ppmlhdfe
count
deaths b0.treated "i.fips, i.year" cluster: fips
6.07_online_appendix_f_long_run.do:305
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 305 eststo p1_c2: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2: ppmlhdfe deaths b0.treated [pw = births_pub], absorb("i.fips i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:411
ppmlhdfe
count
deaths b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita i.chd_presence "i.fips, i.year, " cluster: fips
6.07_online_appendix_f_long_run.do:309
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 309 eststo p1_c3: ppmlhdfe deaths b0.treated `baseline_controls' [pw = births_pub], absorb("`fixed_effects' ") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe deaths b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita i.chd_presence [pw = births_pub], absorb("i.fips i.year ") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:411
ppmlhdfe
count
deaths b0.treated "i.fips, i.year" cluster: fips
6.07_online_appendix_f_long_run.do:359
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 359 eststo p2_c1: ppmlhdfe deaths b0.treated if ever_zero_births == 0 & race == 2, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c1: ppmlhdfe deaths b0.treated if ever_zero_births == 0 & race == 2, absorb("i.fips i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:420
ppmlhdfe
count
deaths b0.treated "i.fips, i.year" cluster: fips
6.07_online_appendix_f_long_run.do:363
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 363 eststo p2_c2: ppmlhdfe deaths b0.treated [pw = births_pub] if ever_zero_births == 0 & race == 2, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c2: ppmlhdfe deaths b0.treated [pw = births_pub] if ever_zero_births == 0 & race == 2, absorb("i.fips i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:420
first 5 of 12
Table F3 · 12 estimations → table_F3_combined_mortality_clean_controls.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:496
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 496 eststo p1_c1: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0, abs …
written at 6.07_online_appendix_f_long_run.do:599
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:500
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 500 eststo p1_c2: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & drop == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & dr …
written at 6.07_online_appendix_f_long_run.do:599
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:504
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 504 eststo p1_c3: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & drop_inculde_no_np == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & dr …
written at 6.07_online_appendix_f_long_run.do:599
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:537
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 537 eststo p2_c1: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & race == 2 , absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c1: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & ra …
written at 6.07_online_appendix_f_long_run.do:608
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:541
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 541 eststo p2_c2: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & race == 2 & drop == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c2: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & ra …
written at 6.07_online_appendix_f_long_run.do:608
first 5 of 12
Table F4 · 24 estimations → table_F4_later_life_mortality_add_south_carolina.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:695
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 695 eststo p1_ca1: ppmlhdfe deaths b0.treated if ever_zero_pop == 0 & treated_state == 1, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_ca1: ppmlhdfe deaths b0.treated if ever_zero_pop == 0 & treated_state == 1, absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:831
ppmlhdfe
count
deaths b0.treated "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:698
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 698 eststo p1_ca2: ppmlhdfe deaths b0.treated [pw = population] if ever_zero_pop == 0 & treated_state == 1, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_ca2: ppmlhdfe deaths b0.treated [pw = population] if ever_zero_pop == 0 & treated_state == 1, absorb("i.age##i.fips i.age##i.year") vce(cluster fips)
written at 6.07_online_appendix_f_long_run.do:831
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:701
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 701 eststo p1_ca3: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = population] if ever_zero_pop == 0 & treated_state == 1, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_ca3: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = population] if ever_zero_pop == 0 & trea …
written at 6.07_online_appendix_f_long_run.do:831
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:705
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 705 eststo p1_c1: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = population] if ever_zero_pop == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = population] if ever_zero_pop == 0, absorb …
written at 6.07_online_appendix_f_long_run.do:831
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.07_online_appendix_f_long_run.do:709
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 709 eststo p1_c2: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = population] if ever_zero_pop == 0 & drop == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = population] if ever_zero_pop == 0 & drop …
written at 6.07_online_appendix_f_long_run.do:831
first 5 of 24
Table G1 · 1 estimation → table_g1_covariance_balance_test.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
`y' b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:182
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 182 ppmlhdfe `y' b0.treated [pw = births_pub], /// absorb(fips year ) vce(cluster fips)
run 5× in a loop (y=percent_illit; y=percent_black; y=percent_urban…)
written at 6.05_online_appendix_g_other_results.do:264
Table G2 · 12 estimations → table_g2_maternal_mortality_diff_specs.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
maternal_deaths b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:302
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 302 eststo p1_c1: ppmlhdfe maternal_deaths b0.treated, absorb(fips year) vce(cluster fips) sep(fe)
written at 6.05_online_appendix_g_other_results.do:361
ppmlhdfe
count
maternal_deaths b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:306
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 306 eststo p1_c2: ppmlhdfe maternal_deaths b0.treated [pw = births_pub], absorb(fips year) vce(cluster fips) sep(fe)
written at 6.05_online_appendix_g_other_results.do:361
ppmlhdfe
count
maternal_deaths b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.05_online_appendix_g_other_results.do:310
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 310 eststo p1_c3: ppmlhdfe maternal_deaths b0.treated `baseline_controls' [pw = births_pub], absorb(fips year) vce(cluster fips) sep(fe) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe maternal_deaths b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year) vce(cluster fips) sep(fe)
written at 6.05_online_appendix_g_other_results.do:361
ppmlhdfe
count
mmr b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:315
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 315 eststo p1_c1a: ppmlhdfe mmr b0.treated, absorb(fips year) vce(cluster fips) sep(fe)
written at 6.05_online_appendix_g_other_results.do:361
ppmlhdfe
count
mmr b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:319
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 319 eststo p1_c2a: ppmlhdfe mmr b0.treated [pw = births_pub], absorb(fips year) vce(cluster fips) sep(fe)
written at 6.05_online_appendix_g_other_results.do:361
first 5 of 12
Table G3 · 23 estimations → table_g3_short_run_fertility_diff_specs.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
births_pub b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:414
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 414 eststo p1_c1: ppmlhdfe births_pub b0.treated, absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:592
ppmlhdfe
count
births_pub b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:418
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 418 eststo p1_c2: ppmlhdfe births_pub b0.treated [pw = pop_fem], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:592
ppmlhdfe
count
births_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.05_online_appendix_g_other_results.do:422
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 422 eststo p1_c3: ppmlhdfe births_pub b0.treated `baseline_controls' [pw = pop_fem], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe births_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = pop_fem], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:592
ppmlhdfe
count
tfr b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:427
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 427 eststo p1_c1a: ppmlhdfe tfr b0.treated, absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:592
ppmlhdfe
count
tfr b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:431
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 431 eststo p1_c2a: ppmlhdfe tfr b0.treated [pw = pop_fem], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:592
first 5 of 23
Table G4 · 12 estimations → table_g4_infant_mortality_poisson_by_timing.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
births_pub b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:414
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 414 eststo p1_c1: ppmlhdfe births_pub b0.treated, absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:710
ppmlhdfe
count
births_pub b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:418
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 418 eststo p1_c2: ppmlhdfe births_pub b0.treated [pw = pop_fem], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:710
ppmlhdfe
count
births_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.05_online_appendix_g_other_results.do:422
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 422 eststo p1_c3: ppmlhdfe births_pub b0.treated `baseline_controls' [pw = pop_fem], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe births_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = pop_fem], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:710
ppmlhdfe
count
births_pub_bk b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:442
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 442 eststo p2_c1: ppmlhdfe births_pub_bk b0.treated if ever_zero_pop_fem == 0, absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:718
ppmlhdfe
count
births_pub_bk b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:446
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 446 eststo p2_c2: ppmlhdfe births_pub_bk b0.treated if ever_zero_pop_fem == 0 [pw = pop_fem_bk], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:718
first 5 of 12
Table G5 · 12 estimations → table_g5_stillborn_unnamed_infants.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
births_pub b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:414
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 414 eststo p1_c1: ppmlhdfe births_pub b0.treated, absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1031
ppmlhdfe
count
births_pub b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:418
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 418 eststo p1_c2: ppmlhdfe births_pub b0.treated [pw = pop_fem], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1031
ppmlhdfe
count
births_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.05_online_appendix_g_other_results.do:422
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 422 eststo p1_c3: ppmlhdfe births_pub b0.treated `baseline_controls' [pw = pop_fem], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe births_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = pop_fem], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1031
ppmlhdfe
count
births_pub_bk b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:442
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 442 eststo p2_c1: ppmlhdfe births_pub_bk b0.treated if ever_zero_pop_fem == 0, absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1039
ppmlhdfe
count
births_pub_bk b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:446
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 446 eststo p2_c2: ppmlhdfe births_pub_bk b0.treated if ever_zero_pop_fem == 0 [pw = pop_fem_bk], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1039
first 5 of 12
Table G6 · 9 estimations → table_g6_sulfa_dd_poisson.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
imr_pub post_sulfa_shift_share fips, year cluster: fips
6.05_online_appendix_g_other_results.do:1109
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 1109 ppmlhdfe imr_pub /// post_sulfa_shift_share, /// absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1142
ppmlhdfe
count
imr_pub post_sulfa_shift_share fips, year cluster: fips
6.05_online_appendix_g_other_results.do:1118
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 1118 ppmlhdfe imr_pub /// post_sulfa_shift_share /// [pw = births_pub], /// absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1142
ppmlhdfe
count
imr_pub post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.05_online_appendix_g_other_results.do:1128
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 1128 ppmlhdfe imr_pub /// post_sulfa_shift_share /// `baseline_controls' [pw = births_pub], /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub post_sulfa_shift_share percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1142
ppmlhdfe
count
imr_pub_bk post_sulfa_shift_share fips, year cluster: fips
6.05_online_appendix_g_other_results.do:1156
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 1156 ppmlhdfe imr_pub_bk /// post_sulfa_shift_share /// if ever_zero_births == 0, /// absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1189
ppmlhdfe
count
imr_pub_bk post_sulfa_shift_share fips, year cluster: fips
6.05_online_appendix_g_other_results.do:1166
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 1166 ppmlhdfe imr_pub_bk /// post_sulfa_shift_share /// if ever_zero_births == 0 /// [pw = births_pub_bk], /// absorb(fips year) vce(cluster fips)
written at 6.05_online_appendix_g_other_results.do:1189
first 5 of 9
Table J1 · 22 estimations → table_j1_iv_pooled_imr_intensive.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reg
ols
tot_pay_all_adj births_pub — default
6.13_online_appendix_j_iv.do:298
duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 298 eststo blank: reg tot_pay_`treat_type'_adj births_pub as we read it (macros filled in / loop expanded): eststo blank: reg tot_pay_all_adj births_pub
written at 6.13_online_appendix_j_iv.do:464
ppmlhdfe
count
imr_pub tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.13_online_appendix_j_iv.do:307
duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 307 eststo pl_c2: ppmlhdfe imr_pub tot_capp_`treat_type'_adj `baseline_controls' [pw = births_pub], /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c2: ppmlhdfe imr_pub tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year ) vce(cluster fips)
written at 6.13_online_appendix_j_iv.do:464
ppmlhdfe
count
imr_pub tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.13_online_appendix_j_iv.do:312
duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 312 eststo pl_c3: ppmlhdfe imr_pub tot_pay_`treat_type'_adj `baseline_controls' [pw = births_pub], /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c3: ppmlhdfe imr_pub tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year ) vce(cluster fips)
written at 6.13_online_appendix_j_iv.do:464
reghdfe
panel fe
ln_imr_pub tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.13_online_appendix_j_iv.do:318
duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 318 eststo pl_c4: reghdfe ln_imr_pub tot_capp_`treat_type'_adj `baseline_controls' [aw = births_pub], /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c4: reghdfe ln_imr_pub tot_capp_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [aw = births_pub], absorb(fips year ) vce(cluster fips)
written at 6.13_online_appendix_j_iv.do:464
reghdfe
panel fe
ln_imr_pub tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.13_online_appendix_j_iv.do:323
duke-replication/analysis/scripts/code/6.13_online_appendix_j_iv.do, line 323 eststo pl_c5: reghdfe ln_imr_pub tot_pay_`treat_type'_adj `baseline_controls' [aw = births_pub], /// absorb(fips year ) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c5: reghdfe ln_imr_pub tot_pay_all_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [aw = births_pub], absorb(fips year ) vce(cluster fips)
written at 6.13_online_appendix_j_iv.do:464
first 5 of 22
Table L1 · 36 estimations → table_l1_county_level_hospitals_1922_1950.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
i_tot_beds_aha b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:224
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 224 eststo c_c_1 :reghdfe `depvar' b0.treated, absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_1 :reghdfe i_tot_beds_aha b0.treated, absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:423
reghdfe
panel fe
i_tot_beds_aha b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:228
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 228 eststo c_c_2 :reghdfe `depvar' b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_2 :reghdfe i_tot_beds_aha b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:423
reghdfe
panel fe
i_tot_beds_aha b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:232
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 232 eststo c_c_3 :reghdfe `depvar' b0.treated `baseline_controls' [aw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_c_3 :reghdfe i_tot_beds_aha b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [aw = births_pub], absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:423
reghdfe
panel fe
i_tot_beds_aha_pc b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:238
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 238 eststo c_r_1 :reghdfe `depvar'_pc b0.treated, absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_r_1 :reghdfe i_tot_beds_aha_pc b0.treated, absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:423
reghdfe
panel fe
i_tot_beds_aha_pc b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:242
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 242 eststo c_r_2 :reghdfe `depvar'_pc b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo c_r_2 :reghdfe i_tot_beds_aha_pc b0.treated [aw = births_pub], absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:423
first 5 of 36
Table L2 · 6 estimations → table_l2_combined_mortality_poisson_clean_controls_1962.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
imr_pub b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:1129
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 1129 eststo fish_1: ppmlhdfe imr_pub b0.treated [pw = births_pub], absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:1206
ppmlhdfe
count
imr_pub b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:1134
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 1134 eststo fish_2: ppmlhdfe imr_pub b0.treated [pw = births_pub] if drop == 0, absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:1206
ppmlhdfe
count
imr_combined b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:1172
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 1172 eststo bail_3: ppmlhdfe imr_combined b0.treated [pw = births_combined] if year <= 1940 & year >= 1922, absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:1206
ppmlhdfe
count
imr_combined b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:1178
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 1178 eststo bail_4: ppmlhdfe imr_combined b0.treated [pw = births_combined] if drop == 0 & year <= 1940 & year >= 1922, absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:1206
ppmlhdfe
count
imr_combined b0.treated fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:1185
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 1185 eststo bail_5: ppmlhdfe imr_combined b0.treated [pw = births_combined] if year <= 1962 & year >= 1922, absorb(fips year) vce(cluster fips)
written at 6.10_online_appendix_l_extended_panel.do:1206
first 5 of 6
Table M1 · 1 estimation → table_m1_imr_poisson_clean_cntrls_psm.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
logit
binary
ever_treated pct_not_in_1930_u_1_b pct_not_in_1930_1_5_b pct_not_in_1930_u_1_w pct_not_in_1930_1_5_w prop_beds non_prop_beds any_non_profit has_beds chd_presence percent_illit percent_black percent_other_race +3 more — default
6.11_online_appendix_m_psm.do:223
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 223 logit ever_treated /// `psm_controls' [pw = n_1920_u_1] if statefip == 37 as we read it (macros filled in / loop expanded): logit ever_treated pct_not_in_1930_u_1_b pct_not_in_1930_1_5_b pct_not_in_1930_u_1_w pct_not_in_1930_1_5_w prop_beds non_prop_beds any_non_profit has_beds chd_presence percent_illit percent_black percent_other_race percent_urban retail_sale …
written at 6.11_online_appendix_m_psm.do:443
Table M4 · 12 estimations → table_m4_combined_mortality_poisson_clean_controls_psm_`top_trim'.tex
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.11_online_appendix_m_psm.do:829
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 829 eststo p1_c1: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c1: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0, abs …
written at 6.11_online_appendix_m_psm.do:945
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.11_online_appendix_m_psm.do:833
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 833 eststo p1_c2: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & drop == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c2: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & dr …
written at 6.11_online_appendix_m_psm.do:945
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.11_online_appendix_m_psm.do:837
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 837 eststo p1_c3: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & drop_inculde_no_np == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p1_c3: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & dr …
written at 6.11_online_appendix_m_psm.do:945
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.11_online_appendix_m_psm.do:872
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 872 eststo p2_c1: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & race == 2 , absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c1: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & ra …
written at 6.11_online_appendix_m_psm.do:954
ppmlhdfe
count
deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence "i.age##i.fips, i.age##i.year" cluster: fips
6.11_online_appendix_m_psm.do:876
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 876 eststo p2_c2: ppmlhdfe deaths b0.treated `int_baseline_controls' [pw = births_pub] if ever_zero_births == 0 & race == 2 & drop == 0, absorb("`fixed_effects'") vce(cluster fips) as we read it (macros filled in / loop expanded): eststo p2_c2: ppmlhdfe deaths b0.treated i.age##c.percent_illit i.age##c.percent_black i.age##c.percent_other_race i.age##c.percent_urban i.age##c.retail_sales_per_capita i.age##i.chd_presence [pw = births_pub] if ever_zero_births == 0 & ra …
written at 6.11_online_appendix_m_psm.do:954
first 5 of 12
Estimations not traced to a table or figure · 57
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
`depvar' _T* fips, year cluster: fips
5_figures.do:447
duke-replication/analysis/scripts/code/5_figures.do, line 447 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub] , absorb(fips year) vce(cluster fips)
run 3× in a loop (depvar=i_tot_beds_aha_pc; depvar=i_likely_beds_aha_pc; depvar=i_prop_beds_aha_pc)
csdid
did
`depvar' — default
5_figures.do:522
duke-replication/analysis/scripts/code/5_figures.do, line 522 csdid `depvar' [iw = `weightvar'], ivar(fips) time(year) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid `depvar' [iw = births_pub], ivar(fips) time(year) gvar(time_treated_2) agg(event)
run 3× in a loop (depvar=i_tot_beds_aha_pc; depvar=i_likely_beds_aha_pc; depvar=i_prop_beds_aha_pc)
reghdfe
panel fe
`depvar' _T* fips##stackID, year##stackID cluster: fips
5_figures.do:625
duke-replication/analysis/scripts/code/5_figures.do, line 625 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips##stackID year##stackID) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub] , absorb(fips##stackID year##stackID) vce(cluster fips)
run 3× in a loop (depvar=i_tot_beds_aha_pc; depvar=i_likely_beds_aha_pc; depvar=i_prop_beds_aha_pc)
reghdfe
panel fe
`depvar' _T* fips, amd_wave cluster: fips
5_figures.do:1058
duke-replication/analysis/scripts/code/5_figures.do, line 1058 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub] , absorb(fips amd_wave) vce(cluster fips)
run 3× in a loop (depvar=rmd; depvar=rmd_good_2yr; depvar=rmd_bad_2yr)
csdid
did
`depvar' — default
5_figures.do:1135
duke-replication/analysis/scripts/code/5_figures.do, line 1135 csdid `depvar' [iw = `weightvar'], ivar(fips) time(amd_wave) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid `depvar' [iw = births_pub], ivar(fips) time(amd_wave) gvar(time_treated_2) agg(event)
run 3× in a loop (depvar=rmd; depvar=rmd_good_2yr; depvar=rmd_bad_2yr)
reghdfe
panel fe
`depvar' _T* fips##stackID, amd_wave##stackID cluster: fips
5_figures.do:1242
duke-replication/analysis/scripts/code/5_figures.do, line 1242 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips##stackID amd_wave##stackID) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub] , absorb(fips##stackID amd_wave##stackID) vce(cluster fips)
run 3× in a loop (depvar=rmd; depvar=rmd_good_2yr; depvar=rmd_bad_2yr)
ppmlhdfe
count
`depvar' _T* fips, year cluster: fips
5_figures.do:1713
duke-replication/analysis/scripts/code/5_figures.do, line 1713 ppmlhdfe `depvar' /// _T* /// [pw = `weightvar'] /// , absorb(fips year) cluster(fips) sep(fe) as we read it (macros filled in / loop expanded): ppmlhdfe `depvar' _T* [pw = births_pub_bk] , absorb(fips year) cluster(fips) sep(fe)
csdid
did
ln_`depvar' — default
5_figures.do:1811
duke-replication/analysis/scripts/code/5_figures.do, line 1811 csdid ln_`depvar' [iw = `weightvar'], ivar(fips) time(year) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid ln_`depvar' [iw = births_pub_bk], ivar(fips) time(year) gvar(time_treated_2) agg(event)
ppmlhdfe
count
`depvar' _T* fips##stackID, year##stackID cluster: fips
5_figures.do:1917
duke-replication/analysis/scripts/code/5_figures.do, line 1917 ppmlhdfe `depvar' /// _T* /// [pw = `weightvar'] /// , absorb(fips##stackID year##stackID) cluster(fips) sep(fe) as we read it (macros filled in / loop expanded): ppmlhdfe `depvar' _T* [pw = births_pub_bk] , absorb(fips##stackID year##stackID) cluster(fips) sep(fe)
csdid
did
`depvar'_pc — default
6.01_online_appendix_b_hospitals.do:134
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 134 csdid `depvar_new' [iw = `weightvar'], ivar(fips) time(year) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid `depvar'_pc [iw = births_pub], ivar(fips) time(year) gvar(time_treated_2) agg(event)
reghdfe
panel fe
`depvar' _T* fips, year cluster: fips
6.01_online_appendix_b_hospitals.do:379
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 379 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub] , absorb(fips year) vce(cluster fips)
run 3× in a loop (depvar=tot_hospitals_pc; depvar=tot_hosp_likely_pc; depvar=tot_hosp_prop_pc)
csdid
did
`depvar' — default
6.01_online_appendix_b_hospitals.do:454
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 454 csdid `depvar' [iw = `weightvar'], ivar(fips) time(year) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid `depvar' [iw = births_pub], ivar(fips) time(year) gvar(time_treated_2) agg(event)
run 3× in a loop (depvar=tot_hospitals_pc; depvar=tot_hosp_likely_pc; depvar=tot_hosp_prop_pc)
reghdfe
panel fe
`depvar' _T* fips##stackID, year##stackID cluster: fips
6.01_online_appendix_b_hospitals.do:557
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 557 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips##stackID year##stackID) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub] , absorb(fips##stackID year##stackID) vce(cluster fips)
run 3× in a loop (depvar=tot_hospitals_pc; depvar=tot_hosp_likely_pc; depvar=tot_hosp_prop_pc)
csdid
did
r`depvar' — default
6.02_online_appendix_c_doctors.do:195
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 195 csdid `depvar_new' [iw = `weightvar'], ivar(fips) time(amd_wave) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid r`depvar' [iw = births_pub_bk], ivar(fips) time(amd_wave) gvar(time_treated_2) agg(event)
reghdfe
panel fe
`depvar' _T* fips, amd_wave cluster: fips
6.02_online_appendix_c_doctors.do:977
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 977 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips amd_wave) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub_bk] , absorb(fips amd_wave) vce(cluster fips)
csdid
did
`depvar' — default
6.02_online_appendix_c_doctors.do:1054
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 1054 csdid `depvar' [iw = `weightvar'], ivar(fips) time(amd_wave) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid `depvar' [iw = births_pub_bk], ivar(fips) time(amd_wave) gvar(time_treated_2) agg(event)
reghdfe
panel fe
`depvar' _T* fips##stackID, amd_wave##stackID cluster: fips
6.02_online_appendix_c_doctors.do:1161
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 1161 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips##stackID amd_wave##stackID) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub_bk] , absorb(fips##stackID amd_wave##stackID) vce(cluster fips)
csdid
did
``i'' — default
6.02_online_appendix_c_doctors.do:1457
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 1457 csdid `y_var' `iw', ivar(`unit_id') time(year) gvar(gvar) agg(event) as we read it (macros filled in / loop expanded): csdid ``i'' , ivar(fips) time(year) gvar(gvar) agg(event)
reghdfe
panel fe
``i'' F*event L*event fips, year cluster: fips
6.02_online_appendix_c_doctors.do:1471
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 1471 reghdfe `y_var' F*event L*event `aw', absorb(`unit_id' year) vce(cluster `unit_id') as we read it (macros filled in / loop expanded): reghdfe ``i'' F*event L*event , absorb(fips year) vce(cluster fips)
csdid
did
ln_imr_pub_bk — default
6.03_online_appendix_d_infant_mortality.do:345
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 345 csdid `depvar' [iw = `weightvar'], ivar(fips) time(year) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid ln_imr_pub_bk [iw = births_pub_bk], ivar(fips) time(year) gvar(time_treated_2) agg(event)
ppmlhdfe
count
imr_pub _T* fips##stackID, year##stackID cluster: fips
6.03_online_appendix_d_infant_mortality.do:517
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 517 ppmlhdfe `depvar' /// _T* /// `stacked_controls' /// [pw = `weightvar'] /// , absorb(fips##stackID year##stackID) cluster(fips) sep(fe) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub _T* [pw = births_pub] , absorb(fips##stackID year##stackID) cluster(fips) sep(fe)
ppmlhdfe
count
imr_pub 1.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.04_online_appendix_e_heterogeneity.do:406
duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do, line 406 eststo pl_c0_`z': ppmlhdfe imr_pub 1.treated `baseline_controls' [pw = births_pub] if bad_include == 0, /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c0_`z': ppmlhdfe imr_pub 1.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub] if bad_include == 0, absorb(fips year) vce(cluster fips)
run 6× in a loop (z=all; z=ex_nurse; z=new_hosp…)
ppmlhdfe
count
imr_pub tot_capp_`z'_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.04_online_appendix_e_heterogeneity.do:413
duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do, line 413 eststo pl_c1_`z': ppmlhdfe imr_pub tot_capp_`z'_adj `baseline_controls' [pw = births_pub] if bad_include == 0, /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c1_`z': ppmlhdfe imr_pub tot_capp_`z'_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub] if bad_include == 0, absorb(fips year) vce(cluster fips)
run 6× in a loop (z=all; z=ex_nurse; z=new_hosp…)
ppmlhdfe
count
imr_pub tot_pay_`z'_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.04_online_appendix_e_heterogeneity.do:421
duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do, line 421 eststo pl_c2_`z': ppmlhdfe imr_pub tot_pay_`z'_adj `baseline_controls' [pw = births_pub] if bad_include == 0, /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): eststo pl_c2_`z': ppmlhdfe imr_pub tot_pay_`z'_adj percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub] if bad_include == 0, absorb(fips year) vce(cluster fips)
run 6× in a loop (z=all; z=ex_nurse; z=new_hosp…)
ppmlhdfe
count
imr_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.05_online_appendix_g_other_results.do:63
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 63 ppmlhdfe imr_pub b0.treated `baseline_controls' [pw = births_pub], absorb(fips year) cluster(fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub b0.treated percent_illit percent_black percent_other_race percent_urban retail_sales_per_capita chd_presence [pw = births_pub], absorb(fips year) cluster(fips)
mean
descriptive
— — default
6.05_online_appendix_g_other_results.do:101
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 101 mean `balance_controls' as we read it (macros filled in / loop expanded): mean percent_illit percent_black percent_urban retail_sales_per_capita chd_presence
ppmlhdfe
count
`y' b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:119
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 119 ppmlhdfe `y' b0.treated [pw = births_pub], /// absorb(fips year ) vce(cluster fips)
run 5× in a loop (y=percent_illit; y=percent_black; y=percent_urban…)
reghdfe
panel fe
treated percent_illit percent_black percent_urban retail_sales_per_capita chd_presence fips, year cluster: fips
6.05_online_appendix_g_other_results.do:249
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 249 reghdfe treated `balance_controls' [aw = births_pub], absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe treated percent_illit percent_black percent_urban retail_sales_per_capita chd_presence [aw = births_pub], absorb(fips year) vce(cluster fips)
ppmlhdfe
count
tfr_bk b0.treated fips, year cluster: fips
6.05_online_appendix_g_other_results.do:454
duke-replication/analysis/scripts/code/6.05_online_appendix_g_other_results.do, line 454 eststo p2_c1a: ppmlhdfe tfr_bk b0.treated if ever_zero_pop_fem == 0, absorb(fips year) vce(cluster fips)
ppmlhdfe
count
imr_pub b0.treated fips, year cluster: fips
6.06_online_appendix_j_non_nc.do:127
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 127 ppmlhdfe imr_pub b0.treated [pw = births_pub], /// absorb(fips year) vce(cluster fips)
ppmlhdfe
count
imr_pub_bk b0.treated fips, year cluster: fips
6.06_online_appendix_j_non_nc.do:278
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 278 ppmlhdfe `depvar' b0.treated [pw = `weightvar'] , /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub_bk b0.treated [pw = births_pub_bk] , absorb(fips year) vce(cluster fips)
ppmlhdfe
count
imr_pub_bk b0.treated fips, year cluster: fips
6.06_online_appendix_j_non_nc.do:281
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 281 ppmlhdfe `depvar' b0.treated [pw = `weightvar'] if drop == 0, /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub_bk b0.treated [pw = births_pub_bk] if drop == 0, absorb(fips year) vce(cluster fips)
ppmlhdfe
count
imr_pub_bk b0.treated fips, year cluster: fips
6.06_online_appendix_j_non_nc.do:284
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 284 ppmlhdfe `depvar' b0.treated [pw = `weightvar'] if drop_inculde_no_np == 0, /// absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub_bk b0.treated [pw = births_pub_bk] if drop_inculde_no_np == 0, absorb(fips year) vce(cluster fips)
ppmlhdfe
count
imr_pub_bk _T* fips, year cluster: fips
6.06_online_appendix_j_non_nc.do:317
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 317 ppmlhdfe `depvar' /// _T* /// [pw = `weightvar'] if drop == 0 /// , absorb(fips year) cluster(fips) as we read it (macros filled in / loop expanded): ppmlhdfe imr_pub_bk _T* [pw = births_pub_bk] if drop == 0 , absorb(fips year) cluster(fips)
ppmlhdfe
count
deaths _T* i.age##i.fips, i.age##i.year cluster: fips
6.07_online_appendix_f_long_run.do:1024
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 1024 ppmlhdfe deaths /// _T* /// [pw = `weightvar'] /// , absorb(i.age##i.fips i.age##i.year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe deaths _T* [pw = births_pub] , absorb(i.age##i.fips i.age##i.year) vce(cluster fips)
ppmlhdfe
count
deaths _T* i.age##i.fips, i.age##i.year cluster: fips
6.07_online_appendix_f_long_run.do:1267
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 1267 ppmlhdfe deaths /// _T* /// [pw = `weightvar'] /// , absorb(i.age##i.fips i.age##i.year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe deaths _T* [pw = births_pub] , absorb(i.age##i.fips i.age##i.year) vce(cluster fips)
ppmlhdfe
count
deaths _T* i.age##i.fips, i.age##i.year cluster: fips
6.07_online_appendix_f_long_run.do:1569
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 1569 ppmlhdfe deaths /// _T* /// [pw = `weightvar'] /// , absorb(i.age##i.fips i.age##i.year) vce(cluster fips) as we read it (macros filled in / loop expanded): ppmlhdfe deaths _T* [pw = births_pub] , absorb(i.age##i.fips i.age##i.year) vce(cluster fips)
ppmlhdfe
count
imr_pub b0.treated fips, year cluster: fips
6.09_online_appendix_k_ri.do:138
duke-replication/analysis/scripts/code/6.09_online_appendix_k_ri.do, line 138 ppmlhdfe imr_pub b0.treated [pw = births_pub], absorb(fips year) vce(cluster fips)
reghdfe
panel fe
`depvar' _T* fips, year cluster: fips
6.10_online_appendix_l_extended_panel.do:523
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 523 reghdfe `depvar' /// _T* /// [aw = `weightvar'] /// , absorb(fips year) vce(cluster fips) as we read it (macros filled in / loop expanded): reghdfe `depvar' _T* [aw = births_pub] , absorb(fips year) vce(cluster fips)
run 3× in a loop (depvar=i_tot_beds_aha; depvar=i_likely_beds_aha; depvar=i_prop_beds_aha)
csdid
did
`depvar' — default
6.10_online_appendix_l_extended_panel.do:598
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 598 csdid `depvar' [iw = `weightvar'], ivar(fips) time(year) gvar(time_treated_2) agg(event) as we read it (macros filled in / loop expanded): csdid `depvar' [iw = births_pub], ivar(fips) time(year) gvar(time_treated_2) agg(event)
run 3× in a loop (depvar=i_tot_beds_aha; depvar=i_likely_beds_aha; depvar=i_prop_beds_aha)
Tables and figures the code writes: sr_output_vary_samp.txt
0_run_all.do:246
duke-replication/0_run_all.do, line 246 file open sr_output_vary_samp using "$PROJ_PATH/analysis/output/sr_output_vary_samp.txt", write replace as we read it (macros filled in / loop expanded): file open sr_output_vary_samp using "`c(pwd)'/analysis/output/sr_output_vary_samp.txt", write replace
· sr_output_vary_spec.txt
0_run_all.do:233
duke-replication/0_run_all.do, line 233 file open sr_output_vary_spec using "$PROJ_PATH/analysis/output/sr_output_vary_spec.txt", write replace as we read it (macros filled in / loop expanded): file open sr_output_vary_spec using "`c(pwd)'/analysis/output/sr_output_vary_spec.txt", write replace
· Table I1 table_i1_bacon_summary.tex
6.08.0_online_appendix_i_es_diagnostics.do:171
duke-replication/analysis/scripts/code/6.08.0_online_appendix_i_es_diagnostics.do, line 171 file open myfile using "$PROJ_PATH/analysis/output/appendix/table_i1_bacon_summary.tex", write text replace

7 · Figures: how each is drawn — 58 figures in the code (command, layers, options, the file it is saved to)

line 24 · event-study plot 20 · coefficient plot 6 · bar 3 · map 2 · scatter 2 · histogram 1
commandlayersvariables optionssaved aswhere
twoway
line
connected y fraction_counties x year xtitle Year · xline 1927 · legend off Figure 1A
figure_1a_share_counties_treated.pdf
5_figures.do:67
duke-replication/analysis/scripts/code/5_figures.do, line 67 twoway connected fraction_counties year, lw(1.0) col("230 65 115") msymbol(none) lp(solid) /// xlab(1922(5)1942, nogrid labsize(5) angle(0)) /// ylab(0(0.1)0.5, nogrid labs(5) angle(0) format(%03.1f)) /// …
–76
twoway
line
connected + connected + connected y imr_pub, imr_pub_wt, imr_pub_bk x year xtitle Year · xline 1927 · legend off Figure 1C
figure_1c_infant_morality_by_race_over_time.pdf
5_figures.do:118
duke-replication/analysis/scripts/code/5_figures.do, line 118 twoway connected imr_pub year, lw(.75) lcolor("black") lp(longdash) msymbol(none) /// || connected imr_pub_wt year, lw(1) lcolor("black") lp(line) msymbol(none) /// || connected imr_pub_bk year, lw(.75) lcolor …
–131
twoway
line
connected + connected y `depvar' x year (set at run time) xtitle Year · xline 1927 · legend off Figure 2C
figure_2`panel'1_`title'_by_year.pdf (set at run time)
5_figures.do:274
duke-replication/analysis/scripts/code/5_figures.do, line 274 twoway /// || connected `depvar' year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected `depvar' year if ever_treated == 1, lw(1) lcolor("230 65 115") lp(line) msymbol(no …
–287
twoway
event-study plot
connected + lfit + connected y `depvar' x event_time (set at run time) xtitle Years since capital appropriation · xline 0 · legend off Figure 2C
figure_2`panel'2_`title'_by_event_time.pdf (set at run time)
5_figures.do:365
duke-replication/analysis/scripts/code/5_figures.do, line 365 twoway /// || connected `depvar' event_time if event_time <= -.5 & event_time >= -6 , lw(.75) lcolor("230 65 115") lp(line) msymbol(none) /// || lfit `depvar' event_time if event_time <= -.5 & event_time >= …
–377
twoway
event-study plot
rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + +1 more y b x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment · xline -.5 · ci rcap · legend order(3 TWFE 6 Stacked-TWFE 9 eTWFE 12 Callaway Sant'Anna) rows(1) position(6) region(style(none)) Figure 2C
figure_2`panel'3_`title'_first_stage.pdf (set at run time)
5_figures.do:791
duke-replication/analysis/scripts/code/5_figures.do, line 791 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–814
twoway
line
connected + connected y rmd x calendar_year xtitle Year · xline 1927 · legend off Figure 3A
figure_3a1_`race_group'_rMD_by_treat_status.pdf (set at run time)
5_figures.do:845
duke-replication/analysis/scripts/code/5_figures.do, line 845 twoway /// || connected rmd`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd`race_suf' calendar_year if ever_treated == 1, lw(1) lcolor("230 6 …
–858
twoway
line
connected + connected y rmd_good_2yr x calendar_year xtitle Year · xline 1927 · legend off Figure 3B
figure_3b1_`race_group'_rMD_good_by_treat_status.pdf (set at run time)
5_figures.do:865
duke-replication/analysis/scripts/code/5_figures.do, line 865 twoway /// || connected rmd_good_2yr`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd_good_2yr`race_suf' calendar_year if ever_treated == 1, l …
–878
twoway
line
connected + connected y rmd_bad_2yr x calendar_year xtitle Year · xline 1927 · legend off Figure 3C
figure_3c1_`race_group'_rMD_bad_by_treat_status.pdf (set at run time)
5_figures.do:884
duke-replication/analysis/scripts/code/5_figures.do, line 884 twoway /// || connected rmd_bad_2yr`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd_bad_2yr`race_suf' calendar_year if ever_treated == 1, lw( …
–897
twoway
event-study plot
connected + lfit + connected y rmd x event_time xtitle AMD waves since capital appropriation · xline 0 · legend off Figure 3A
figure_3a2_`race_group'_rMD_by_event_time.pdf (set at run time)
5_figures.do:945
duke-replication/analysis/scripts/code/5_figures.do, line 945 twoway /// || connected rmd`race_suf' event_time if event_time <= -.5 & event_time >= -5 , lw(.75) lcolor("230 65 115") lp(line) msymbol(none) /// || lfit rmd`race_suf' event_time if event_time <= -.5 & event_ …
–957
twoway
event-study plot
connected + lfit + connected y rmd_good_2yr x event_time xtitle AMD waves since capital appropriation · xline 0 · legend off Figure 3B
figure_3b2_`race_group'_rMD_good_by_event_time.pdf (set at run time)
5_figures.do:964
duke-replication/analysis/scripts/code/5_figures.do, line 964 twoway /// || connected rmd_good_2yr`race_suf' event_time if event_time <= -.5 & event_time >= -5 , lw(.75) lcolor("230 65 115") lp(line) msymbol(none) /// || lfit rmd_good_2yr`race_suf' event_time if event_ti …
–976
twoway
event-study plot
connected + lfit + connected y rmd_bad_2yr x event_time xtitle AMD waves since capital appropriation · xline 0 · legend off Figure 3C
figure_3c2_`race_group'_rMD_bad_by_event_time.pdf (set at run time)
5_figures.do:983
duke-replication/analysis/scripts/code/5_figures.do, line 983 twoway /// || connected rmd_bad_2yr`race_suf' event_time if event_time <= -.5 & event_time >= -5 , lw(.75) lcolor("230 65 115") lp(line) msymbol(none) /// || lfit rmd_bad_2yr`race_suf' event_time if event_time …
–995
twoway
event-study plot
rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + +1 more y b x modified_event_time band ll, ul xtitle AMD waves since first capital appropriation from Duke Endowment · xline -.5 · ci rcap · legend order(3 TWFE 6 Stacked-TWFE 9 eTWFE 12 Callaway Sant'Anna) rows(1) position(6) region(style(none)) Figure 3C
figure_3`panel'3_`race_group'_`title'_first_stage.pdf (set at run time)
5_figures.do:1411
duke-replication/analysis/scripts/code/5_figures.do, line 1411 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–1434
twoway
line
connected + connected y imr_pub x year xtitle Year · xline 1927 · legend off Figure 4A
figure_4a1_imr_by_treatment_status_pooled.pdf
5_figures.do:1483
duke-replication/analysis/scripts/code/5_figures.do, line 1483 twoway connected imr_pub year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected imr_pub year if ever_treated == 1, lw(1) lcolor("230 65 115") lp(line) msymbol(none) /// …
–1495
twoway
line
connected + connected y imr_pub_bk x year xtitle Year · xline 1927 · legend off Figure 4B
figure_4b1_imr_by_treatment_status_black.pdf
5_figures.do:1501
duke-replication/analysis/scripts/code/5_figures.do, line 1501 twoway connected imr_pub_bk year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected imr_pub_bk year if ever_treated == 1, lw(1) lcolor("230 65 115") lp(line) msymbol(none) /// …
–1513
twoway
line
connected + connected y imr_pub_wt x year xtitle Year · xline 1927 · legend off Figure 4C
figure_4c1_imr_by_treatment_status_white.pdf
5_figures.do:1519
duke-replication/analysis/scripts/code/5_figures.do, line 1519 twoway connected imr_pub_wt year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected imr_pub_wt year if ever_treated == 1, lw(1) lcolor("230 65 115") lp(line) msymbol(none) /// …
–1531
twoway
event-study plot
connected + lfit + connected y imr_pub x event_time xtitle Years since first capital appropriation from Duke Endowment · xline -0.5 · legend off Figure 4A
figure_4a2_imr_by_event_time_pooled.pdf
5_figures.do:1583
duke-replication/analysis/scripts/code/5_figures.do, line 1583 twoway /// || connected imr_pub event_time if event_time <= -.5 & event_time >= -6 , lw(.75) lcolor("230 65 115") lp(line) msymbol(none) /// || lfit imr_pub event_time if event_time <= -.5 & event_time >= -6 ,c …
–1595
twoway
event-study plot
connected + lfit + connected y imr_pub_bk x event_time xtitle Years since first capital appropriation from Duke Endowment · xline -0.5 · legend off Figure 4B
figure_4b2_imr_by_event_time_black.pdf
5_figures.do:1601
duke-replication/analysis/scripts/code/5_figures.do, line 1601 twoway /// || connected imr_pub_bk event_time if event_time <= -.5 & event_time >= -6 , lw(.75) lcolor("230 65 115") lp(line) msymbol(none) /// || lfit imr_pub_bk event_time if event_time <= -.5 & event_time >= …
–1613
twoway
event-study plot
connected + lfit + connected y imr_pub_wt x event_time xtitle Years since first capital appropriation from Duke Endowment · xline -0.5 · legend off Figure 4C
figure_4c2_imr_by_event_time_white.pdf
5_figures.do:1619
duke-replication/analysis/scripts/code/5_figures.do, line 1619 twoway /// || connected imr_pub_wt event_time if event_time <= -.5 & event_time >= -6 , lw(.75) lcolor("230 65 115") lp(line) msymbol(none) /// || lfit imr_pub_wt event_time if event_time <= -.5 & event_time >= …
–1631
twoway
event-study plot
rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + +1 more y b x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment · xline -.5 · ci rcap · legend order(3 Poisson 6 Stacked-Poisson 9 eTWFE 12 Callaway Sant'Anna) rows(1) position(6) region(style(none)) Figure 4C
figure_4`panel'3_`depvar_title'_event_study_`race'.pdf (set at run time)
5_figures.do:2101
duke-replication/analysis/scripts/code/5_figures.do, line 2101 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–2124
ggplot
map
sf + sf Figure 1B
figure_1b_duke_map.pdf
5_maps.R:64
duke-replication/analysis/scripts/code/5_maps.R, line 64 duke_map <- ggplot() +
–73
ggplot
map
sf + sf Figure 1D
figure_1d_imr_map.pdf
5_maps.R:79
duke-replication/analysis/scripts/code/5_maps.R, line 79 imr_map <- ggplot() +
–88
twoway
line
connected + connected y `depvar' x year (set at run time) xtitle Year · xline 1927 · legend off Figure B1A
figure_b1a`row'_`title'_by_year.pdf (set at run time)
6.01_online_appendix_b_hospitals.do:298
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 298 twoway /// || connected `depvar' year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected `depvar' year if ever_treated == 1, lw(1) lcolor("230 65 115") lp(line) msymbol(no …
–311
twoway
event-study plot
rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + +1 more y b x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment · xline -.5 · ci rcap · legend order(3 TWFE 6 Stacked-TWFE 9 eTWFE 12 Callaway Sant'Anna) rows(1) position(6) region(style(none)) Figure B1B
figure_b1b`row'_`title'_first_stage.pdf (set at run time)
6.01_online_appendix_b_hospitals.do:730
duke-replication/analysis/scripts/code/6.01_online_appendix_b_hospitals.do, line 730 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–752
twoway
line
connected + connected y rmd_black x calendar_year xtitle Year · xline 1927 · legend off Figure C1A
figure_c1a1_`race_group'_rMD_by_treatment_status.pdf (set at run time)
6.02_online_appendix_c_doctors.do:776
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 776 twoway /// || connected rmd`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd`race_suf' calendar_year if ever_treated == 1, lw(1) lcolor("230 6 …
–789
twoway
line
connected + connected y rmd_good_2yr_black x calendar_year xtitle Year · xline 1927 · legend off Figure C1A
figure_c1a2_`race_group'_rMD_good_by_treatment_status.pdf (set at run time)
6.02_online_appendix_c_doctors.do:796
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 796 twoway /// || connected rmd_good_2yr`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd_good_2yr`race_suf' calendar_year if ever_treated == 1, l …
–809
twoway
line
connected + connected y rmd_bad_2yr_black x calendar_year xtitle Year · xline 1927 · legend off Figure C1A
figure_c1a3_`race_group'_rMD_bad_by_treatment_status.pdf (set at run time)
6.02_online_appendix_c_doctors.do:816
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 816 twoway /// || connected rmd_bad_2yr`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd_bad_2yr`race_suf' calendar_year if ever_treated == 1, lw( …
–829
twoway
line
connected + connected y rmd_white x calendar_year xtitle Year · xline 1927 · legend off Figure C2A
figure_c2a1_`race_group'_rMD_by_treatment_status.pdf (set at run time)
6.02_online_appendix_c_doctors.do:850
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 850 twoway /// || connected rmd`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd`race_suf' calendar_year if ever_treated == 1, lw(1) lcolor("230 6 …
–863
twoway
line
connected + connected y rmd_good_2yr_white x calendar_year xtitle Year · xline 1927 · legend off Figure C2A
figure_c2a2_`race_group'_rMD_good_by_treatment_status.pdf (set at run time)
6.02_online_appendix_c_doctors.do:870
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 870 twoway /// || connected rmd_good_2yr`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd_good_2yr`race_suf' calendar_year if ever_treated == 1, l …
–883
twoway
line
connected + connected y rmd_bad_2yr_white x calendar_year xtitle Year · xline 1927 · legend off Figure C2A
figure_c2a3_`race_group'_rMD_bad_by_treatment_status.pdf (set at run time)
6.02_online_appendix_c_doctors.do:890
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 890 twoway /// || connected rmd_bad_2yr`race_suf' calendar_year if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) /// || connected rmd_bad_2yr`race_suf' calendar_year if ever_treated == 1, lw( …
–903
twoway
event-study plot
rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + rcap + scatter + scatter + +1 more y b x modified_event_time band ll, ul xtitle AMD waves since first capital appropriation from Duke Endowment · xline -.5 · ci rcap · legend order(3 TWFE 6 Stacked-TWFE 9 eTWFE 12 Callaway Sant'Anna) rows(1) position(6) region(style(none)) Figure C1B
figure_c`figno'b`row'_`depvar_stub'_doctors_first_stage.pdf (set at run time)
6.02_online_appendix_c_doctors.do:1325
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 1325 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–1348
twoway
line
connected + connected y `occ' x year (set at run time) xtitle Year · xline 2.7 · legend off Figure C3A
figure_c3a`row'_med_profs_by_treatment_status_`occ'.pdf (set at run time)
6.02_online_appendix_c_doctors.do:1400
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 1400 twoway connected `occ' year if year >= 2 & ever_treated == 0, lw(1) lcolor("black") lp(longdash) msymbol(S) msize(3) mcolor("black") /// || connected `occ' year if year >= 2 & ever_treated == 1, lw(1) lcolor("230 65 …
–1413
event_plot
event-study plot
event_plot estimates cs_b#cs_v, ols xtitle Census wave since first capital appropriation · ytitle Average causal effect · xline -0.5 · yline 0 · ci rcap · legend order(1 Callaway-Sant'Anna 3 TWFE OLS) rows(1) position(6) region(style(none)) Figure C3B
figure_c3b`row'_event_study_hosp_staff_``i''.pdf (set at run time)
6.02_online_appendix_c_doctors.do:1486
duke-replication/analysis/scripts/code/6.02_online_appendix_c_doctors.do, line 1486 event_plot cs_b#cs_v ols, /// stub_lag(Tp# L#event) stub_lead(Tm# F#event) /// plottype(scatter) ciplottype(rcap) /// together trimlead(2) trimlag(1) noautolegend /// graph_opt( /// subtitle("`: v …
–1501
twoway
event-study plot
rarea + connected + connected + scatteri y b x order band ll, ul xtitle Years since first capital appropriation from Duke Endowment · xline -.5 · ci rarea · legend off Figure D1B
figure_d1`panel'_event_study_pooled_imr_stacked_poisson_kappa_`n_pre'_controls_`cntrl_type'.pdf (set at run time)
6.03_online_appendix_d_infant_mortality.do:647
duke-replication/analysis/scripts/code/6.03_online_appendix_d_infant_mortality.do, line 647 twoway /// || rarea ll ul order if new_id == 1, fcol(gs14) lcol(white) msize(3) /// estimates || connected b order if new_id == 1, lw(1.1) col(white) msize(7) msymbol(s) lp(solid) /// highlighting || conn …
–659
twoway
bar
bar + bar + scatter y share x years_until_rec xtitle Years since first appropriation · legend off Figure E1
figure_e1_share_rec_pay_by_years_since_app.pdf
6.04_online_appendix_e_heterogeneity.do:336
duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do, line 336 twoway /// || bar share years_until_rec if years_until_rec < 4 , bcolor(gs7) /// || bar share years_until_rec if years_until_rec == 4 , bcolor(gs3) /// || scatter share years_until_rec, m(i) mlabel(str_amount …
–347
twoway
coefficient plot
rcap + scatter y bin_b x specification_type band bin_low, bin_high title Intent to treat (Duke = 1) · yline 0 · ci rcap · legend off Figure E2A
figure_e2a_bin_pooled.pdf
6.04_online_appendix_e_heterogeneity.do:474
duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do, line 474 twoway /// || rcap bin_low bin_high specification_type if race_label == "Pooled", lcol("230 65 115") lwidth(.75) msize(4) /// || scatter bin_b specification_type if race_label == "Pooled", msymbol(O) msize(3.5) m …
–487
twoway
coefficient plot
rcap + scatter y app_b x specification_type band app_low, app_high title Appropriations, effect of $1 million from Duke · yline 0 · ci rcap · legend off Figure E2B
figure_e2b_app_pooled.pdf
6.04_online_appendix_e_heterogeneity.do:494
duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do, line 494 twoway /// || rcap app_low app_high specification_type if race_label == "Pooled", lcol("230 65 115") lwidth(.75) msize(4) /// || scatter app_b specification_type if race_label == "Pooled", msymbol(O) msize(3.5) m …
–507
twoway
coefficient plot
rcap + scatter y pay_b x specification_type band pay_low, pay_high title Payments, effect of $1 million from Duke · yline 0 · ci rcap · legend off Figure E2C
figure_e2c_pay_pooled.pdf
6.04_online_appendix_e_heterogeneity.do:514
duke-replication/analysis/scripts/code/6.04_online_appendix_e_heterogeneity.do, line 514 twoway /// || rcap pay_low pay_high specification_type if race_label == "Pooled", lcol("230 65 115") lwidth(.75) msize(4) /// || scatter pay_b specification_type if race_label == "Pooled", msymbol(O) msize(3.5) m …
–527
twoway
line
connected + connected y imr_pub_bk x year title Black infant mortality by year comparing ever-treated NC to Duke-ineligible other southern counties · xtitle Year · xline 1927 · legend off Figure J1A
figure_j1a_imr_treated_vs_southern_bk.pdf
6.06_online_appendix_j_non_nc.do:161
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 161 twoway /// || connected imr_pub_bk year if group == 1, msymbol(none) lw(1.0) col("230 65 115") msymbol(none) lp(solid) /// || connected imr_pub_bk year if group == 3, msymbol(none) lw(.5) col("black") msymbol(no …
–178
twoway
line
connected + connected y imr_pub_wt x year title White infant mortality by year comparing ever-treated NC to Duke-ineligible other southern counties · xtitle Year · xline 1927 · legend off Figure J1B
figure_j1b_imr_treated_vs_southern_wt.pdf
6.06_online_appendix_j_non_nc.do:191
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 191 twoway /// || connected imr_pub_wt year if group == 1, msymbol(none) lw(1.0) col("230 65 115") msymbol(none) lp(solid) /// || connected imr_pub_wt year if group == 3, msymbol(none) lw(.5) col("black") msymbol(no …
–208
twoway
event-study plot
rarea + connected + connected + scatteri y b x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment · xline -.5 · ci rarea · legend off Figure J2C
figure_j2`panel'_es_other_southern_states_imr_`race'.pdf (set at run time)
6.06_online_appendix_j_non_nc.do:452
duke-replication/analysis/scripts/code/6.06_online_appendix_j_non_nc.do, line 452 twoway /// || rarea ll ul modified_event_time if new_id == 1, fcol(gs14) lcol(white) msize(3) /// estimates || connected b modified_event_time if new_id == 1, lw(1.1) col(white) msize(7) msymbol(s) lp(solid) …
–465
twoway
line
scatteri + rarea + connected + connected + scatteri + pcarrow + pcarrow y le_white, le_black x year band min_age_numident, max_age_numident title Life expectancy at birth is below age 65 for those born before 1940 · xtitle Birth year · ci rarea · legend off Figure F1
figure_F1_life_exp_at_birth_with_numident_restrictions.pdf
6.07_online_appendix_f_long_run.do:898
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 898 twoway /// || scatteri 80 1932 80 1941, recast(area) lcol(gs8) lp(l) lwidth(0.5) fcolor(blue%50) /// Birth year cohort || rarea min_age_numident max_age_numident year if year <= 2020 & min_age_numident <= 80 & …
–922
graph bar
bar
bar y y_value by x_value xtitle Years since first capital appropriation from Duke Endowment relative to birth year Figure F3
figure_F3_unbalanced_event_time_long_run.pdf
6.07_online_appendix_f_long_run.do:997
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 997 graph bar (sum) y_value, over(x_value) /// b1title("Years since first capital appropriation from Duke Endowment relative to birth year", size(4) height(7)) /// ytitle("") /// subtitle("Number of observations …
–1000
twoway
event-study plot
rcap + scatter + scatter + scatteri + pcarrow + pcarrow + pcarrow y b, (0) x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment relative to birth year · xline .5 · ci rcap · legend off Figure F2
figure_F2_long_run_unbalanced_event_study.pdf
6.07_online_appendix_f_long_run.do:1169
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 1169 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–1193
twoway
event-study plot
rcap + scatter + scatter + scatteri + pcarrow + pcarrow + pcarrow y b, (0) x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment relative to birth year · xline .5 · ci rcap · legend off Figure F4
figure_F4_long_run_unbalanced_event_study_extended.pdf
6.07_online_appendix_f_long_run.do:1412
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 1412 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–1436
graph bar
bar
bar y y_value by x_value xtitle Years since first capital appropriation from Duke Endowment relative to birth year Figure F5
figure_F5_bot_balanced_event_time_long_run.pdf
6.07_online_appendix_f_long_run.do:1542
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 1542 graph bar (sum) y_value, over(x_value) /// b1title("Years since first capital appropriation from Duke Endowment relative to birth year", size(4) height(7)) /// ytitle("") /// subtitle("Number of observations …
–1545
twoway
event-study plot
rcap + scatter + scatter + scatteri + pcarrow + pcarrow y b, (0) x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment relative to birth year · xline .5 · ci rcap · legend off Figure F5
figure_F5_balanced_event_study.pdf
6.07_online_appendix_f_long_run.do:1714
duke-replication/analysis/scripts/code/6.07_online_appendix_f_long_run.do, line 1714 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–1735
twoway
histogram
histogram x b xtitle Coefficient on Duke exposure · ytitle Density · xline `b_main', `b_avg' (set at run time) · scheme s2mono Figure K1
figure_k1_ri_all_cty_b.pdf
6.09_online_appendix_k_ri.do:203
duke-replication/analysis/scripts/code/6.09_online_appendix_k_ri.do, line 203 twoway /// (histogram b, percent fcolor(none) lcolor(black)), /// subtitle("{bf:Randomize set of treated counties (10,000 reps)}", position(11) justification(left) size(4)) /// xline(`b_main', lstyle(foregrou …
–218
twoway
event-study plot
rcap + scatter + scatter + rcap + scatter + scatter + scatteri y b x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment · xline -.5 · ci rcap · legend order(3 TWFE 6 Callaway Sant'Anna) rows(1) position(6) region(style(none)) Figure L1C
figure_l1`panel'_`title'_first_stage_1922_1950.pdf (set at run time)
6.10_online_appendix_l_extended_panel.do:703
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 703 twoway /// || rcap ll ul modified_event_time if new_id == 1, fcol("230 65 115") lcol("230 65 115") msize(2) /// estimates || scatter b modified_event_time if new_id == 1, col(white) msize(3) msymbol(s) /// hi …
–720
twoway
line
connected + connected y imr_bailey, imr_bailey_NC_treated x year title Pooled infant mortality by year comparing ever-treated NC to Duke-ineligible other southern counties · xtitle Year · xline 1927 · legend off Figure L2A
figure_l2a_imr_bailey_treated_vs_bailey_south_1962.pdf
6.10_online_appendix_l_extended_panel.do:853
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 853 twoway /// || connected imr_bailey year if year > 1924 & year < 1962, lcolor(black) lpattern(dash) lwidth(medthick) msymbol(none) /// || connected imr_bailey_NC_treated year if year > 1924 & year < 1962, lcolor( …
–870
twoway
event-study plot
rarea + connected + connected + scatteri y b x modified_event_time band ll, ul xtitle Years since first capital appropriation from Duke Endowment · xline -.5 · ci rarea · legend off Figure L2B
figure_l2b_pooled_other_southern_states_event_study_bailey.pdf
6.10_online_appendix_l_extended_panel.do:1076
duke-replication/analysis/scripts/code/6.10_online_appendix_l_extended_panel.do, line 1076 twoway /// || rarea ll ul modified_event_time if new_id == 1, fcol(gs14) lcol(white) msize(3) /// estimates || connected b modified_event_time if new_id == 1, lw(1.1) col(white) msize(7) msymbol(s) lp(solid) …
–1089
twoway
line
connected + connected y imr_pub x year title Comapre top 50% to bottom 50% · xtitle Year · legend pos(5) col(2) ring(0) label(1 Bottom 50%) label(2 Top 50%) size(7) Figure M1C
figure_m1`panel'1_psm_top`bottom_trim'pct_fake_treat_clean_cntrls_pooled_imr_by_treatment_over_time.pdf (set at run time)
6.11_online_appendix_m_psm.do:372
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 372 twoway connected imr_pub year if out_of_state_fake_treat == 0, lw(1.5) lcolor("black") lp(longdash) msymbol(none) /// || connected imr_pub year if out_of_state_fake_treat == 1, lw(1.5) lcolor("orange") lp(shortdash …
–382
twoway
line
connected + connected y imr_pub_bk x year xtitle Year · legend pos(5) col(2) ring(0) label(1 Bottom 50%) label(2 Top 50%) size(6) Figure M1C
figure_m1`panel'2_psm_top`bottom_trim'pct_fake_treat_clean_cntrls_black_imr_by_treatment_over_time.pdf (set at run time)
6.11_online_appendix_m_psm.do:388
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 388 twoway connected imr_pub_bk year if out_of_state_fake_treat == 0, lw(1.5) lcolor("black") lp(longdash) msymbol(none) /// || connected imr_pub_bk year if out_of_state_fake_treat == 1, lw(1.5) lcolor("orange") lp(sho …
–397
twoway
line
connected + connected y imr_pub_wt x year xtitle Year · legend pos(5) col(2) ring(0) label(1 Bottom 50%) label(2 Top 50%) size(7) Figure M1C
figure_m1`panel'3_psm_top`bottom_trim'pct_fake_treat_clean_cntrls_white_imr_by_treatment_over_time.pdf (set at run time)
6.11_online_appendix_m_psm.do:403
duke-replication/analysis/scripts/code/6.11_online_appendix_m_psm.do, line 403 twoway connected imr_pub_wt year if out_of_state_fake_treat == 0, lw(1.5) lcolor("black") lp(longdash) msymbol(none) /// || connected imr_pub_wt year if out_of_state_fake_treat == 1, lw(1.5) lcolor("orange") lp(sho …
–412
ggplot
coefficient plot
linerange + point + point + linerange + point + point + segment + segment y b x order band low, high title Pooled · ci geom_linerange · scheme theme_classic not saved
7_combined_spec_chart.R:86
duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 86 coef_plot = ggplot(data = regression_results , aes(y = b, x = order)) +
–121
ggplot
scatter
point + point + point + point + point + point + point + point + point + point + point + point + +12 more y 1, 0, -1, -2, -5, -6, +6 more x order by countyFE scheme theme_classic · legend position=none not saved
7_combined_spec_chart.R:126
duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 126 dot_plot = ggplot(data = subset(regression_results, notes != "sr, poisson, death_rate, Ycounty, Yyear, Ycontrols, Yweights") , aes(y = 1, x = order, fill = as.factor(c …
–306
ggplot
coefficient plot
linerange + point + point + linerange + point + point + segment + segment y white_b x order band white_low, white_high title White · ci geom_linerange · scheme theme_classic not saved
7_combined_spec_chart.R:332
duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 332 white_coef_plot = ggplot(data = regression_results , aes(y = white_b, x = order)) +
–367
ggplot
coefficient plot
linerange + point + point + linerange + point + point + segment + segment y black_b x order band black_low, black_high title Black · ci geom_linerange · scheme theme_classic Figure 5A
figure_5a_spec_chart_combined.pdf
7_combined_spec_chart.R:374
duke-replication/analysis/scripts/code/7_combined_spec_chart.R, line 374 black_coef_plot = ggplot(data = regression_results , aes(y = black_b, x = order)) +
–409
ggplot
scatter
linerange + point + point + linerange + point + point + segment + text + text + text y -order x b band low, high ci geom_linerange · scheme theme_classic Figure 5B
figure_5b_sample_chart.pdf
7_sample_chart.R:86
duke-replication/analysis/scripts/code/7_sample_chart.R, line 86 coef_plot = ggplot(data = regression_results , aes(y = -order, x = b)) +
–113