Replication package 15206 · openicpsr · 2024
· open the deposit
How the code gets from data to results
Data and Code for: Later-life Mortality and the Repeal of Federal Prohibition
Code for: Later-life mortality and the repeal of federal prohibition Journal of Public Economics 2024
12
scripts
20
input files
7
file hand-offs
54
merges
41
sample steps
42
estimations
1 · Data in — files the code reads and no script of the package writes
Datasets this package uses (item detector / README):
IPUMS microdata (USA / CPS), NCHS Multiple Cause of Death Files, IPUMS National Historical Geographic Information System (NHGIS)
IPUMS microdata (USA / CPS)
1 file
$PROJ_PATH/analysis/processed/intermediate/ipums/usa_00083_extract_collapsed`suffix_`index''.dtaStata3_combine_data.do:53
ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 53 use "$PROJ_PATH/analysis/processed/intermediate/ipums/usa_00083_extract_collapsed`suffix_`index''.dta", clear
Other input files
19 files
$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs.dtaStata · read by 3 scripts3_combine_data.do:146
ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 146 use "$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs.dta" if year >= `start_year_deaths_main' & year <= `end_year_deaths_nchs', clear$PROJ_PATH/analysis/raw/prohibition/prohibition_status_by_state_1933-1942.dtaStata · read by 2 scripts1_import_data.do:40
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 40 use "$PROJ_PATH/analysis/raw/prohibition/prohibition_status_by_state_1933-1942.dta", clear$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_`suffix_`n''.dtaStata5_online_appendix.do:1846
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1846 use "$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_`suffix_`n''.dta" if year >= `start_year_deaths_nchs' & year <= `end_year_deaths_nchs', clear$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_men_only.dtaStata4_tables_figures.do:792
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 792 use "$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_men_only.dta" if year >= `start_year_deaths_nchs' & year <= `end_year_deaths_nchs', clear$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_non_white_only.dtaStata4_tables_figures.do:838
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 838 use "$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_non_white_only.dta" if year >= `start_year_deaths_nchs' & year <= `end_year_deaths_nchs', clear$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_white_only.dtaStata4_tables_figures.do:884
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 884 use "$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_white_only.dta" if year >= `start_year_deaths_nchs' & year <= `end_year_deaths_nchs', clear$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_women_only.dtaStata4_tables_figures.do:746
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 746 use "$PROJ_PATH/analysis/processed/data/data_for_analysis_nchs_women_only.dta" if year >= `start_year_deaths_nchs' & year <= `end_year_deaths_nchs', clear$PROJ_PATH/analysis/processed/data/data_for_cumulative_analysis_nchs.dtaStata5_online_appendix.do:614
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 614 use "$PROJ_PATH/analysis/processed/data/data_for_cumulative_analysis_nchs.dta" if year >= `start_year_deaths_nchs' & year <= `end_year_deaths_nchs', clear
11 more
$PROJ_PATH/analysis/processed/intermediate/nchs/state_level_cumulative_deaths_from_nchs`suffix_`index''.dtaStata3_combine_data.do:422
ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 422 merge 1:1 state birthyear year using "$PROJ_PATH/analysis/processed/intermediate/nchs/state_level_cumulative_deaths_from_nchs`suffix_`index''.dta", assert(2 3) nogen$PROJ_PATH/analysis/processed/intermediate/nchs/state_level_deaths_by_age_from_nchs`suffix_`index''.dtaStata3_combine_data.do:56
ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 56 merge 1:1 state birthyear year using "$PROJ_PATH/analysis/processed/intermediate/nchs/state_level_deaths_by_age_from_nchs`suffix_`index''.dta", assert(2 3) nogen$PROJ_PATH/analysis/processed/temp/`filename_1940'.dattext1_import_data.do:382
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 382 quietly infix /// int year 1-4 /// long sample 5-10 /// double serial 11-18 /// double hhwt 19-28 /// byte gq 29-29 /// int pernum 30-33 /// …$PROJ_PATH/analysis/processed/temp/`filename_1950'.dattext1_import_data.do:465
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 465 quietly infix /// int year 1-4 /// long sample 5-10 /// double serial 11-18 /// double hhwt 19-28 /// byte gq 29-29 /// int pernum 30-33 /// …$PROJ_PATH/analysis/processed/temp/usa_00083.dattext1_import_data.do:218
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 218 quietly infix /// int year 1-4 /// long sample 5-10 /// double serial 11-18 /// double hhwt 19-28 /// double cluster 29-41 /// double strata 42-53 /// byte gq 54-54 /// …$PROJ_PATH/analysis/raw/bls/stateabb.dtaStata1_import_data.do:123
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 123 use "$PROJ_PATH/analysis/raw/bls/stateabb.dta", clear$PROJ_PATH/analysis/raw/great_depression/State-level personal income per capita, 1929-2018.xlsxExcel1_import_data.do:183
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 183 import excel using "$PROJ_PATH/analysis/raw/great_depression/State-level personal income per capita, 1929-2018.xlsx", firstrow clear$PROJ_PATH/analysis/raw/nber/nchs2fips_county1990.dtaStata1_import_data.do:97
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 97 use nchs_state fipsst statename using "$PROJ_PATH/analysis/raw/nber/nchs2fips_county1990.dta", clear$PROJ_PATH/analysis/raw/new_deal/reh3041.dtaStata1_import_data.do:135
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 135 use "$PROJ_PATH/analysis/raw/new_deal/reh3041.dta", clear$PROJ_PATH/analysis/raw/prohibition/full19301942.dtaStata5_online_appendix.do:376
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 376 use year fips indth bir using "$PROJ_PATH/analysis/raw/prohibition/full19301942.dta", clearusa_00083.dattextusa_00083.do:7
ICPSR_208062-V1.1/analysis/raw/ipums/usa_00083.do, line 7 quietly infix /// int year 1-4 /// long sample 5-10 /// double serial 11-18 /// double hhwt 19-28 /// double cluster 29-41 /// double strata 42-53 /// byte gq 54-54 /// …
Plus 10 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
12 scripts, in run order for the master script 0_run_all.do and the 10 scripts it runs (directly or through each other); the other 1 are not run by a master script and follow in file-name order;
7 hand-offs through 13 intermediate files; 7 files written and never read back (outputs).
-
1.
ICPSR_208062-V1.1/0_run_all.domaster script -
2.
ICPSR_208062-V1.1/renv/activate.Rrun by ICPSR_208062-V1.1/0_run_all.do line 141 -
3.
ICPSR_208062-V1.1/analysis/scripts/programs/_install_R_packages.Rrun by ICPSR_208062-V1.1/0_run_all.do line 144 -
4.
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.dorun by ICPSR_208062-V1.1/0_run_all.do line 180 reads 8 input files · 10 merges ·writesmort`y'_extract.dta→ read by2_clean_data.dowritesnew_deal_grants_by_state_1930_1941.dta→ read by3_combine_data.do,5_online_appendix.dowritesprohibition_status_by_state_1933-1941_modified.dta→ read by3_combine_data.do,5_online_appendix.dowritesstate_personal_income_per_capita_1930-1941.dta→ read by3_combine_data.do,5_online_appendix.dowritesusa_00083_extract.dta→ read by2_clean_data.dowritesusa_00089_extract_1950_100_pct_collapsed.dta→ read by5_online_appendix.dowritesusa_00090_extract_1940_100_pct_collapsed.dta→ read by5_online_appendix.do -
5.
ICPSR_208062-V1.1/analysis/scripts/programs/_ipums_labels.dorun by ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do line 246 -
6.
ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.dorun by ICPSR_208062-V1.1/0_run_all.do line 181 26 merges ·reads what1_import_data.dowrotewritesstate_level_deaths_by_age_from_nchs.dta→ read by3_combine_data.do,5_online_appendix.dowritesstate_level_deaths_by_age_from_nchs_`gender_`x''_only.dta→ read by3_combine_data.dowritesstate_level_deaths_by_age_from_nchs_`race_`x''_only.dta→ read by3_combine_data.dowrites (not read again):``var'',usa_00083_extract_collapsed.dta,usa_00083_extract_collapsed_`race_`x''.dta -
7.
ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.dorun by ICPSR_208062-V1.1/0_run_all.do line 182 reads 5 input files · 8 merges ·reads what1_import_data.do,2_clean_data.dowrotewritescounty_map_input.dta→ read bycreate_county_map.Rwritesmap_input.dta→ read bycreate_maps.Rwritesmap_input_continuous.dta→ read bycreate_maps.Rwrites (not read again):data_for_cumulative_analysis_nchs`suffix_`index''.dta,state_level_cumulative_deaths_from_nchs.dta,state_level_cumulative_deaths_from_nchs_`gender_`x''_only.dta,state_level_cumulative_deaths_from_nchs_`race_`x''_only.dta -
8.
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.dorun by ICPSR_208062-V1.1/0_run_all.do line 196 reads 5 input files · 14 estimations -
9.
ICPSR_208062-V1.1/analysis/scripts/programs/create_maps.Rrun by ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do line 128 2 merges ·reads what3_combine_data.dowrote -
10.
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.dorun by ICPSR_208062-V1.1/0_run_all.do line 210 reads 4 input files · 13 merges · 28 estimationsreads what1_import_data.do,2_clean_data.dowrote -
11.
ICPSR_208062-V1.1/analysis/scripts/programs/create_county_map.Rrun by ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do line 1512 1 merge ·reads what3_combine_data.dowrote -
12.
ICPSR_208062-V1.1/analysis/raw/ipums/usa_00083.doreads 1 input file ·
3 · Merges — 54 joins, 1 followed by a check of the merge result; 6 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
reh3041 ← nchs2fips_xwk |
merge m:1 | statename |
none | 1_import_data.do:160ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 160
fmerge m:1 statename using "$PROJ_PATH/analysis/processed/intermediate/nber/nchs2fips_xwk.dta", assert(2 3) keep (3) nogen keepusing(state) |
state-level personal income per capita, 1929-2018 ← nchs2fips_xwk |
merge m:1 | statename |
none | 1_import_data.do:188ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 188
fmerge m:1 statename using "$PROJ_PATH/analysis/processed/intermediate/nber/nchs2fips_xwk.dta", assert(2 3) keep(3) nogen keepusing(state) |
mort`y' ← nchs2fips_xwk |
merge m:1 | nchs_state |
none | 1_import_data.do:300ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 300
fmerge m:1 nchs_state using "$PROJ_PATH/analysis/processed/intermediate/nber/nchs2fips_xwk.dta", assert(3) nogen |
mort`y' ← st2fips_xwk |
merge m:1 | stateabb |
none | 1_import_data.do:310ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 310
fmerge m:1 stateabb using "$PROJ_PATH/analysis/processed/intermediate/bls/st2fips_xwk.dta", assert(1 3) nogen |
`yearlist' ← `birthyearlist' |
cross (cross) | — | none | 1_import_data.do:438ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 438
cross using `birthyearlist' |
`yearlist' ← `statelist' |
cross (cross) | — | none | 1_import_data.do:439ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 439
cross using `statelist' |
by_cohort ← crosslist |
merge 1:1 | year state birthyear |
none | 1_import_data.do:444ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 444
fmerge 1:1 year state birthyear using `crosslist', assert(2 3) nogen |
`yearlist' ← `birthyearlist' |
cross (cross) | — | none | 1_import_data.do:521ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 521
cross using `birthyearlist' |
`yearlist' ← `statelist' |
cross (cross) | — | none | 1_import_data.do:522ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 522
cross using `statelist' |
by_cohort ← crosslist |
merge 1:1 | year state birthyear |
none | 1_import_data.do:527ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 527
fmerge 1:1 year state birthyear using `crosslist', assert(2 3) nogen |
`yearlist' ← `birthyearlist' |
cross (cross) | — | none | 2_clean_data.do:58ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 58
cross using `birthyearlist' |
`yearlist' ← `statelist' |
cross (cross) | — | none | 2_clean_data.do:59ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 59
cross using `statelist' |
`yearlist' ← `sexlist' |
cross (cross) | — | none | 2_clean_data.do:60ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 60
cross using `sexlist' |
by_gender ← crosslist |
merge 1:1 | year state birthyear sex |
none | 2_clean_data.do:68ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 68
fmerge 1:1 year state birthyear sex using `crosslist', assert(2 3) nogen |
`yearlist' ← `birthyearlist' |
cross (cross) | — | none | 2_clean_data.do:117ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 117
cross using `birthyearlist' |
`yearlist' ← `statelist' |
cross (cross) | — | none | 2_clean_data.do:118ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 118
cross using `statelist' |
`yearlist' ← `racelist' |
cross (cross) | — | none | 2_clean_data.do:119ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 119
cross using `racelist' |
by_race ← crosslist |
merge 1:1 | year state birthyear race |
none | 2_clean_data.do:127ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 127
fmerge 1:1 year state birthyear race using `crosslist', assert(2 3) nogen |
`yearlist' ← `birthyearlist' |
cross (cross) | — | none | 2_clean_data.do:154ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 154
cross using `birthyearlist' |
`yearlist' ← `statelist' |
cross (cross) | — | none | 2_clean_data.do:155ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 155
cross using `statelist' |
usa_00083_extract ← crosslist |
merge 1:1 | year state birthyear |
none | 2_clean_data.do:166ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 166
fmerge 1:1 year state birthyear using `crosslist', assert(2 3) nogen |
`state' ← `birthyear' |
cross (cross) | — | none | 2_clean_data.do:491ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 491
cross using `birthyear' |
`state' ← `year' |
cross (cross) | — | none | 2_clean_data.do:492ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 492
cross using `year' |
`state' ← missing_input |
merge 1:1 | state birthyear year age sex |
none | 2_clean_data.do:497ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 497
merge 1:1 state birthyear year age sex using `missing_input', assert(1 3) nogen |
`state' ← `birthyear' |
cross (cross) | — | none | 2_clean_data.do:558ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 558
cross using `birthyear' |
`state' ← `year' |
cross (cross) | — | none | 2_clean_data.do:559ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 559
cross using `year' |
`state' ← missing_input |
merge 1:1 | state birthyear year age race |
none | 2_clean_data.do:564ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 564
merge 1:1 state birthyear year age race using `missing_input', assert(1 3) nogen |
`state' ← `birthyear' |
cross (cross) | — | none | 2_clean_data.do:616ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 616
cross using `birthyear' |
`state' ← `year' |
cross (cross) | — | none | 2_clean_data.do:617ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 617
cross using `year' |
`state' ← missing_input |
merge 1:1 | state birthyear year age |
none | 2_clean_data.do:621ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 621
merge 1:1 state birthyear year age using `missing_input', assert(1 3) nogen |
usa_00083_extract_collapsed`suffix_`index'' ← state_level_deaths_by_age_from_nchs`suffix_`index'' |
merge 1:1 | state birthyear year |
none | 3_combine_data.do:56ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 56
merge 1:1 state birthyear year using "$PROJ_PATH/analysis/processed/intermediate/nchs/state_level_deaths_by_age_from_nchs`suffix_`index''.dta", assert(2 3) nogen |
usa_00083_extract_collapsed`suffix_`index'' ← prohibition_status_by_state_1933-1941_modified |
merge m:1 | state birthyear |
none | 3_combine_data.do:62ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 62
merge m:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/prohibition/prohibition_status_by_state_1933-1941_modified.dta", assert(1 3) nogen keepusing(wet) |
usa_00083_extract_collapsed`suffix_`index'' ← new_deal_grants_by_state_1930_1941 |
merge m:1 | state birthyear |
none | 3_combine_data.do:67ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 67
merge m:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/new_deal/new_deal_grants_by_state_1930_1941.dta", assert(1 3) nogen keepusing(tot_grants_ex_transfers spop) |
usa_00083_extract_collapsed`suffix_`index'' ← state_personal_income_per_capita_1930-1941 |
merge m:1 | state birthyear |
none | 3_combine_data.do:73ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 73
merge m:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/great_depression/state_personal_income_per_capita_1930-1941.dta", assert(1 3) nogen keepusing(stincome) |
data_for_analysis_nchs`suffix_`index'' ← state_level_cumulative_deaths_from_nchs`suffix_`index'' |
merge 1:1 | state birthyear year |
none | 3_combine_data.do:422ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 422
merge 1:1 state birthyear year using "$PROJ_PATH/analysis/processed/intermediate/nchs/state_level_cumulative_deaths_from_nchs`suffix_`index''.dta", assert(2 3) nogen |
data_for_analysis_nchs`suffix_`index'' ← prohibition_status_by_state_1933-1941_modified |
merge 1:1 | state birthyear |
none | 3_combine_data.do:428ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 428
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/prohibition/prohibition_status_by_state_1933-1941_modified.dta", assert(1 3) nogen keepusing(wet) |
data_for_analysis_nchs`suffix_`index'' ← new_deal_grants_by_state_1930_1941 |
merge 1:1 | state birthyear |
none | 3_combine_data.do:433ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 433
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/new_deal/new_deal_grants_by_state_1930_1941.dta", assert(1 3) nogen keepusing(tot_grants_ex_transfers spop) |
data_for_analysis_nchs`suffix_`index'' ← state_personal_income_per_capita_1930-1941 |
merge 1:1 | state birthyear |
none | 3_combine_data.do:439ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 439
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/great_depression/state_personal_income_per_capita_1930-1941.dta", assert(1 3) nogen keepusing(stincome) |
(data in memory) ← us_states |
join (inner) | state |
none | create_maps.R:58ICPSR_208062-V1.1/analysis/scripts/programs/create_maps.R, line 58
inner_join(us_states, by = c("state")) |
(data in memory) ← us_states |
join (inner) | state |
none | create_maps.R:67ICPSR_208062-V1.1/analysis/scripts/programs/create_maps.R, line 67
inner_join(us_states, by = c("state")) |
data_for_analysis_nchs ← imr |
merge m:1 | state birthyear |
tab state if _merge == 1 |
5_online_appendix.do:388ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 388
merge m:1 state birthyear using `imr', keep(1 3) keepusing(indth bir) |
data_for_cumulative_analysis_nchs ← usa_00089_extract_1950_100_pct_collapsed |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:711ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 711
fmerge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/ipums/usa_00089_extract_1950_100_pct_collapsed.dta", keepusing(population) assert(3) nogen |
data_for_cumulative_analysis_nchs ← usa_00090_extract_1940_100_pct_collapsed |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:794ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 794
fmerge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/ipums/usa_00090_extract_1940_100_pct_collapsed.dta", keepusing(population) assert(2 3) keep(3) nogen |
data_for_analysis_nchs ← cumulative_1979 |
merge 1:1 | state birthyear year |
none | 5_online_appendix.do:916ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 916
merge 1:1 state birthyear year using `cumulative_1979', assert(2 3) nogen |
data_for_analysis_nchs ← prohibition_status_by_state_1933-1941_modified |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:922ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 922
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/prohibition/prohibition_status_by_state_1933-1941_modified.dta", assert(1 3) nogen keepusing(wet) |
data_for_analysis_nchs ← new_deal_grants_by_state_1930_1941 |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:927ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 927
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/new_deal/new_deal_grants_by_state_1930_1941.dta", assert(1 3) nogen keepusing(tot_grants_ex_transfers spop) |
data_for_analysis_nchs ← state_personal_income_per_capita_1930-1941 |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:933ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 933
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/great_depression/state_personal_income_per_capita_1930-1941.dta", assert(1 3) nogen keepusing(stincome) |
data_for_analysis_nchs ← usa_00089_extract_1950_100_pct_collapsed |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:973ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 973
fmerge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/ipums/usa_00089_extract_1950_100_pct_collapsed.dta", keepusing(population) assert(3) nogen |
data_for_analysis_nchs ← cumulative_1979 |
merge 1:1 | state birthyear year |
none | 5_online_appendix.do:1103ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1103
merge 1:1 state birthyear year using `cumulative_1979', assert(2 3) nogen |
data_for_analysis_nchs ← prohibition_status_by_state_1933-1941_modified |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:1109ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1109
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/prohibition/prohibition_status_by_state_1933-1941_modified.dta", assert(1 3) nogen keepusing(wet) |
data_for_analysis_nchs ← new_deal_grants_by_state_1930_1941 |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:1114ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1114
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/new_deal/new_deal_grants_by_state_1930_1941.dta", assert(1 3) nogen keepusing(tot_grants_ex_transfers spop) |
data_for_analysis_nchs ← state_personal_income_per_capita_1930-1941 |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:1120ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1120
merge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/great_depression/state_personal_income_per_capita_1930-1941.dta", assert(1 3) nogen keepusing(stincome) |
data_for_analysis_nchs ← usa_00090_extract_1940_100_pct_collapsed |
merge 1:1 | state birthyear |
none | 5_online_appendix.do:1162ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1162
fmerge 1:1 state birthyear using "$PROJ_PATH/analysis/processed/intermediate/ipums/usa_00090_extract_1940_100_pct_collapsed.dta", keepusing(population) assert(2 3) keep(3) nogen |
(data in memory) ← us_counties |
join (inner) | fips |
none | create_county_map.R:60ICPSR_208062-V1.1/analysis/scripts/programs/create_county_map.R, line 60
inner_join(us_counties, by = c("fips")) |
4 · The sample — 41 keep/drop steps, 0 variables winsorized or trimmed
Filters, by kind
time period ×21
- keep if
year >= 1930 & year <= 19411_import_data.do:44
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 44 keep if year >= `start_year_births' & year <= `end_year_births' as we read it (macros filled in / loop expanded): keep if year >= 1930 & year <= 1941 - keep if
birthyear >= 1930 & birthyear <= 19411_import_data.do:191
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 191 keep if birthyear >= `start_year_births' & birthyear <= `end_year_births' as we read it (macros filled in / loop expanded): keep if birthyear >= 1930 & birthyear <= 1941 - keep if
birthyear >= 1930 & birthyear <= 19411_import_data.do:253
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 253 keep if birthyear >= `start_year_births' & birthyear <= `end_year_births' as we read it (macros filled in / loop expanded): keep if birthyear >= 1930 & birthyear <= 1941 - keep if
inrange(birthyear,1930,1941)1_import_data.do:333
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 333 keep if inrange(birthyear,`start_year_births',`end_year_births') as we read it (macros filled in / loop expanded): keep if inrange(birthyear,1930,1941) - keep if
birthyear >= 1930 & birthyear <= 19411_import_data.do:413
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 413 keep if birthyear >= `start_year_births' & birthyear <= `end_year_births' as we read it (macros filled in / loop expanded): keep if birthyear >= 1930 & birthyear <= 1941 - keep if
birthyear >= 1930 & birthyear <= 19411_import_data.do:496
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 496 keep if birthyear >= `start_year_births' & birthyear <= `end_year_births' as we read it (macros filled in / loop expanded): keep if birthyear >= 1930 & birthyear <= 1941 - keep if
year >= 1930 & year <= 19413_combine_data.do:182
ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 182 keep if year >= `start_year_births' & year <= `end_year_births' as we read it (macros filled in / loop expanded): keep if year >= 1930 & year <= 1941 - keep if
birthyear >= 1938 & birthyear <= 19413_combine_data.do:232
ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 232 keep if birthyear >= 1938 & birthyear <= 1941 - first 8 of 21
geography ×12
- keep if
state <= 561_import_data.do:101
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 101 keep if state <= 56 - keep if
statefip <= 561_import_data.do:124
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 124 keep if statefip <= 56 - keep if
state <= 56 & state != 2 & state != 11 & state != 151_import_data.do:254
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 254 keep if `state_restrictions' as we read it (macros filled in / loop expanded): keep if state <= 56 & state != 2 & state != 11 & state != 15 - keep if
nchs_state <= 511_import_data.do:299
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 299 keep if nchs_state <= 51 - keep if
state <= 56 & state != 2 & state != 11 & state != 151_import_data.do:328
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 328 keep if `state_restrictions' as we read it (macros filled in / loop expanded): keep if state <= 56 & state != 2 & state != 11 & state != 15 - keep if
state <= 56 & state != 2 & state != 11 & state != 151_import_data.do:414
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 414 keep if `state_restrictions' as we read it (macros filled in / loop expanded): keep if state <= 56 & state != 2 & state != 11 & state != 15 - keep if
state <= 56 & state != 2 & state != 11 & state != 151_import_data.do:497
ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 497 keep if `state_restrictions' as we read it (macros filled in / loop expanded): keep if state <= 56 & state != 2 & state != 11 & state != 15 - keep if
state != 2 & state != 15create_maps.R:52
ICPSR_208062-V1.1/analysis/scripts/programs/create_maps.R, line 52 filter(state != 2 & state != 15) - first 8 of 12
demographics ×3
- keep if
sex == `x'2_clean_data.do:71
ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 71 keep if sex == `x' - keep if
race == `x'2_clean_data.do:130
ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 130 keep if race == `x' - keep if
race == `x'2_clean_data.do:521
ICPSR_208062-V1.1/analysis/scripts/code/2_clean_data.do, line 521 keep if race == `x'
missing values ×3
- drop if
state_switcher == 0 & !missing(time_treated)4_tables_figures.do:458
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 458 drop if state_switcher == 0 & !missing(time_treated) - drop if
state_switcher == 0 & !missing(time_treated)5_online_appendix.do:196
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 196 drop if state_switcher == 0 & !missing(time_treated) - drop if
state_switcher == 0 & !missing(time_treated)5_online_appendix.do:237
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 237 drop if state_switcher == 0 & !missing(time_treated)
time windows set by a variable — a loop or a computed date, not fixed years (rolling estimation windows, not the sample period) ×2
- drop if
birthyear >= last_treated_year4_tables_figures.do:410
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 410 drop if birthyear >= last_treated_year - drop if
birthyear >= last_treated_year5_online_appendix.do:155
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 155 drop if birthyear >= last_treated_year
Outliers
No winsorizing or trimming recorded.
Missing values
interpolated / carried forward ×4
5_online_appendix.do:723
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 723 by state: ipolate population birthyear, gen(temp_pop) epolate5_online_appendix.do:799
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 799 by state: ipolate population birthyear, gen(temp_pop) epolate5_online_appendix.do:985
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 985 by state: ipolate population birthyear, gen(temp_pop) epolate5_online_appendix.do:1167
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1167 by state: ipolate population birthyear, gen(temp_pop) epolate
filled with a value ×4
population→temp_pop5_online_appendix.do:724
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 724 replace population = temp_pop if population == .population→temp_pop5_online_appendix.do:800
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 800 replace population = temp_pop if population == .population→temp_pop5_online_appendix.do:986
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 986 replace population = temp_pop if population == .population→temp_pop5_online_appendix.do:1168
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1168 replace population = temp_pop if population == .
dropped ×3
4_tables_figures.do:458
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 458 drop if state_switcher == 0 & !missing(time_treated)5_online_appendix.do:196
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 196 drop if state_switcher == 0 & !missing(time_treated)5_online_appendix.do:237
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 237 drop if state_switcher == 0 & !missing(time_treated)
common sample across variables (listwise) ×2
4_tables_figures.do:27
ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 27 local ybar_sample "!missing(time_treated) & birthyear <= 1933"5_online_appendix.do:36
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 36 local ybar_sample "!missing(time_treated) & birthyear <= 1933"
5 · Key variables — what enters the models, and where the code builds it
| Variable | Used in models as | Built by |
|---|---|---|
y1_deaths |
outcome in 19 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
y1_deaths_40to79 |
outcome in 1 | y1_deaths_40to79 = min(1000,1000*deaths_40to79/population) (gen) 5_online_appendix.do:1178ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1178
gen y1_deaths_40to79 = min(1000,1000*deaths_40to79/population) |
y1_deaths_40to90 |
outcome in 1 | y1_deaths_40to90 = min(1000,1000*deaths_40to90/population) (gen) 5_online_appendix.do:810ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 810
gen y1_deaths_40to90 = min(1000,1000*deaths_40to90/population) |
y1_deaths_50to79 |
outcome in 1 | y1_deaths_50to79 = min(1000,1000*deaths_50to79/population) (gen) 5_online_appendix.do:996ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 996
gen y1_deaths_50to79 = min(1000,1000*deaths_50to79/population) |
y1_deaths_50to90 |
outcome in 1 | y1_deaths_50to90 = min(1000,1000*deaths_50to90/population) (gen) 5_online_appendix.do:734ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 734
gen y1_deaths_50to90 = min(1000,1000*deaths_50to90/population) |
y1_deaths_adjust_denom |
outcome in 1 | y1_deaths_adjust_denom = min(1000,1000*deaths/(alive_jan01_plusinf)) (gen) 5_online_appendix.do:427ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 427
gen y1_deaths_adjust_denom = min(1000,1000*deaths/(alive_jan01_plusinf)) |
y1_deaths_plusinf |
outcome in 1 | y1_deaths_plusinf = min(1000,1000*deaths_plusinf/(alive_jan01_plusinf)) (gen) 5_online_appendix.do:431ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 431
gen y1_deaths_plusinf = min(1000,1000*deaths_plusinf/(alive_jan01_plusinf)) |
event |
regressor in 76 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
F |
regressor in 38 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
L |
regressor in 38 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
log_grants |
regressor in 1 | log_grants = ln(tot_grants_ex_transfers) (gen) 3_combine_data.do:70ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 70
gen log_grants = ln(tot_grants_ex_transfers) log_grants = ln(tot_grants_ex_transfers) (gen) 3_combine_data.do:436ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 436
gen log_grants = ln(tot_grants_ex_transfers) log_grants = ln(tot_grants_ex_transfers) (gen) 5_online_appendix.do:930ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 930
gen log_grants = ln(tot_grants_ex_transfers) +1 more statements set it |
log_stinc |
regressor in 1 | log_stinc = ln(stincome) (gen) 3_combine_data.do:76ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 76
gen log_stinc = ln(stincome) log_stinc = ln(stincome) (gen) 3_combine_data.do:442ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 442
gen log_stinc = ln(stincome) log_stinc = ln(stincome) (gen) 5_online_appendix.do:936ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 936
gen log_stinc = ln(stincome) +1 more statements set it |
treated |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
wet |
regressor in 1 | wet = (status == "wet") (gen) 1_import_data.do:52ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 52
gen wet = (status == "wet") wet = (status == "wet") (gen) 3_combine_data.do:190ICPSR_208062-V1.1/analysis/scripts/code/3_combine_data.do, line 190
gen wet = (status == "wet") wet = wet*stpop/total_pop (replace) 1_import_data.do:62ICPSR_208062-V1.1/analysis/scripts/code/1_import_data.do, line 62
replace wet = wet*stpop/total_pop +4 more statements set it |
6 · Models, by the table or figure they feed — 42 estimations, 26 traced into 8 exhibits
Table 1
· 6 estimations → table_1_aggregate_event_study_regressions.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:367ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 367
eststo p1_c1: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) written at 4_tables_figures.do:630 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:383ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 383
eststo p1_c2: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:630 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:436ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 436
eststo p1_c3: eventstudyinteract `depvar' L*event F*event [aw = `weight'], vce(cluster `clustervar') absorb(`absvar') cohort(time_treated) control_cohort(last_treated) covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], vce(cluster state_birthyear) absorb(birthyear##year state##year) cohort(time_treated) control_cohort(last_treated) covariates(log_grants log_stinc) written at 4_tables_figures.do:630 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:483ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 483
eststo p1_c4: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:630 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:527ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 527
eststo p1_c5: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:630 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state | 4_tables_figures.do:571ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 571
eststo p1_c6: eventstudyinteract `depvar' L*event F*event [aw = `weight'], vce(cluster state) absorb(`absvar') cohort(time_treated) control_cohort(never_treated) covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c6: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], vce(cluster state) absorb(birthyear##year state##year) cohort(time_treated) control_cohort(never_treated) covariates(log_grants log_stinc) written at 4_tables_figures.do:630 |
Table 2
· 7 estimations → table_2_cause_of_death.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:367ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 367
eststo p1_c1: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) written at 4_tables_figures.do:727 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:383ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 383
eststo p1_c2: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:727 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:436ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 436
eststo p1_c3: eventstudyinteract `depvar' L*event F*event [aw = `weight'], vce(cluster `clustervar') absorb(`absvar') cohort(time_treated) control_cohort(last_treated) covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], vce(cluster state_birthyear) absorb(birthyear##year state##year) cohort(time_treated) control_cohort(last_treated) covariates(log_grants log_stinc) written at 4_tables_figures.do:727 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:483ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 483
eststo p1_c4: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:727 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:527ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 527
eststo p1_c5: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:727 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state | 4_tables_figures.do:571ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 571
eststo p1_c6: eventstudyinteract `depvar' L*event F*event [aw = `weight'], vce(cluster state) absorb(`absvar') cohort(time_treated) control_cohort(never_treated) covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c6: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], vce(cluster state) absorb(birthyear##year state##year) cohort(time_treated) control_cohort(never_treated) covariates(log_grants log_stinc) written at 4_tables_figures.do:727 |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:684ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 684
eststo p1_c`n': eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c`n': eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:727 |
Table 3
· 7 estimations → table_3_heterogeneity.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:527ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 527
eststo p1_c5: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:963 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state | 4_tables_figures.do:571ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 571
eststo p1_c6: eventstudyinteract `depvar' L*event F*event [aw = `weight'], vce(cluster state) absorb(`absvar') cohort(time_treated) control_cohort(never_treated) covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c6: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], vce(cluster state) absorb(birthyear##year state##year) cohort(time_treated) control_cohort(never_treated) covariates(log_grants log_stinc) written at 4_tables_figures.do:963 |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:684ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 684
eststo p1_c`n': eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c`n': eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:963 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:775ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 775
eststo p1_c1: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:963 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:821ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 821
eststo p1_c2: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:963 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:867ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 867
eststo p1_c3: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:963 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:913ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 913
eststo p1_c4: eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 4_tables_figures.do:963 |
Table A2
· 5 estimations → table_a2_bounding_infant_deaths_by_year_1990_start.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:471ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 471
eststo p1_c1: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 5_online_appendix.do:600 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:491ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 491
eststo p1_c2: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 5_online_appendix.do:600 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:510ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 510
eststo p1_c3: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01_plusinf], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 5_online_appendix.do:600 |
eventstudyinteractdid |
y1_deaths_adjust_denom |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:529ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 529
eststo p1_c4: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths_adjust_denom L*event F*event [aw = alive_jan01_plusinf], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants lo … written at 5_online_appendix.do:600 |
eventstudyinteractdid |
y1_deaths_plusinf |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:547ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 547
eststo p1_c5: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths_plusinf L*event F*event [aw = alive_jan01_plusinf], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_sti … written at 5_online_appendix.do:600 |
Table A3
· 7 estimations → table_a3_life_cycle_mortality.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:652ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 652
eststo p1_c1: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1269 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:670ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 670
eststo p1_c2: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight' if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01] if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1269 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:690ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 690
eststo p1_c3: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1269 |
eventstudyinteractdid |
y1_deaths_50to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:771ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 771
eststo p1_c4: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths_50to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1269 |
eventstudyinteractdid |
y1_deaths_40to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:847ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 847
eststo p1_c5: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths_40to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1269 |
eventstudyinteractdid |
y1_deaths_50to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1033ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1033
eststo p1_c6: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c6: eventstudyinteract y1_deaths_50to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1269 |
eventstudyinteractdid |
y1_deaths_40to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1215ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1215
eststo p1_c7: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c7: eventstudyinteract y1_deaths_40to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1269 |
Table B1
· 8 estimations → table_b1_extended_panel.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:652ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 652
eststo p1_c1: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:670ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 670
eststo p1_c2: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight' if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01] if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:690ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 690
eststo p1_c3: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
eventstudyinteractdid |
y1_deaths_50to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:771ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 771
eststo p1_c4: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths_50to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
eventstudyinteractdid |
y1_deaths_40to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:847ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 847
eststo p1_c5: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths_40to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
eventstudyinteractdid |
y1_deaths_50to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1033ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1033
eststo p1_c6: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c6: eventstudyinteract y1_deaths_50to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
eventstudyinteractdid |
y1_deaths_40to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1215ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1215
eststo p1_c7: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c7: eventstudyinteract y1_deaths_40to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:1462ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1462
eststo p1_c`n': eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c`n': eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) written at 5_online_appendix.do:1501 |
Table C1
· 8 estimations → table_c1_continuous_treatment.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:652ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 652
eststo p1_c1: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1572 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:670ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 670
eststo p1_c2: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight' if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01] if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1572 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:690ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 690
eststo p1_c3: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1572 |
eventstudyinteractdid |
y1_deaths_50to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:771ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 771
eststo p1_c4: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths_50to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1572 |
eventstudyinteractdid |
y1_deaths_40to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:847ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 847
eststo p1_c5: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths_40to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1572 |
eventstudyinteractdid |
y1_deaths_50to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1033ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1033
eststo p1_c6: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c6: eventstudyinteract y1_deaths_50to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1572 |
eventstudyinteractdid |
y1_deaths_40to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1215ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1215
eststo p1_c7: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c7: eventstudyinteract y1_deaths_40to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1572 |
reghdfepanel fe |
y1_``n'' |
wet log_grants log_stinc
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:1536ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1536
eststo p1_c`n': reghdfe `depvar' wet `controls' [aw = `weight'], absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
eststo p1_c`n': reghdfe y1_``n'' wet log_grants log_stinc [aw = alive_jan01], absorb(birthyear##year state##year) vce(cluster state_birthyear) written at 5_online_appendix.do:1572 |
Table D1
· 8 estimations → table_d1_cumulative.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:652ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 652
eststo p1_c1: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c1: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:670ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 670
eststo p1_c2: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight' if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c2: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01] if state != 53, cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:690ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 690
eststo p1_c3: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c3: eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
eventstudyinteractdid |
y1_deaths_50to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:771ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 771
eststo p1_c4: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c4: eventstudyinteract y1_deaths_50to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
eventstudyinteractdid |
y1_deaths_40to90 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:847ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 847
eststo p1_c5: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c5: eventstudyinteract y1_deaths_40to90 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
eventstudyinteractdid |
y1_deaths_50to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1033ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1033
eststo p1_c6: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c6: eventstudyinteract y1_deaths_50to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
eventstudyinteractdid |
y1_deaths_40to79 |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1215ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1215
eststo p1_c7: eventstudyinteract `bounding_depvar' L*event F*event `bounding_weight', cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c7: eventstudyinteract y1_deaths_40to79 L*event F*event [aw = population], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1778ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1778
eststo p1_c`n': eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`unit_id' `time_id') vce(cluster `unit_id') covariates(`controls')
as we read it (macros filled in / loop expanded):
eststo p1_c`n': eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(state birthyear) vce(cluster state) covariates(log_grants log_stinc) written at 5_online_appendix.do:1816 |
Estimations not traced to a table or figure · 16
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
y1_deaths |
age | cluster: state_birthyear | 4_tables_figures.do:147ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 147
reghdfe `depvar' [aw = `weight'], absorb(age) vce(cluster `clustervar') residuals(partial_`depvar')
as we read it (macros filled in / loop expanded):
reghdfe y1_deaths [aw = alive_jan01], absorb(age) vce(cluster state_birthyear) residuals(partial_y1_deaths) |
|
reghdfepanel fe |
y1_``n'' |
F*event L*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:233ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 233
reghdfe `depvar' F*event L*event [aw = `weight'], absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
reghdfe y1_``n'' F*event L*event [aw = alive_jan01], absorb(birthyear##year state##year) vce(cluster state_birthyear) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 4_tables_figures.do:256ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 256
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:135ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 135
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:181ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 181
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(last_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(last_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:222ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 222
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:263ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 263
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar') covariates(`controls')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) covariates(log_grants log_stinc) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state | 5_online_appendix.do:301ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 301
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster state) covariates(`controls')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state) covariates(log_grants log_stinc) |
reghdfepanel fe |
y1_``n'' |
F*event L*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:1337ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1337
reghdfe `depvar' F*event L*event [aw = `weight'], absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
reghdfe y1_``n'' F*event L*event [aw = alive_jan01], absorb(birthyear##year state##year) vce(cluster state_birthyear) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:1360ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1360
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) |
did_multiplegtdid |
y1_``n'' |
treated
|
— | cluster: state | 5_online_appendix.do:1624ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1624
did_multiplegt `depvar' `unit_id' `time_id' treated, robust_dynamic dynamic(`t_max') placebo(4) longdiff_placebo breps(100) cluster(`unit_id') `wgt'
as we read it (macros filled in / loop expanded):
did_multiplegt y1_``n'' state birthyear treated, robust_dynamic dynamic(abs(r(max))) placebo(4) longdiff_placebo breps(100) cluster(state) `wgt' |
csdiddid |
y1_``n'' |
`iw'
|
— | default | 5_online_appendix.do:1631ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1631
csdid `depvar' `iw', ivar(`unit_id') time(`time_id') gvar(gvar) agg(event)
as we read it (macros filled in / loop expanded):
csdid y1_``n'' `iw', ivar(state) time(birthyear) gvar(gvar) agg(event) |
reghdfepanel fe |
y1_``n'' |
F*event L*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1653ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1653
reghdfe `depvar' F*event L*event [aw = `weight'], absorb(`unit_id' `time_id') vce(cluster `unit_id')
as we read it (macros filled in / loop expanded):
reghdfe y1_``n'' F*event L*event [aw = alive_jan01], absorb(state birthyear) vce(cluster state) |
eventstudyinteractdid |
y1_``n'' |
L*event F*event
|
state, birthyear | cluster: state | 5_online_appendix.do:1675ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1675
eventstudyinteract `depvar' L*event F*event [aw = `weight'], vce(cluster `unit_id') absorb(`unit_id' `time_id') cohort(time_treated) control_cohort(never_treated)
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_``n'' L*event F*event [aw = alive_jan01], vce(cluster state) absorb(state birthyear) cohort(time_treated) control_cohort(never_treated) |
reghdfepanel fe |
y1_deaths |
F*event L*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:1886ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1886
reghdfe `depvar' F*event L*event [aw = `weight'], absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
reghdfe y1_deaths F*event L*event [aw = alive_jan01], absorb(birthyear##year state##year) vce(cluster state_birthyear) |
eventstudyinteractdid |
y1_deaths |
L*event F*event
|
birthyear##year, state##year | cluster: state_birthyear | 5_online_appendix.do:1910ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1910
eventstudyinteract `depvar' L*event F*event [aw = `weight'], cohort(time_treated) control_cohort(never_treated) absorb(`absvar') vce(cluster `clustervar')
as we read it (macros filled in / loop expanded):
eventstudyinteract y1_deaths L*event F*event [aw = alive_jan01], cohort(time_treated) control_cohort(never_treated) absorb(birthyear##year state##year) vce(cluster state_birthyear) |
Tables and figures the code writes:
Table A1
table_a1_icd_crosswalk.tex 5_online_appendix.do:359
ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 359
file open myfile using "$PROJ_PATH/analysis/output/appendix/table_a1_icd_crosswalk.tex", write text replace
7 · Figures: how each is drawn — 11 figures in the code (command, layers, options, the file it is saved to)
event-study plot 5 · line 3 · map 3
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
twowayline
|
connected + connected + pcarrow |
y ethanol, y1, y2
x year, x1, x2
|
xtitle Year · xline 1920, 1933 · legend off |
Figure 1Afigure_1a_ethanol_consumption.png |
4_tables_figures.do:63ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 63
twoway ///
|| connected ethanol year if year <= 1919, lw(1.0) col("230 65 115") msymbol(none) lp(solid) /// connect estimates
|| connected ethanol year if year >= 1934, lw(1.0) col("230 65 115") msymbol(none) lp( … |
twowayline
|
connected + pcarrow |
y wet_pop_shr, y1, y2
x birthyear, x1, x2
|
xtitle Year · xline 1934 · legend off |
Figure 1Bfigure_1b_shr_pop_treated.png |
4_tables_figures.do:109ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 109
twoway ///
|| connected wet_pop_shr birthyear if birthyear >= 1934, lw(1.0) col("230 65 115") msymbol(none) lp(solid) /// connect estimates
|| pcbarrow y1 x1 y2 x2, lw(1.0) col("230 65 115") mstyle(none) lp(solid … |
twowayline
|
connected + connected |
y partial_state_dr
x birthyear
|
xtitle Birth Year · xline 1934 · legend off |
Figure 1Dfigure_1d_resid_death_by_birthyear.png |
4_tables_figures.do:157ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 157
twoway ///
|| connected `yvar' birthyear if ever_treated == 0, lw(.5) lcolor("black") lp(longdash) msymbol(none) ///
|| connected `yvar' birthyear if ever_treated == 1, lw(1) lcolor("230 65 115") lp(line) msymbol(none) … |
event_plotevent-study plot
|
event_plot |
estimates sa_b#sa_v, ols
|
xtitle Years since state becomes wet · ytitle Average causal effect · xline -0.5 · yline 0 · ci rcap · legend order(1 Sun and Abraham (2021) 3 TWFE OLS) rows(1) position(6) size(6) region(style(none)) |
Figure A2figure_`figpart'_event_study_``n''.png (set at run time) |
4_tables_figures.do:305ICPSR_208062-V1.1/analysis/scripts/code/4_tables_figures.do, line 305
event_plot sa_b#sa_v ols, ///
stub_lag(L#event L#event) stub_lead(F#event F#event) ///
plottype(scatter) ciplottype(rcap) ///
together trimlead(4) trimlag(4) noautolegend ///
graph_opt( ///
subtit … |
event_plotevent-study plot
|
event_plot |
estimates sa_b#sa_v, sa_b_last#sa_v_last, sa_b_state#sa_v_state, sa_b_majority#sa_v_majority, sa_b_cluster#sa_v_cluster
|
xtitle Years since state becomes wet · ytitle Average causal effect · xline -0.5 · yline 0 · ci rcap · legend order(1 Baseline + controls 3 Last treated as control 5 State transitions 7 Majority transitions 9 Cluster at state level) rows(2) position(6) size(6) |
Figure A3Dfigure_a3`figpan'_es_robust_controls_``n''.png (set at run time) |
5_online_appendix.do:330ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 330
event_plot sa_b#sa_v sa_b_last#sa_v_last sa_b_state#sa_v_state sa_b_majority#sa_v_majority sa_b_cluster#sa_v_cluster, ///
stub_lag(L#event L#event L#event L#event L#event) stub_lead(F#event F#event F#event F#event F# … |
event_plotevent-study plot
|
event_plot |
estimates sa_b#sa_v, ols
|
xtitle Years since state becomes wet · ytitle Average causal effect · xline -0.5 · yline 0 · ci rcap · legend order(1 Sun and Abraham (2021) 3 TWFE OLS) rows(1) position(6) size(6) region(style(none)) |
Figure B1Dfigure_b1`figpan'_es_extended_panel_``n''.png (set at run time) |
5_online_appendix.do:1398ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1398
event_plot sa_b#sa_v ols, ///
stub_lag(L#event L#event) stub_lead(F#event F#event) ///
plottype(scatter) ciplottype(rcap) ///
together trimlead(4) trimlag(4) noautolegend ///
graph_opt( ///
subtit … |
event_plotevent-study plot
|
event_plot |
estimates sa_b#sa_v, ols, dcdh_b#dcdh_v, cs_b#cs_v
|
xtitle Years since state becomes wet · ytitle Average causal effect · xline -0.5 · yline 0 · ci rcap · legend order(1 Sun and Abraham (2021) 3 TWFE OLS 5 de Chaisemartin-D'Haultfoeuille (2020) 7 Callaway and Sant'Anna (2021)) size(5) rows(2) position(6) region(s |
Figure D1Dfigure_d1`figpan'_es_cumulative_``n''.png (set at run time) |
5_online_appendix.do:1709ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1709
event_plot sa_b#sa_v ols dcdh_b#dcdh_v cs_b#cs_v, ///
stub_lag(L#event L#event Effect_# Tp#) stub_lead(F#event F#event Placebo_# Tm#) ///
plottype(scatter) ciplottype(rcap) ///
together perturb(-0.15(0.1)0.15 … |
event_plotevent-study plot
|
event_plot |
estimates sa_b#sa_v, ols
|
xtitle Years since state becomes wet · ytitle Average causal effect · xline -0.5 · yline 0 · ci rcap · legend order(1 Sun and Abraham (2021) 3 TWFE OLS) rows(1) position(6) size(6) region(style(none)) |
Figure E1Dfigure_e1`figpan'_event_study_`suffix_`n''.png (set at run time) |
5_online_appendix.do:1943ICPSR_208062-V1.1/analysis/scripts/code/5_online_appendix.do, line 1943
event_plot sa_b#sa_v ols, ///
stub_lag(L#event L#event) stub_lead(F#event F#event) ///
plottype(scatter) ciplottype(rcap) ///
together trimlead(4) trimlag(4) noautolegend ///
graph_opt( ///
subtit … |
ggplotmap
|
sf + sf |
Figure C1figure_c1_county_wet_map.png |
create_county_map.R:66ICPSR_208062-V1.1/analysis/scripts/programs/create_county_map.R, line 66
wet_map <- ggplot() + |
||
ggplotmap
|
sf + sf |
Figure 1Cfigure_1c_wet_map.png |
create_maps.R:73ICPSR_208062-V1.1/analysis/scripts/programs/create_maps.R, line 73
wet_map <- ggplot() + |
||
ggplotmap
|
sf + sf |
Figure C2figure_c2_continuous_map.png |
create_maps.R:88ICPSR_208062-V1.1/analysis/scripts/programs/create_maps.R, line 88
continuous_map <- ggplot() + |