The Journal of Finance · 2020 · 10.1111/jofi.12964
The Impact of Supervision on Bank Performance
Beverly Hirtle; Anna Kovner; Matthew Plosser
Review history
Received 8 Nov 2016 → accepted 25.6 months later.
Received: 8 Nov 2016Accepted: 28 Dec 2018
Received → accepted. The Journal of Finance, papers printed 2020–2022: median 18.8 months (middle half 13.8–27.5), 208 papers measured. This paper: 25.6 months, longer than the median.
Dates as printed where the paper's main text ends; read from the paper's text, not from publisher metadata. Journal medians leave out: under 14 days, out of order, special issue / invited, implausible year — the same papers /review-times leaves out.
The research recipe, read from the replication code
other
· stata
2006–…
sample period in the code
39
keep/drop statements
2
winsorizations
146
missing-data rules
15
de-duplications
10
distinct estimations
Sample period in the code: the latest start and earliest end its separate keep/drop filters impose —
table2_hours_regs_jf.do:212 and 2 other files; other windows in the code: 1991–1991, 2014–2014.
These tiles count distinct estimations (one per command, method, inference, fixed effects and file) and keep/drop statements.
"How the code gets from data to results" below counts every estimating statement (30)
and keep/drop statements plus winsorized variables (41).
1 · Data and structure
Databases read: none detected
Panel declared as:
entity × date2 · How the sample is built
- drop value range ×9
- drop missing data ×7
- drop indicator subset ×5
- drop time period ×5
- keep time period ×3
- keep value range ×3
- keep observation position ×2
- keep indicator subset ×2
Reshaping:
drop duplicate rows ×15; collapse to a coarser unit ×10; expand (duplicate) rows ×2; reshape long/wide ×1
3 · Design and validation
Identification: instrumental variables, matching
IV diagnostics: first stage f
Outcome transforms: log plus one
Standard measures:
Log Total Assets
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
iv | cluster by entity | table10_2SLS_jf.do | |
|
ols | cluster by entity | table2_hours_regs_jf.do | |
|
ols | cluster by entity | table2_hours_regs_jf.do | |
|
ols | cluster by entity | table45_summary_statistics_jf.do | |
|
ols | trt_qt | cluster by entity | table6_downturn_jf.do |
|
ols | trt_qt | cluster by entity | tables789_regress_ols_levels_jf.do |
|
ols | fevar | cluster by entity | data_assemble_4_jf.do |
|
ols | date | cluster by entity | data_assemble_4_jf.do |
|
matching | default | match_criteria_jf.do | |
|
ols | default | sensitivity_to_market_jf.do |
5 · What it produces
6 table files and 2 figure files
(? 7, png 1);
24 estimates traced from the model that produced them into the exhibit that reports them.
t10_reg_`top_type'_2sls_t2c2_exlgt6_reg_stkdownturn_`top_typet_789_reg_`instr'_`reg_file1'`tlength'_nocontrols_mb_controls`controls_use'_nn`nn'`dropNYlabelt2_hours_`vart3_hours_`varresiduals_graph_`dset'.pngHow the code gets from data to results own page
20
scripts
9
input files
26
file hand-offs
36
merges
41
sample steps
30
estimations
1 · Data in — files the code reads and no script of the package writes
Other input files
9 files
${data_path}/pseudo/pseudo_stock_prices_entities_matched_to_permco.dtaStata · read by 2 scriptsaggregate_data_jf.do:102
code/construction/aggregate_data_jf.do, line 102 merge 1:1 entity date using "${data_path}/pseudo/pseudo_stock_prices_entities_matched_to_permco.dta", nogen keep(1 3) keepusing(flag_public `mktvars') // Stock measures based on CRSP -- PSEUDO${data_path}/raw/qbhc_nc_clean.dtaStata · read by 2 scriptsbhc_size_distribution_by_district_jf.do:8
code/analysis/bhc_size_distribution_by_district_jf.do, line 8 use "${data_path}/raw/qbhc_nc_clean.dta", clear${data_path}/raw/raw_relationships.dtaStata · read by 2 scriptsclean_nat_sub_relationships_jf.do:7
code/construction/clean_nat_sub_relationships_jf.do, line 7 use id_rssd_parent id_rssd_offspring d_dt_start d_dt_end pct_equity using "${data_path}/raw/raw_relationships.dta", clear${data_path}/raw/reshaped_reghh.dtaStata · read by 2 scriptsdata_assemble_1_jf.do:130
code/construction/data_assemble_1_jf.do, line 130 merge 1:1 entity date using "${data_path}/raw/reshaped_reghh.dta", keep(1 3) keepusing(reghh1 fgnfamid)${data_path}/pseudo/pseudo_deposit_share_by_cnty.dtaStataaggregate_data_jf.do:99
code/construction/aggregate_data_jf.do, line 99 merge 1:1 entity date using "${data_path}/pseudo/pseudo_deposit_share_by_cnty.dta", keep(1 3) nogen keepusing(depsum_share_bhc_cnty) //Deposit share data based on SOD including non-public years-- PSEUDO${data_path}/pseudo/pseudo_rmi_data_clean.dtaStataaggregate_data_jf.do:106
code/construction/aggregate_data_jf.do, line 106 merge 1:1 entity date using "${data_path}/pseudo/pseudo_rmi_data_clean.dta", keep(1 3) nogen keepusing(`rmi') //Created in clean_RMI -- PSEUDO${data_path}/pseudo/pseudo_supervisory_data.dtaStataaggregate_data_jf.do:105
code/construction/aggregate_data_jf.do, line 105 merge 1:1 entity date using "${data_path}/pseudo/pseudo_supervisory_data.dta", nogen keep(1 3) keepusing(`sup_vars' `ratings' hours tot_sub_cnt) //adds subsidiary count, enforcement actions, ratings, hours by BHC -- PSEUDO${data_path}/raw/qbank_nc_clean.dtaStatadata_assemble_3_jf.do:7
code/construction/data_assemble_3_jf.do, line 7 use entity date name rssd9348 entity_type assets if entity_type=="NAT" using "${data_path}/raw/qbank_nc_clean.dta", clear
1 more
${data_path}/raw/supervisory_district.dtaStatadata_assemble_1_jf.do:54
code/construction/data_assemble_1_jf.do, line 54 merge 1:1 entity date using "${data_path}/raw/supervisory_district.dta", nogen keep(1 3) keepusing(supervisory_district)
Plus 2 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
20 scripts, in run order for the master script master_jf.do and the 18 scripts it runs (directly or through each other); the other 1 are not run by a master script and follow in file-name order;
26 hand-offs through 16 intermediate files; 5 files written and never read back (outputs).
-
1.
code/construction/label_lhsc_vars_jf.dosetup file sourced by 5 scripts -
2.
code/master_jf.domaster script -
3.
code/construction/data_assemble_1_jf.dorun by code/master_jf.do line 32 reads 3 input files · 2 merges ·writesdata_assemble_1_jf.dta→ read bydata_assemble_2_jf.do -
4.
code/construction/data_assemble_2_jf.dorun by code/master_jf.do line 33reads whatdata_assemble_1_jf.dowrotewritesBHCdata_jf.dta→ read bydata_assemble_3_jf.do,clean_nat_sub_relationships_jf.do,clean_relationships_for_y9c_jf.do,data_assemble_4_jf.do,aggregate_data_jf.do,sensitivity_to_market_jf.do -
5.
code/construction/data_assemble_3_jf.dorun by code/master_jf.do line 34 reads 2 input files · 6 merges ·reads whatdata_assemble_2_jf.do,clean_nat_sub_relationships_jf.do,clean_relationships_for_y9c_jf.dowrotewritesnat_bank_ids.dta→ read byclean_nat_sub_relationships_jf.dowritessmb_sub_ids.dta→ read byclean_relationships_for_y9c_jf.dowritesy9c_nat_assets_jf.dta→ read byaggregate_data_jf.dowritesy9c_smb_assets_jf.dta→ read byaggregate_data_jf.do -
6.
code/construction/clean_nat_sub_relationships_jf.dorun by code/construction/data_assemble_3_jf.do line 28 reads 1 input file · 2 merges ·reads whatdata_assemble_2_jf.do,data_assemble_3_jf.dowrotewritesnat_sub_parent_ownership.dta→ read bydata_assemble_3_jf.do -
7.
code/construction/clean_relationships_for_y9c_jf.dorun by code/construction/data_assemble_3_jf.do line 84 reads 1 input file · 2 merges ·reads whatdata_assemble_2_jf.do,data_assemble_3_jf.dowrotewritessmb_sub_parent_ownership.dta→ read bydata_assemble_3_jf.do -
8.
code/construction/data_assemble_4_jf.dorun by code/master_jf.do line 35 2 estimationsreads whatdata_assemble_2_jf.dowrotewritesdiscretionary_vars_jf.dta→ read byaggregate_data_jf.do -
9.
code/construction/aggregate_data_jf.dorun by code/master_jf.do line 40 reads 4 input files · 8 merges ·reads whatdata_assemble_2_jf.do,data_assemble_3_jf.do,data_assemble_4_jf.dowrotewritesagg_data_full_jf→ read bytable45_summary_statistics_jf.do,table6_downturn_jf.dowritesagg_data_full_jf.dta→ read bymatch_criteria_jf.do,prep_reg_file_jf.do,table2_hours_regs_jf.do,sensitivity_to_market_jf.do,table10_2SLS_jf.do -
10.
code/construction/match_criteria_jf.dorun by code/master_jf.do line 43 2 merges · 2 estimationsreads whataggregate_data_jf.dowrotewritesmatches_`top_type'_controls`controls_use'_nn`nn'_jf.dta→ read byprep_reg_file_jf.do,table45_summary_statistics_jf.do,table6_downturn_jf.dowritesmatches_`top_type'_top15_controls`controls_use'_nn`nn'_jf.dta→ read byprep_reg_file_jf.dowrites (not read again):comm_support_`j'.dta,comm_support_below_`j'.dta -
11.
code/construction/prep_reg_file_jf.dorun by code/master_jf.do line 46 3 merges ·reads whataggregate_data_jf.do,match_criteria_jf.dowrotewritesprereg_`top_type'_controls`controls_use'_nn`nn'_jf.dta→ read bytables789_regress_ols_levels_jf.do -
12.
code/analysis/bhc_size_distribution_by_district_jf.dorun by code/master_jf.do line 50 reads 1 input file ·writes (not read again):t1_bhc_size_distribution.xlsx -
13.
code/analysis/table2_hours_regs_jf.dorun by code/master_jf.do line 53 20 estimationsreads whataggregate_data_jf.dowrote -
14.
code/analysis/table45_summary_statistics_jf.dorun by code/master_jf.do line 56 2 merges · 1 estimationreads whataggregate_data_jf.do,match_criteria_jf.dowrotewrites (not read again):t_4_5_`top_type'_paper_tables_jf.xlsx -
15.
code/construction/sensitivity_to_market_jf.doreads 1 input file · 12 merges · 2 estimationsreads whatdata_assemble_2_jf.do,aggregate_data_jf.dowrotewritesweighted_means_jf→ read bydownturns_jf.dowrites (not read again):market_sensitivity_coefficients_jf -
16.
code/analysis/downturns_jf.dorun by code/master_jf.do line 59reads whatsensitivity_to_market_jf.dowrotewritesdownturns.dta→ read bytable6_downturn_jf.do -
17.
code/analysis/table6_downturn_jf.dorun by code/master_jf.do line 60 3 merges · 1 estimationreads whataggregate_data_jf.do,match_criteria_jf.do,downturns_jf.dowrote -
18.
code/analysis/tables789_regress_ols_levels_jf.dorun by code/master_jf.do line 63 1 estimationreads whatprep_reg_file_jf.dowrote -
19.
code/analysis/table10_2SLS_jf.dorun by code/master_jf.do line 66 1 estimationreads whataggregate_data_jf.dowrote -
20.
code/analysis/graph_hours_residuals_jf.dorun by code/master_jf.do line 69
3 · Merges — 36 joins, 0 followed by a check of the merge result; 6 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
qbhc_nc_clean ← supervisory_district |
merge 1:1 | entity date |
none | data_assemble_1_jf.do:54code/construction/data_assemble_1_jf.do, line 54
merge 1:1 entity date using "${data_path}/raw/supervisory_district.dta", nogen keep(1 3) keepusing(supervisory_district) |
qbhc_nc_clean ← reshaped_reghh |
merge 1:1 | entity date |
none | data_assemble_1_jf.do:130code/construction/data_assemble_1_jf.do, line 130
merge 1:1 entity date using "${data_path}/raw/reshaped_reghh.dta", keep(1 3) keepusing(reghh1 fgnfamid) |
qbank_nc_clean ← reshaped_reghh |
merge 1:1 | entity date |
none | data_assemble_3_jf.do:15code/construction/data_assemble_3_jf.do, line 15
merge 1:1 entity date using "${data_path}/raw/reshaped_reghh.dta", keep(1 3) keepusing(reghh1 fgnfamid) nogen |
nat ← nat_sub_parent_ownership |
merge 1:m | sub_id date |
none | data_assemble_3_jf.do:34code/construction/data_assemble_3_jf.do, line 34
merge 1:m sub_id date using "${data_path}/tmp/nat_sub_parent_ownership.dta", nogen keep(3) keepusing(sub_id date entity pct_equity) |
nat ← bhcdata_jf |
merge m:1 | entity date |
none | data_assemble_3_jf.do:37code/construction/data_assemble_3_jf.do, line 37
merge m:1 entity date using "${data_path}/intermediate/BHCdata_jf.dta", nogen keep(3) keepusing(entity assets flag_foreign) |
qbank_nc_clean ← reshaped_reghh |
merge 1:1 | entity date |
none | data_assemble_3_jf.do:71code/construction/data_assemble_3_jf.do, line 71
merge 1:1 entity date using "${data_path}/raw/reshaped_reghh.dta", keep(1 3) keepusing(reghh1 fgnfamid) nogen |
smb ← smb_sub_parent_ownership |
merge 1:m | sub_id date |
none | data_assemble_3_jf.do:90code/construction/data_assemble_3_jf.do, line 90
merge 1:m sub_id date using "${data_path}/tmp/smb_sub_parent_ownership.dta", nogen keep(3) keepusing(sub_id date entity pct_equity) |
smb ← bhcdata_jf |
merge m:1 | entity date |
none | data_assemble_3_jf.do:93code/construction/data_assemble_3_jf.do, line 93
merge m:1 entity date using "${data_path}/intermediate/BHCdata_jf.dta", nogen keep(3) keepusing(entity assets flag_foreign) |
raw_relationships ← nat_bank_ids |
merge m:1 | sub_id |
none | clean_nat_sub_relationships_jf.do:38code/construction/clean_nat_sub_relationships_jf.do, line 38
merge m:1 sub_id using "${data_path}/tmp/nat_bank_ids.dta", nogen keep(3) |
tmp1 ← us_bhc_ids |
merge m:1 | entity |
none | clean_nat_sub_relationships_jf.do:54code/construction/clean_nat_sub_relationships_jf.do, line 54
merge m:1 entity using "${data_path}/tmp/us_bhc_ids.dta", keep(3) keepusing(entity) |
raw_relationships ← smb_sub_ids |
merge m:1 | sub_id |
none | clean_relationships_for_y9c_jf.do:38code/construction/clean_relationships_for_y9c_jf.do, line 38
merge m:1 sub_id using "${data_path}/tmp/smb_sub_ids.dta", nogen keep(3) |
tmp1 ← us_bhc_ids |
merge m:1 | entity |
none | clean_relationships_for_y9c_jf.do:54code/construction/clean_relationships_for_y9c_jf.do, line 54
merge m:1 entity using "${data_path}/tmp/us_bhc_ids.dta", keep(3) keepusing(entity) |
bhcdata_jf ← y9c_smb_assets_jf |
merge 1:1 | entity date |
none | aggregate_data_jf.do:93code/construction/aggregate_data_jf.do, line 93
merge 1:1 entity date using "${data_path}/intermediate/y9c_smb_assets_jf.dta", nogen keep(1 3) ///
keepusing(p_sub_assets p_smb_ass_ab10b p_smb_ass_bw10b) |
bhcdata_jf ← y9c_nat_assets_jf |
merge 1:1 | entity date |
none | aggregate_data_jf.do:95code/construction/aggregate_data_jf.do, line 95
merge 1:1 entity date using "${data_path}/intermediate/y9c_nat_assets_jf.dta", keep(1 3) keepusing(nat_subass_pct) //created in data_assemble_3 |
bhcdata_jf ← discretionary_vars_jf |
merge 1:1 | entity date |
none | aggregate_data_jf.do:96code/construction/aggregate_data_jf.do, line 96
merge 1:1 entity date using "${data_path}/intermediate/discretionary_vars_jf.dta", keep(1 3) nogen keepusing(`gov_vars') //data_assemble_4 |
bhcdata_jf ← pseudo_deposit_share_by_cnty |
merge 1:1 | entity date |
none | aggregate_data_jf.do:99code/construction/aggregate_data_jf.do, line 99
merge 1:1 entity date using "${data_path}/pseudo/pseudo_deposit_share_by_cnty.dta", keep(1 3) nogen keepusing(depsum_share_bhc_cnty) //Deposit share data based on SOD including non-public years-- PSEUDO |
bhcdata_jf ← pseudo_stock_prices_entities_matched_to_permco |
merge 1:1 | entity date |
none | aggregate_data_jf.do:102code/construction/aggregate_data_jf.do, line 102
merge 1:1 entity date using "${data_path}/pseudo/pseudo_stock_prices_entities_matched_to_permco.dta", nogen keep(1 3) keepusing(flag_public `mktvars') // Stock measures based on CRSP -- PSEUDO |
bhcdata_jf ← pseudo_supervisory_data |
merge 1:1 | entity date |
none | aggregate_data_jf.do:105code/construction/aggregate_data_jf.do, line 105
merge 1:1 entity date using "${data_path}/pseudo/pseudo_supervisory_data.dta", nogen keep(1 3) keepusing(`sup_vars' `ratings' hours tot_sub_cnt) //adds subsidiary count, enforcement actions, ratings, hours by BHC -- PSEUDO |
bhcdata_jf ← pseudo_rmi_data_clean |
merge 1:1 | entity date |
none | aggregate_data_jf.do:106code/construction/aggregate_data_jf.do, line 106
merge 1:1 entity date using "${data_path}/pseudo/pseudo_rmi_data_clean.dta", keep(1 3) nogen keepusing(`rmi') //Created in clean_RMI -- PSEUDO |
(data in memory) ← reghh |
merge m:1 | reghh |
none | aggregate_data_jf.do:224code/construction/aggregate_data_jf.do, line 224
merge m:1 reghh using `reghh', keep(1 3) gen(hh_insample) |
orig ← agg_data_full_jf |
merge m:1 | entity date |
none | prep_reg_file_jf.do:85code/construction/prep_reg_file_jf.do, line 85
merge m:1 entity date using "${data_path}/final/agg_data_full_jf.dta", keep(1 3) ///
keepusing(name custom_top loghrs supervisory_district ///
`risk_vars' `governance' `performance' `supervis … |
orig ← agg_data_full_jf |
merge m:1 | entity date |
none | table45_summary_statistics_jf.do:59code/analysis/table45_summary_statistics_jf.do, line 59
merge m:1 entity date using "${data_path}/final/agg_data_full_jf", ///
keepusing(assets name state_abbr_nm cntry_nm *untrim ///
supervisory_district `focus_vars' `new_var' `match_ch … |
agg_data_full_jf ← bhcdata_jf |
merge 1:1 | entity date |
none | sensitivity_to_market_jf.do:7code/construction/sensitivity_to_market_jf.do, line 7
merge 1:1 entity date using "${data_path}/intermediate/BHCdata_jf.dta", nogen keep(1 3) keepusing(*_rre *_cre *_ci *_cons ln_tot npl_tot asset_ytygr_forward_trim) |
roa ← mktmeasures |
merge 1:1 | date |
none | sensitivity_to_market_jf.do:69code/construction/sensitivity_to_market_jf.do, line 69
merge 1:1 date using `mktmeasures', nogen |
roa ← mktmeasures_mean |
merge 1:1 | date |
none | sensitivity_to_market_jf.do:70code/construction/sensitivity_to_market_jf.do, line 70
merge 1:1 date using `mktmeasures_mean', nogen |
roa ← sdroa_f |
merge 1:1 | date |
none | sensitivity_to_market_jf.do:71code/construction/sensitivity_to_market_jf.do, line 71
merge 1:1 date using `sdroa_f', nogen |
roa ← asset_growth |
merge 1:1 | date |
none | sensitivity_to_market_jf.do:72code/construction/sensitivity_to_market_jf.do, line 72
merge 1:1 date using `asset_growth', nogen |
roa ← `npl_perc_`sub'' |
merge 1:1 | date |
none | sensitivity_to_market_jf.do:74code/construction/sensitivity_to_market_jf.do, line 74
merge 1:1 date using `npl_perc_`sub'', nogen |
weighted_means_jf ← roa |
merge m:1 | date |
none | sensitivity_to_market_jf.do:90code/construction/sensitivity_to_market_jf.do, line 90
merge m:1 date using `roa', nogen |
weighted_means_jf ← sdroa_f |
merge m:1 | date |
none | sensitivity_to_market_jf.do:91code/construction/sensitivity_to_market_jf.do, line 91
merge m:1 date using `sdroa_f', nogen |
weighted_means_jf ← mktmeasures |
merge m:1 | date |
none | sensitivity_to_market_jf.do:92code/construction/sensitivity_to_market_jf.do, line 92
merge m:1 date using `mktmeasures', nogen |
weighted_means_jf ← mktmeasures_mean |
merge m:1 | date |
none | sensitivity_to_market_jf.do:93code/construction/sensitivity_to_market_jf.do, line 93
merge m:1 date using `mktmeasures_mean', nogen |
weighted_means_jf ← asset_growth |
merge m:1 | date |
none | sensitivity_to_market_jf.do:94code/construction/sensitivity_to_market_jf.do, line 94
merge m:1 date using `asset_growth', nogen |
weighted_means_jf ← `npl_perc_`sub'' |
merge m:1 | date |
none | sensitivity_to_market_jf.do:96code/construction/sensitivity_to_market_jf.do, line 96
merge m:1 date using `npl_perc_`sub'', nogen |
orig ← agg_data_full_jf |
merge m:1 | entity date |
none | table6_downturn_jf.do:64code/analysis/table6_downturn_jf.do, line 64
merge m:1 entity date using "${data_path}/final/agg_data_full_jf", ///
keepusing(assets supervisory_district roa sdroa_f flag_foreign custom_top npl_perc* ) ///
nogen keep(1 3) |
orig ← downturns |
merge m:1 | date |
none | table6_downturn_jf.do:89code/analysis/table6_downturn_jf.do, line 89
merge m:1 date using "${data_path}/intermediate/downturns.dta", keep(1 3) nogen |
4 · The sample — 39 keep/drop steps, 2 variables winsorized or trimmed
Filters, by kind
time period ×8
- drop if
quarters <=0clean_nat_sub_relationships_jf.do:33
code/construction/clean_nat_sub_relationships_jf.do, line 33 drop if quarters <=0 - drop if
d_dt_end<quarter_end & temp1>1clean_nat_sub_relationships_jf.do:106
code/construction/clean_nat_sub_relationships_jf.do, line 106 drop if d_dt_end<quarter_end & temp1>1 - drop if
quarters <=0clean_relationships_for_y9c_jf.do:33
code/construction/clean_relationships_for_y9c_jf.do, line 33 drop if quarters <=0 - drop if
d_dt_end<quarter_end & temp1>1clean_relationships_for_y9c_jf.do:106
code/construction/clean_relationships_for_y9c_jf.do, line 106 drop if d_dt_end<quarter_end & temp1>1 - keep if
date==tq(1991q1) + `j'match_criteria_jf.do:85
code/construction/match_criteria_jf.do, line 85 keep if date==`currentdate' as we read it (macros filled in / loop expanded): keep if date==tq(1991q1) + `j' - keep if
date==tq(1991q1) + `j'match_criteria_jf.do:236
code/construction/match_criteria_jf.do, line 236 qui keep if date==`currentdate' as we read it (macros filled in / loop expanded): qui keep if date==tq(1991q1) + `j' - keep if
date==tq(2014q4)bhc_size_distribution_by_district_jf.do:13
code/analysis/bhc_size_distribution_by_district_jf.do, line 13 keep if date==tq(2014q4) - drop if
date<tq(2006q1) | date>tq(2014q4)table10_2SLS_jf.do:57
code/analysis/table10_2SLS_jf.do, line 57 drop if date<tq(2006q1) | date>tq(2014q4)
value ranges ×12
- drop if
district_num==0data_assemble_1_jf.do:47
code/construction/data_assemble_1_jf.do, line 47 drop if district_num==0 - keep if
round(nat_subass_pct, 5) <= 120data_assemble_3_jf.do:49
code/construction/data_assemble_3_jf.do, line 49 keep if round(nat_subass_pct, 5) <= 120 - drop if
temp1>1 & pct_equity~=temp2clean_nat_sub_relationships_jf.do:81
code/construction/clean_nat_sub_relationships_jf.do, line 81 drop if temp1>1 & pct_equity~=temp2 - drop if
temp1>1 & temp2~=temp3clean_nat_sub_relationships_jf.do:92
code/construction/clean_nat_sub_relationships_jf.do, line 92 drop if temp1>1 & temp2~=temp3 - drop if
temp1>1 & pct_equity~=temp2clean_relationships_for_y9c_jf.do:81
code/construction/clean_relationships_for_y9c_jf.do, line 81 drop if temp1>1 & pct_equity~=temp2 - drop if
temp1>1 & temp2~=temp3clean_relationships_for_y9c_jf.do:92
code/construction/clean_relationships_for_y9c_jf.do, line 92 drop if temp1>1 & temp2~=temp3 - drop if
pct_assets<50data_assemble_4_jf.do:50
code/construction/data_assemble_4_jf.do, line 50 drop if pct_assets<50 - drop if
pct_assets<50aggregate_data_jf.do:184
code/construction/aggregate_data_jf.do, line 184 drop if pct_assets<50 - first 8 of 12
category values ×1
- keep if
entity_type=="BHC" | entity_type=="FHD"data_assemble_1_jf.do:44
code/construction/data_assemble_1_jf.do, line 44 keep if entity_type=="BHC" | entity_type=="FHD"
indicator subsets ×7
- drop if
(flag_sp==1 | flag_foreign==1 | flag_dist_diff==1)match_criteria_jf.do:53
code/construction/match_criteria_jf.do, line 53 drop if (flag_sp==1 | flag_foreign==1 | flag_dist_diff==1) - drop if
_support==0match_criteria_jf.do:97
code/construction/match_criteria_jf.do, line 97 qui drop if _support==0 - keep if
((treated==1 & district_num==`k') | (treated==0 & district_num~=`k'))match_criteria_jf.do:109
code/construction/match_criteria_jf.do, line 109 qui keep if ((treated==1 & district_num==`k') | (treated==0 & district_num~=`k')) - drop if
custom_top==1match_criteria_jf.do:220
code/construction/match_criteria_jf.do, line 220 drop if custom_top==1 - drop if
_support==0match_criteria_jf.do:254
code/construction/match_criteria_jf.do, line 254 qui drop if _support==0 - keep if
((treated==1 & district_num==`k') | (treated==0 & district_num~=`k'))match_criteria_jf.do:271
code/construction/match_criteria_jf.do, line 271 qui keep if ((treated==1 & district_num==`k') | (treated==0 & district_num~=`k')) - drop if
treated == 0 & district_num ==2tables789_regress_ols_levels_jf.do:54
code/analysis/tables789_regress_ols_levels_jf.do, line 54 drop if treated == 0 & district_num ==2 //Drop if matched to a custom top and in NY
geography ×1
- drop if
regexm(state_abbr_nm, "AK") | regexm(state_abbr_nm, "HI")data_assemble_1_jf.do:40
code/construction/data_assemble_1_jf.do, line 40 drop if regexm(state_abbr_nm, "AK") | regexm(state_abbr_nm, "HI")
row position (_n, first / last row) ×2
- keep if
rank_assets<=5 & (district_num>=1 & district_num<=12)bhc_size_distribution_by_district_jf.do:32
code/analysis/bhc_size_distribution_by_district_jf.do, line 32 keep if rank_assets<=5 & (district_num>=1 & district_num<=12) - keep if
_n <= 1 + 1table45_summary_statistics_jf.do:213
code/analysis/table45_summary_statistics_jf.do, line 213 keep if _n <= `count' as we read it (macros filled in / loop expanded): keep if _n <= 1 + 1
missing values ×7
- drop if
(missing(pct_equity) | (!missing(pct_equity) & pct_equity<0.5))data_assemble_3_jf.do:42
code/construction/data_assemble_3_jf.do, line 42 drop if (missing(pct_equity) | (!missing(pct_equity) & pct_equity<0.5)) - drop if
(missing(pct_equity) | (!missing(pct_equity) & pct_equity<0.5))data_assemble_3_jf.do:98
code/construction/data_assemble_3_jf.do, line 98 drop if (missing(pct_equity) | (!missing(pct_equity) & pct_equity<0.5)) - drop if
missing(match)match_criteria_jf.do:190
code/construction/match_criteria_jf.do, line 190 qui drop if missing(match) - drop if
missing(match)match_criteria_jf.do:365
code/construction/match_criteria_jf.do, line 365 qui drop if missing(match) - drop if
loghrs==.table10_2SLS_jf.do:95
code/analysis/table10_2SLS_jf.do, line 95 drop if loghrs==. - drop if
rank==.graph_hours_residuals_jf.do:12
code/analysis/graph_hours_residuals_jf.do, line 12 drop if rank==. - drop if
rank==.graph_hours_residuals_jf.do:34
code/analysis/graph_hours_residuals_jf.do, line 34 drop if rank==.
other conditions ×1
- keep if
regexm(cntry_nm, "UNITED STATES")data_assemble_1_jf.do:37
code/construction/data_assemble_1_jf.do, line 37 keep if regexm(cntry_nm, "UNITED STATES")
Outliers
winsorize
· 1 variable
trad_assdata_assemble_2_jf.do:17
code/construction/data_assemble_2_jf.do, line 17
winsor trad_ass, g(w_trad_ass) h(1) low
winsorize at 2.5/97.5
· 1 variable
*_coeffsensitivity_to_market_jf.do:153
code/construction/sensitivity_to_market_jf.do, line 153
winsor2 *_coeff /* *_coeff_ln */, c(2.5 97.5)
Missing values
set to zero ×61
sub_assets_ab_10b→0data_assemble_3_jf.do:118
code/construction/data_assemble_3_jf.do, line 118 replace sub_assets_ab_10b = 0 if missing(sub_assets_ab_10b)sub_assets_bw_10b→0data_assemble_3_jf.do:119
code/construction/data_assemble_3_jf.do, line 119 replace sub_assets_bw_10b = 0 if missing(sub_assets_bw_10b)is_public→0aggregate_data_jf.do:110
code/construction/aggregate_data_jf.do, line 110 replace is_public = 0 if missing(is_public)hours→0aggregate_data_jf.do:117
code/construction/aggregate_data_jf.do, line 117 replace hours = 0 if missing(hours)p_smb_ass_ab10b→0aggregate_data_jf.do:122
code/construction/aggregate_data_jf.do, line 122 replace p_smb_ass_ab10b = 0 if missing(p_smb_ass_ab10b)p_smb_ass_bw10b→0aggregate_data_jf.do:123
code/construction/aggregate_data_jf.do, line 123 replace p_smb_ass_bw10b = 0 if missing(p_smb_ass_bw10b)
common sample across variables (listwise) ×39
data_assemble_4_jf.do:68
code/construction/data_assemble_4_jf.do, line 68 predict double d_llp if e(sample), rdata_assemble_4_jf.do:69
code/construction/data_assemble_4_jf.do, line 69 predict double nd_llp if e(sample)data_assemble_4_jf.do:84
code/construction/data_assemble_4_jf.do, line 84 predict double disc_rsgl if e(sample), residualssensitivity_to_market_jf.do:19
code/construction/sensitivity_to_market_jf.do, line 19 collapse (mean) avg_sd_return avg_sd_return_w avg_qmktreturn avg_qmktreturn_w [weight=assets] if !missing(avg_sd_return), by(date)sensitivity_to_market_jf.do:26
code/construction/sensitivity_to_market_jf.do, line 26 collapse (mean) roa [weight=assets] if !missing(assets) & !missing(roa), by(date)sensitivity_to_market_jf.do:33
code/construction/sensitivity_to_market_jf.do, line 33 collapse (mean) sdroa_f [weight=assets] if !missing(assets) & !missing(sdroa_f), by(date)
filled with a value ×37
t5at→temp3table2_hours_regs_jf.do:37
code/analysis/table2_hours_regs_jf.do, line 37 replace t5at=temp3 if t5at==.down_roa→1downturns_jf.do:63
code/analysis/downturns_jf.do, line 63 replace down_`var'=1 if down_`var'==. & cs3_`var'~=. & cs3_`var'>=3down_asset_gr→1downturns_jf.do:63
code/analysis/downturns_jf.do, line 63 replace down_`var'=1 if down_`var'==. & cs3_`var'~=. & cs3_`var'>=3down_ret→1downturns_jf.do:63
code/analysis/downturns_jf.do, line 63 replace down_`var'=1 if down_`var'==. & cs3_`var'~=. & cs3_`var'>=3down_ret_w→1downturns_jf.do:63
code/analysis/downturns_jf.do, line 63 replace down_`var'=1 if down_`var'==. & cs3_`var'~=. & cs3_`var'>=3down_npl_rre→1downturns_jf.do:63
code/analysis/downturns_jf.do, line 63 replace down_`var'=1 if down_`var'==. & cs3_`var'~=. & cs3_`var'>=3
dropped ×7
table10_2SLS_jf.do:95
code/analysis/table10_2SLS_jf.do, line 95 drop if loghrs==.data_assemble_3_jf.do:42
code/construction/data_assemble_3_jf.do, line 42 drop if (missing(pct_equity) | (!missing(pct_equity) & pct_equity<0.5))data_assemble_3_jf.do:98
code/construction/data_assemble_3_jf.do, line 98 drop if (missing(pct_equity) | (!missing(pct_equity) & pct_equity<0.5))match_criteria_jf.do:190
code/construction/match_criteria_jf.do, line 190 qui drop if missing(match)match_criteria_jf.do:365
code/construction/match_criteria_jf.do, line 365 qui drop if missing(match)graph_hours_residuals_jf.do:12
code/analysis/graph_hours_residuals_jf.do, line 12 drop if rank==.
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Log Total Assets ()
logassets data_assemble_2_jf.do:24
code/construction/data_assemble_2_jf.do, line 24
gen logassets = log(assets)
| Variable | Used in models as | Built by |
|---|---|---|
loghrs |
outcome in 20, endogenous in 1 | loghrs = log(1+alt_hours) (gen) aggregate_data_jf.do:138code/construction/aggregate_data_jf.do, line 138
gen loghrs=log(1+alt_hours) if alt_hours~=. |
t_llp_perc |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
t_perc_real_sec |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
treated |
instrument in 1, regressor in 5 | treated = custom_top (gen) match_criteria_jf.do:67code/construction/match_criteria_jf.do, line 67
gen treated = custom_top treated = top5 (gen) match_criteria_jf.do:70code/construction/match_criteria_jf.do, line 70
gen treated = top5 treated = (custom_top==0 & rank_assets<=15) (gen) match_criteria_jf.do:239code/construction/match_criteria_jf.do, line 239
qui gen treated = (custom_top==0 & rank_assets<=15) +10 more statements set it |
is_public |
regressor in 21 | is_public = flag_public (gen) aggregate_data_jf.do:109code/construction/aggregate_data_jf.do, line 109
gen is_public = flag_public is_public = 0 (replace) aggregate_data_jf.do:110code/construction/aggregate_data_jf.do, line 110
replace is_public = 0 if missing(is_public) |
log_subs |
regressor in 21 | log_subs = log(tot_sub_cnt) (gen) aggregate_data_jf.do:130code/construction/aggregate_data_jf.do, line 130
gen log_subs = log(tot_sub_cnt) |
nat_subass_pct |
regressor in 21 | nat_subass_pct = (tot_nat_assets/assets)*100 (gen) data_assemble_3_jf.do:46code/construction/data_assemble_3_jf.do, line 46
gen nat_subass_pct = (tot_nat_assets/assets)*100 nat_subass_pct = 100 (replace) data_assemble_3_jf.do:51code/construction/data_assemble_3_jf.do, line 51
replace nat_subass_pct = 100 if nat_subass_pct>100 nat_subass_pct = 0 (replace) aggregate_data_jf.do:125code/construction/aggregate_data_jf.do, line 125
replace nat_subass_pct = 0 if missing(nat_subass_pct) |
p_smb_ass_ab10b |
regressor in 21 | p_smb_ass_ab10b = 100*(sub_assets_ab_10b/assets) (gen) data_assemble_3_jf.do:121code/construction/data_assemble_3_jf.do, line 121
gen p_smb_ass_ab10b = 100*(sub_assets_ab_10b/assets) p_smb_ass_ab10b = 100 (replace) data_assemble_3_jf.do:136code/construction/data_assemble_3_jf.do, line 136
replace p_smb_ass_ab10b = 100 if p_smb_ass_ab10b>100 p_smb_ass_ab10b = 0 (replace) aggregate_data_jf.do:122code/construction/aggregate_data_jf.do, line 122
replace p_smb_ass_ab10b = 0 if missing(p_smb_ass_ab10b) |
p_smb_ass_bw10b |
regressor in 21 | p_smb_ass_bw10b = 100*(sub_assets_bw_10b/assets) (gen) data_assemble_3_jf.do:122code/construction/data_assemble_3_jf.do, line 122
gen p_smb_ass_bw10b = 100*(sub_assets_bw_10b/assets) p_smb_ass_bw10b = 100 (replace) data_assemble_3_jf.do:137code/construction/data_assemble_3_jf.do, line 137
replace p_smb_ass_bw10b = 100 if p_smb_ass_bw10b>100 p_smb_ass_bw10b = 0 (replace) aggregate_data_jf.do:123code/construction/aggregate_data_jf.do, line 123
replace p_smb_ass_bw10b = 0 if missing(p_smb_ass_bw10b) |
logassets |
regressor in 19 | logassets = log(assets) (gen) data_assemble_2_jf.do:24code/construction/data_assemble_2_jf.do, line 24
gen logassets = log(assets) |
assets_hhi |
regressor in 17 | assets_hhi = (ln_cc/assets)^2 + (ln_rre/assets)^2 + (ln_cre/assets)^2 + (ln_ci/assets)^2 + (inv_sec/assets)^2 + (w_trad_ass/assets)^2 (gen) data_assemble_2_jf.do:207code/construction/data_assemble_2_jf.do, line 207
gen assets_hhi = (ln_cc/assets)^2 + (ln_rre/assets)^2 + (ln_cre/assets)^2 ///
+ (ln_ci/assets)^2 + (inv_sec/assets)^2 + (w_trad_ass/assets)^2 |
dep_perc_noeq |
regressor in 17 | dep_perc_noeq = (tot_deposit/liab_tot)*100 (gen) data_assemble_2_jf.do:91code/construction/data_assemble_2_jf.do, line 91
gen dep_perc_noeq = (tot_deposit/liab_tot)*100 |
depsum_share_bhc_cnty |
regressor in 17 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ln_tot_perc |
regressor in 17 | ln_tot_perc = (ln_tot/assets)*100 (gen) data_assemble_2_jf.do:47code/construction/data_assemble_2_jf.do, line 47
gen ln_tot_perc = (ln_tot/assets)*100 |
asset_ytygr_trim |
regressor in 14 | asset_ytygr_trim = asset_ytygr (gen) data_assemble_2_jf.do:401code/construction/data_assemble_2_jf.do, line 401
gen asset_ytygr_trim = asset_ytygr |
date |
regressor in 14 | date = q_start + _n - 1 (gen) clean_nat_sub_relationships_jf.do:58code/construction/clean_nat_sub_relationships_jf.do, line 58
bys sub_id entity d_dt_start: gen date = q_start + _n - 1 date = q_start + _n - 1 (gen) clean_relationships_for_y9c_jf.do:58code/construction/clean_relationships_for_y9c_jf.do, line 58
bys sub_id entity d_dt_start: gen date = q_start + _n - 1 |
npl_perc_untrim |
regressor in 14 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rate2 |
regressor in 14 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rate3 |
regressor in 14 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rate4 |
regressor in 14 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rate5 |
regressor in 14 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
roa |
regressor in 14 | roa = (qnetinc/assets)*400 (gen) data_assemble_2_jf.do:157code/construction/data_assemble_2_jf.do, line 157
gen roa = (qnetinc/assets)*400 roa = roa_mean (gen) downturns_jf.do:8code/analysis/downturns_jf.do, line 8
gen roa=roa_mean |
sdroa_b |
regressor in 14 | sdroa_b = rowsd(roa roaq1 roaq2 roaq3 roaq4 roaq5 roaq6 roaq7) (egen rowsd) data_assemble_2_jf.do:348code/construction/data_assemble_2_jf.do, line 348
egen sdroa_b = rowsd(roa roaq1 roaq2 roaq3 roaq4 roaq5 roaq6 roaq7) ///
if !missing(roa) & !missing(roaq1) & !missing(roaq2) & !missing(roaq3) ///
& !missing(roaq4) & !missing(roaq5) & !missing(roaq6) & !missin … |
t1rat_untrim |
regressor in 14 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
top15 |
regressor in 5 | top15 = 0 (gen) data_assemble_1_jf.do:101code/construction/data_assemble_1_jf.do, line 101
gen top15 = 0 top15 = 0 (gen) match_criteria_jf.do:60code/construction/match_criteria_jf.do, line 60
gen top15 = 0 top15 = (rank_assets<=15) (gen) table2_hours_regs_jf.do:29code/analysis/table2_hours_regs_jf.do, line 29
gen top15 = (rank_assets<=15) +2 more statements set it |
date_dist |
regressor in 4 | date_dist = date*100+district (gen) table2_hours_regs_jf.do:103code/analysis/table2_hours_regs_jf.do, line 103
gen date_dist=date*100+district |
tq_ |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
assets_cont_ |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
assets_exlg_ |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
dm_ |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
dq_ |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
t_d_npl_perc |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
t_netxoff_perc |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
t_perc_llr |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
t_perc_unreal_afs |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
treated_down |
regressor in 1 | treated_down = treated_down_`var' (rename) table6_downturn_jf.do:122code/analysis/table6_downturn_jf.do, line 122
rename treated_down_`var' treated_down |
6 · Models, by the table or figure they feed — 30 estimations, 21 traced into 5 exhibits
t2_hours_`var
· 9 estimations → t2_hours_`var
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
loghrs |
i.date
|
— | cluster: entity | table2_hours_regs_jf.do:153code/analysis/table2_hours_regs_jf.do, line 153
eststo: qui reg loghrs i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs i.date if !missing(loghrs) & date>=tq(2006q1) & flag_sp==0 & flag_dist_diff==0 & flag_foreign==0, cluster(entity) robust written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
i.date_dist
|
— | cluster: entity | table2_hours_regs_jf.do:154code/analysis/table2_hours_regs_jf.do, line 154
eststo: qui reg loghrs i.date_dist $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs i.date_dist if !missing(loghrs) & date>=tq(2006q1) & flag_sp==0 & flag_dist_diff==0 & flag_foreign==0, cluster(entity) robust written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public i.date
|
— | cluster: entity | table2_hours_regs_jf.do:156code/analysis/table2_hours_regs_jf.do, line 156
eststo: qui reg loghrs $size_controls $type_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public i.date if !missing(loghrs) & date>=tq(2006q1) & flag_sp==0 & flag_dist_diff==0 & flag_foreign==0, cluster(entity) robust written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty i.date
|
— | cluster: entity | table2_hours_regs_jf.do:158code/analysis/table2_hours_regs_jf.do, line 158
eststo: qui reg loghrs $size_controls $type_controls $biz_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty i.date if !missing(loghrs) & date>=tq(2006q1) & flag_sp==0 & flag_dist_diff==0 & f … written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b i.date
|
— | cluster: entity | table2_hours_regs_jf.do:160code/analysis/table2_hours_regs_jf.do, line 160
eststo: qui reg loghrs $size_controls $type_controls $perf_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b i.date if !missing(loghrs) & date>=tq(2006q1) & flag_sp==0 & flag_dist_diff==0 & fl … written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public rate2 rate3 rate4 rate5 i.date
|
— | cluster: entity | table2_hours_regs_jf.do:162code/analysis/table2_hours_regs_jf.do, line 162
eststo: qui reg loghrs $size_controls $type_controls $risk_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public rate2 rate3 rate4 rate5 i.date if !missing(loghrs) & date>=tq(2006q1) & flag_sp==0 & flag_dist_diff==0 & flag_foreign==0, cluster(entity) rob … written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim +8 more
|
— | cluster: entity | table2_hours_regs_jf.do:164code/analysis/table2_hours_regs_jf.do, line 164
eststo: qui reg loghrs $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 rate5 … written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim +8 more
|
— | cluster: entity | table2_hours_regs_jf.do:166code/analysis/table2_hours_regs_jf.do, line 166
eststo: qui reg loghrs $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date_dist $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 rate5 … written at table2_hours_regs_jf.do:171 |
regols |
loghrs |
assets_cont_* log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim +8 more
|
— | cluster: entity | table2_hours_regs_jf.do:168code/analysis/table2_hours_regs_jf.do, line 168
eststo: qui reg loghrs assets_cont_* log_subs $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs assets_cont_* log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 ra … written at table2_hours_regs_jf.do:171 |
t3_hours_`var
· 9 estimations → t3_hours_`var
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
loghrs |
`var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public i.date
|
— | cluster: entity | table2_hours_regs_jf.do:178code/analysis/table2_hours_regs_jf.do, line 178
eststo: qui reg loghrs `var' $size_controls $type_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public i.date if !missing(loghrs) & date>=tq(2006q1) & flag_sp==0 & flag_dist_diff==0 & flag_foreign==0, cluster(entity) robust written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa +9 more
|
— | cluster: entity | table2_hours_regs_jf.do:180code/analysis/table2_hours_regs_jf.do, line 180
eststo: qui reg loghrs `var' $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 … written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty +10 more
|
— | cluster: entity | table2_hours_regs_jf.do:182code/analysis/table2_hours_regs_jf.do, line 182
eststo: qui reg loghrs `var' top15 $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 … written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty +10 more
|
— | cluster: entity | table2_hours_regs_jf.do:184code/analysis/table2_hours_regs_jf.do, line 184
eststo: qui reg loghrs `var' top15 $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions & flag_lg_`var'==0, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 … written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' top15 assets_exlg_* log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty +10 more
|
— | cluster: entity | table2_hours_regs_jf.do:186code/analysis/table2_hours_regs_jf.do, line 186
eststo: qui reg loghrs `var' top15 assets_exlg_* log_subs $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions & flag_lg_`var'==0, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' top15 assets_exlg_* log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 ra … written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty +10 more
|
— | cluster: entity | table2_hours_regs_jf.do:188code/analysis/table2_hours_regs_jf.do, line 188
eststo: qui reg loghrs `var' top15 $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date_dist $conditions & flag_lg_`var'==0, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 … written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty +10 more
|
— | cluster: entity | table2_hours_regs_jf.do:190code/analysis/table2_hours_regs_jf.do, line 190
eststo: qui reg loghrs `var' top15 $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions & flag_lg_`var'==0 & district_num~=2, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' top15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 … written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa +9 more
|
— | cluster: entity | table2_hours_regs_jf.do:192code/analysis/table2_hours_regs_jf.do, line 192
eststo: qui reg loghrs `var' $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date_dist $conditions & flag_lg_`var'==0 & district_num~=2 & top15==1, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 … written at table2_hours_regs_jf.do:196 |
regols |
loghrs |
`var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa +9 more
|
— | cluster: entity | table2_hours_regs_jf.do:194code/analysis/table2_hours_regs_jf.do, line 194
eststo: qui reg loghrs `var' $size_controls $type_controls $biz_controls $perf_controls $risk_controls i.date $conditions & flag_lg_`var'==0 & district_num~=2 & top15==1, $stderrors
as we read it (macros filled in / loop expanded):
eststo: qui reg loghrs `var' logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 … written at table2_hours_regs_jf.do:196 |
t6_reg_stkdownturn_custom
· 1 estimation → t6_reg_stkdownturn_custom
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
aregols |
`var' |
treated treated_down
|
trt_qt | cluster: entity | table6_downturn_jf.do:125code/analysis/table6_downturn_jf.do, line 125
qui areg `var' treated treated_down if date>=tq(1991q1), absorb(trt_qt) cluster(entity) run 7× in a loop (var=roa; var=sdroa_f; var=npl_perc_tot_untrim…)
written at table6_downturn_jf.do:139 |
t10_reg_`top_type'_2sls_t2c2_exlg
· 1 estimation → t10_reg_`top_type'_2sls_t2c2_exlg
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
ivreg2iv |
`var' |
dq_* logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty
endogenous:
loghrs instruments: treated |
— | cluster: entity | table10_2SLS_jf.do:109code/analysis/table10_2SLS_jf.do, line 109
qui ivreg2 `var' `reg_fe1' `controls1' (`controls') `condition1', first savefp(first) `cluster1'
as we read it (macros filled in / loop expanded):
qui ivreg2 `var' dq_* logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty (loghrs = treated) if !missing(loghrs) & flag_foreign==0 & flag_sp==0 & flag_lg==0, … written at table10_2SLS_jf.do:129 |
t_789_reg_customtop_Q_X_Dfull_nocontrols_mb_controls1_nn2dropNY
· 1 estimation → t_789_reg_customtop_Q_X_Dfull_nocontrols_mb_controls1_nn2dropNY
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
aregols |
`var' |
treated dm_*
|
trt_qt | cluster: entity | tables789_regress_ols_levels_jf.do:97code/analysis/tables789_regress_ols_levels_jf.do, line 97
/*qui*/ areg `var' `controls' `reg_fe1' `condition', absorb(trt_qt) cluster(entity)
as we read it (macros filled in / loop expanded):
areg `var' treated dm_* if date>=tq(1991q1), absorb(trt_qt) cluster(entity) run 44× in a loop (var=rwa_to_assets_untrim; var=t1rat_untrim; var=npl_perc_untrim…)
written at tables789_regress_ols_levels_jf.do:111 |
Estimations not traced to a table or figure · 9
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
aregols |
t_llp_perc |
t_d_npl_perc t_netxoff_perc t_perc_llr
|
fevar | cluster: entity | data_assemble_4_jf.do:66code/construction/data_assemble_4_jf.do, line 66
areg `base1' `reg_option1'
as we read it (macros filled in / loop expanded):
areg t_llp_perc t_d_npl_perc t_netxoff_perc t_perc_llr , cluster(entity) absorb(fevar) |
aregols |
t_perc_real_sec |
t_perc_unreal_afs
|
date | cluster: entity | data_assemble_4_jf.do:80code/construction/data_assemble_4_jf.do, line 80
areg `base2' `reg_option2'
as we read it (macros filled in / loop expanded):
areg t_perc_real_sec t_perc_unreal_afs , cluster(entity) absorb(date) |
psmatch2matching |
— |
treated logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct ln_tot_perc dep_perc_noeq assets_hhi is_public depsum_share_bhc_cnty
|
— | default | match_criteria_jf.do:95code/construction/match_criteria_jf.do, line 95
qui psmatch2 treated `controls`controls_use'', neighbor(`nn') common
as we read it (macros filled in / loop expanded):
qui psmatch2 treated logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct ln_tot_perc dep_perc_noeq assets_hhi is_public depsum_share_bhc_cnty, neighbor(2) common |
psmatch2matching |
— |
treated logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct ln_tot_perc dep_perc_noeq assets_hhi is_public depsum_share_bhc_cnty
|
— | default | match_criteria_jf.do:253code/construction/match_criteria_jf.do, line 253
qui psmatch2 treated `controls`controls_use'', neighbor(`nn') common
as we read it (macros filled in / loop expanded):
qui psmatch2 treated logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct ln_tot_perc dep_perc_noeq assets_hhi is_public depsum_share_bhc_cnty, neighbor(2) common |
ivreg2ols |
loghrs |
r1b_1-r1b_15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa +9 more
|
— | cluster: entity | table2_hours_regs_jf.do:209code/analysis/table2_hours_regs_jf.do, line 209
ivreg2 loghrs r1b_1-r1b_15 $size_controls $type_controls $biz_controls $perf_controls $risk_controls tq_* $conditions, $stderrors partial(tq_*)
as we read it (macros filled in / loop expanded):
ivreg2 loghrs r1b_1-r1b_15 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 ra … |
ivreg2ols |
loghrs |
r2b_1-r2b_16 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa +9 more
|
— | cluster: entity | table2_hours_regs_jf.do:212code/analysis/table2_hours_regs_jf.do, line 212
ivreg2 loghrs r2b_1-r2b_16 $size_controls $type_controls $biz_controls $perf_controls $risk_controls tq_* $conditions, $stderrors partial(tq_*)
as we read it (macros filled in / loop expanded):
ivreg2 loghrs r2b_1-r2b_16 logassets log_subs p_smb_ass_ab10b p_smb_ass_bw10b nat_subass_pct is_public ln_tot_perc dep_perc_noeq assets_hhi depsum_share_bhc_cnty roa asset_ytygr_trim t1rat_untrim npl_perc_untrim sdroa_b rate2 rate3 rate4 ra … |
regols |
`var' |
treated
|
— | cluster: entity | table45_summary_statistics_jf.do:187code/analysis/table45_summary_statistics_jf.do, line 187
qui reg `var' treated, cluster(entity) run 37× in a loop (var=logassets; var=log_subs; var=p_smb_ass_ab10b…)
|
regols |
`var' |
`var'_mean
|
— | default | sensitivity_to_market_jf.do:119code/construction/sensitivity_to_market_jf.do, line 119
reg `var' `var'_mean if entity==`bank' |
regols |
`var'_ln |
`var'_mean_ln
|
— | default | sensitivity_to_market_jf.do:128code/construction/sensitivity_to_market_jf.do, line 128
reg `var'_ln `var'_mean_ln if entity==`bank' |
Tables and figures the code writes:
· · · · ·
t2_hours_`var table2_hours_regs_jf.do:171
code/analysis/table2_hours_regs_jf.do, line 171
esttab using t2_hours_`var', se r2(%8.2f) ar2(%8.2f) csv replace keep($size_controls $type_controls $biz_controls $perf_controls $risk_controls assets_cont_*) ///
mtitles("date fe" "d-d fe" "size+type" "biz" "perf" "risk" "all" "+d- …
t3_hours_`var table2_hours_regs_jf.do:196
code/analysis/table2_hours_regs_jf.do, line 196
esttab using t3_hours_`var', se r2(%8.2f) ar2(%8.2f) csv replace keep(`var' top15 $size_controls $type_controls $biz_controls $perf_controls $risk_controls) ///
mtitles("size+type" "all" "+top15" "+ex. lrg" "+ex. lrg+fp" "+ex. lrg+d …
t6_reg_stkdownturn_`top_type table6_downturn_jf.do:139
code/analysis/table6_downturn_jf.do, line 139
outreg2 using "${output_path}/t6_reg_stkdownturn_`top_type'", nocons dec(3) label ///
stats(coef se pval) ctitle("`col_title'") keep(treated treated_down) nor2 ///
addtext(`reg_text1', `reg_text2', `reg_text3', `reg_text4') …
t10_reg_`top_type'_2sls_t2c2_exlg table10_2SLS_jf.do:129
code/analysis/table10_2SLS_jf.do, line 129
outreg2 using "${output_path}/t10_reg_`top_type'_2sls_t2c2_exlg", nocons dec(2) label ///
ctitle("`col_title'") keep(loghrs) nor2 ///
addstat(Instrument Coeff, `instr', Instrument F-Stat, e(widstat), ///
Avg (Treatme …
t_789_reg_`instr'_`reg_file1'`tlength'_nocontrols_mb_controls`controls_use'_nn`nn'`dropNYlabel tables789_regress_ols_levels_jf.do:111
code/analysis/tables789_regress_ols_levels_jf.do, line 111
outreg2 using "${output_path}/t_789_reg_`instr'_`reg_file1'`tlength'_nocontrols_mb_controls`controls_use'_nn`nn'`dropNYlabel'", nocons dec(3) label ///
stats(coef se pval) ctitle("`col_title'") keep(`controls') nor2 ///
addt …
residuals_graph_`dset'.png graph_hours_residuals_jf.do:20
code/analysis/graph_hours_residuals_jf.do, line 20
graph export "residuals_graph_`dset'.png", replace
7 · Figures: how each is drawn — 2 figures in the code (command, layers, options, the file it is saved to)
coefficient plot 2
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
twowaycoefficient plot
|
scatter + rcap |
y estimate
x rank
band min95, max95
|
ytitle Log(Hours) · yline 0 · ci rcap · legend off |
residuals_graph_`dset'.png (set at run time) |
graph_hours_residuals_jf.do:13code/analysis/graph_hours_residuals_jf.do, line 13
twoway (scatter estimate rank, color(green) msymbol(O) msize(medium)) ///
(rcap min95 max95 rank, color(blue)), ///
yline(0, lcolor(black)) ///
yscale( range(-2 3)) ylabel(-2(1)3) ///
ytitle(" … |
twowaycoefficient plot
|
scatter + rcap |
y estimate
x rank
band min95, max95
|
ytitle Log(Hours) · yline 0 · ci rcap · legend off |
residuals_graph_`dset'.png (set at run time) |
graph_hours_residuals_jf.do:35code/analysis/graph_hours_residuals_jf.do, line 35
twoway (scatter estimate rank, color(green) msymbol(O) msize(medium)) ///
(rcap min95 max95 rank, color(blue)), ///
yline(0, lcolor(black)) ///
yscale( range(-2 3)) ylabel(-2(1)3) ///
ytitle(" … |