Review of Financial Studies · 2025 · 10.1093/rfs/hhae074
Cross-Subsidization of Bad Credit in a Lending Crisis
Nikolaos Artavanis; Brian Jonghwan Lee; Stavros Panageas; Margarita Tsoutsoura
Review history
Received 19 Jan 2023 → editorial decision 16.8 months later.
Received: 19 Jan 2023Editorial decision: 14 Jun 2024
Received → editorial decision. Review of Financial Studies, papers printed 2023–2026: median 19.9 months (middle half 14.2–27.2), 356 papers measured. This paper: 16.8 months, shorter than the median.
Dates as printed on the paper's first page; 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
dataverse · package
· stata
2014–2014
sample period in the code
17
keep/drop statements
0
winsorizations
3
missing-data rules
0
de-duplications
16
distinct estimations
Sample period in the code: only one-year subsets are written, so this is a subset, not a full sample period —
RFS_Replication_code_figure_2.do:27; other windows in the code: 2015–2015.
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 (43)
and keep/drop statements plus winsorized variables (17).
1 · Data and structure
Databases read: none detected
Panel declared as:
none
2 · How the sample is built
- keep time period ×13
- drop missing data ×2
- drop time period ×1
- keep indicator subset ×1
Reshaping:
collapse to a coarser unit ×7
3 · Design and validation
Identification: —
Standard measures:
Log Total Assets
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
ols | cluster by customerid | RFS_Replication_code_figure_5.do | |
|
ols | cluster by customerid | RFS_Replication_code_table_2.do | |
|
panel fe | dateq | cluster by customerid | RFS_Replication_code_table_2.do |
|
panel fe | dateq, Industry | cluster by customerid | RFS_Replication_code_table_2.do |
|
panel fe | firmid, dateq | cluster by customerid | RFS_Replication_code_table_2.do |
|
ols | cluster by customerid | RFS_Replication_code_table_3.do | |
|
panel fe | dateq | cluster by customerid | RFS_Replication_code_table_3.do |
|
panel fe | dateq, Industry | cluster by customerid | RFS_Replication_code_table_3.do |
|
panel fe | firmid, dateq | cluster by customerid | RFS_Replication_code_table_3.do |
|
panel fe | datem | cluster by customerid | RFS_Replication_code_table_4.do |
|
panel fe | datem, Industry | cluster by customerid | RFS_Replication_code_table_4.do |
|
panel fe | datem, firmid, Industry | cluster by customerid | RFS_Replication_code_table_4.do |
|
panel fe | firmid, dateq | cluster by customerid | RFS_Replication_code_table_5.do |
|
ols | robust | RFS_Replication_code_table_6.do | |
|
panel fe | Industry | robust | RFS_Replication_code_table_6.do |
|
panel fe | Industry, dateq | cluster by customerid | RFS_Replication_code_table_7.do |
5 · What it produces
11 table files and 21 figure files
(tex 11, png 10, pdf 10, ? 1);
40 estimates traced from the model that produced them into the exhibit that reports them.
$outputfolder\table_1_A.tex$outputfolder\table_1_B.tex$outputfolder\table_2.tex$outputfolder\table_3.tex$outputfolder\table_4.tex$outputfolder\table_5.tex$outputfolder\table_6_A.tex$outputfolder\table_6_B.tex$outputfolder\table_7_A.tex$outputfolder\table_7_B.tex$outputfolder\table_7_C.texfigure_1.pdffigure_1.png$outputfolder\figure_2.pdf$outputfolder\figure_2.png$outputfolder\figure_3.pdf$outputfolder\figure_3.png$outputfolder\figure_4.pdf$outputfolder\figure_4.pngHow the code gets from data to results own page
14
scripts
3
input files
0
file hand-offs
0
merges
17
sample steps
43
estimations
1 · Data in — files the code reads and no script of the package writes
Other input files
3 files
$datafolder\maindata.dtaStata · read by 13 scriptsRFS_Replication_code_figure_2.do:13
RFS_Replication_code_figure_2.do, line 13 use "$datafolder\maindata.dta", clear$datafolder\financials.dtaStataRFS_Replication_code_figure_2.do:23
RFS_Replication_code_figure_2.do, line 23 append using "$datafolder\financials.dta"$datafolder\gdp.dtaStataRFS_Replication_code_figure_1.do:13
RFS_Replication_code_figure_1.do, line 13 use "$datafolder\gdp.dta", clear
2 · The file pipeline — which script writes which file that a later script reads
14 scripts, in file names (the package states no order and no script reads another's output); 0 hand-offs through 0 intermediate files.
Low-confidence order: the package states no order and no script reads another's output: file-name order.
-
1.
RFS_Replication_code_figure_1.doreads 1 input file · -
2.
RFS_Replication_code_figure_2.doreads 2 input files · 1 merge · -
3.
RFS_Replication_code_figure_3.doreads 1 input file · -
4.
RFS_Replication_code_figure_4.doreads 1 input file · -
5.
RFS_Replication_code_figure_5.doreads 1 input file · 3 estimations -
6.
RFS_Replication_code_figure_6.doreads 1 input file · -
7.
RFS_Replication_code_figure_7.doreads 1 input file · -
8.
RFS_Replication_code_table_1.doreads 1 input file · -
9.
RFS_Replication_code_table_2.doreads 1 input file · 6 estimations -
10.
RFS_Replication_code_table_3.doreads 1 input file · 6 estimations -
11.
RFS_Replication_code_table_4.doreads 1 input file · 3 estimations -
12.
RFS_Replication_code_table_5.doreads 1 input file · 4 estimations -
13.
RFS_Replication_code_table_6.doreads 1 input file · 6 estimations -
14.
RFS_Replication_code_table_7.doreads 1 input file · 15 estimations
3 · Merges — 0 joins; 1 appends
No merges recorded.
4 · The sample — 17 keep/drop steps, 0 variables winsorized or trimmed
Filters, by kind
time period ×14
- keep if
datem >= 660RFS_Replication_code_figure_2.do:15
RFS_Replication_code_figure_2.do, line 15 keep if datem >= 660 - keep if
year==2014 | sample==1RFS_Replication_code_figure_2.do:27
RFS_Replication_code_figure_2.do, line 27 keep if year==2014 | sample==1 - drop if
dup==1 & MONTHS!=12 & MONTHS!=14RFS_Replication_code_figure_2.do:32
RFS_Replication_code_figure_2.do, line 32 drop if dup==1 & MONTHS!=12 & MONTHS!=14 - keep if
datem >= 660RFS_Replication_code_figure_3.do:15
RFS_Replication_code_figure_3.do, line 15 keep if datem >= 660 - keep if
datem >= 660RFS_Replication_code_figure_4.do:15
RFS_Replication_code_figure_4.do, line 15 keep if datem >= 660 - keep if
datem >= 660RFS_Replication_code_figure_5.do:15
RFS_Replication_code_figure_5.do, line 15 keep if datem >= 660 - keep if
datem >= 660RFS_Replication_code_figure_7.do:17
RFS_Replication_code_figure_7.do, line 17 keep if datem >= 660 - keep if
datem >= 660RFS_Replication_code_table_1.do:16
RFS_Replication_code_table_1.do, line 16 keep if datem >= 660 - first 8 of 14
indicator subsets ×1
- keep if
has_2015m1m12==1RFS_Replication_code_figure_6.do:19
RFS_Replication_code_figure_6.do, line 19 keep if has_2015m1m12==1
missing values ×2
- drop if
dif_ar_1415 == .RFS_Replication_code_figure_6.do:45
RFS_Replication_code_figure_6.do, line 45 drop if dif_ar_1415 == . - drop if
dif_ar_1415 == . | dif_thr_15 == .RFS_Replication_code_table_6.do:55
RFS_Replication_code_table_6.do, line 55 drop if dif_ar_1415 == . | dif_thr_15 == .
Outliers
No winsorizing or trimming recorded.
Missing values
dropped ×2
RFS_Replication_code_figure_6.do:45
RFS_Replication_code_figure_6.do, line 45 drop if dif_ar_1415 == .RFS_Replication_code_table_6.do:55
RFS_Replication_code_table_6.do, line 55 drop if dif_ar_1415 == . | dif_thr_15 == .
set to zero ×1
sample→0RFS_Replication_code_figure_2.do:29
RFS_Replication_code_figure_2.do, line 29 replace sample=0 if sample==.
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Log Total Assets ()
l_asset RFS_Replication_code_figure_2.do:17
RFS_Replication_code_figure_2.do, line 17
gen l_asset = log(TotalAssets)
| Variable | Used in models as | Built by |
|---|---|---|
actual_rate |
outcome in 22 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ar_2015 |
outcome in 3 | ar_2015 = mean(ar_2015_x) (egen mean) RFS_Replication_code_figure_6.do:39RFS_Replication_code_figure_6.do, line 39
bysort customerid: egen ar_2015 = mean(ar_2015_x) ar_2015 = mean(ar_2015_x) (egen mean) RFS_Replication_code_table_6.do:22RFS_Replication_code_table_6.do, line 22
bysort customerid: egen ar_2015 = mean(ar_2015_x) |
dif_ar_1415 |
outcome in 3 | dif_ar_1415 = ar_2015 - ar_2014 (gen) RFS_Replication_code_figure_6.do:42RFS_Replication_code_figure_6.do, line 42
gen dif_ar_1415 = ar_2015 - ar_2014 dif_ar_1415 = ar_2015 - ar_2014 (gen) RFS_Replication_code_table_6.do:29RFS_Replication_code_table_6.do, line 29
gen dif_ar_1415 = ar_2015 - ar_2014 |
rating_12mAfter |
outcome in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rating_24mAfter |
outcome in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rating_36mAfter |
outcome in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rating_48mAfter |
outcome in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
rating_60mAfter |
outcome in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
theoretical_rate |
regressor in 25 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Dif |
regressor in 15 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Rating |
regressor in 15 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
OROA |
regressor in 8 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
has_coll_m_any |
regressor in 8 | has_coll_m_any = has_coll_m_any * 100 (replace) RFS_Replication_code_table_1.do:19RFS_Replication_code_table_1.do, line 19
replace has_coll_m_any = has_coll_m_any * 100 |
lDeposits |
regressor in 8 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lTotalAssets |
regressor in 8 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lbalance |
regressor in 8 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
maturity_range |
regressor in 8 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
avgAR_l1 |
regressor in 6 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
datem_crisis |
regressor in 6 | datem_crisis = . (gen) RFS_Replication_code_table_4.do:22RFS_Replication_code_table_4.do, line 22
gen datem_crisis = . datem_crisis = 0 (replace) RFS_Replication_code_table_4.do:23RFS_Replication_code_table_4.do, line 23
replace datem_crisis=0 if inrange(datem,664,665) datem_crisis = 1 (replace) RFS_Replication_code_table_4.do:24RFS_Replication_code_table_4.do, line 24
replace datem_crisis=1 if inrange(datem,666,671) |
ratio_CurrentLiabilities |
regressor in 6 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ar_2014 |
regressor in 3 | ar_2014 = mean(ar_2014_x) (egen mean) RFS_Replication_code_figure_6.do:35RFS_Replication_code_figure_6.do, line 35
bysort customerid: egen ar_2014 = mean(ar_2014_x) ar_2014 = mean(ar_2014_x) (egen mean) RFS_Replication_code_table_6.do:26RFS_Replication_code_table_6.do, line 26
bysort customerid: egen ar_2014 = mean(ar_2014_x) |
dif_thr_15 |
regressor in 3 | dif_thr_15 = thr_2015 - ar_2014 (gen) RFS_Replication_code_table_6.do:38RFS_Replication_code_table_6.do, line 38
gen dif_thr_15 = thr_2015 - ar_2014 |
thr_2015 |
regressor in 3 | thr_2015 = mean(thr_2015_x) (egen mean) RFS_Replication_code_table_6.do:35RFS_Replication_code_table_6.do, line 35
bysort customerid: egen thr_2015 = mean(thr_2015_x) |
dif_OROA_1415 |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
dif_lDeposits_1415 |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
dif_lTotalAssets_1415 |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
dif_ratio_CurrLiab_1415 |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ratio_CurrLiab |
regressor in 2 | ratio_CurrLiab = ratio_CurrentLiabilities (rename) RFS_Replication_code_table_6.do:42RFS_Replication_code_table_6.do, line 42
rename ratio_CurrentLiabilities ratio_CurrLiab |
6 · Models, by the table or figure they feed — 43 estimations, 40 traced into 6 exhibits
Table 2
· 6 estimations → table_2.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
actual_rate |
c.theoretical_rate
|
— | cluster: customerid | RFS_Replication_code_table_2.do:35RFS_Replication_code_table_2.do, line 35
quietly reg actual_rate c.theoretical_rate, cluster(customerid) written at RFS_Replication_code_table_2.do:81 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate
|
dateq | cluster: customerid | RFS_Replication_code_table_2.do:42RFS_Replication_code_table_2.do, line 42
quietly reghdfe actual_rate c.theoretical_rate, ///
abs(dateq) cluster(customerid) written at RFS_Replication_code_table_2.do:81 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities
|
dateq | cluster: customerid | RFS_Replication_code_table_2.do:50RFS_Replication_code_table_2.do, line 50
quietly reghdfe actual_rate c.theoretical_rate $cvars, ///
abs(dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities, abs(dateq) cluster(customerid) written at RFS_Replication_code_table_2.do:81 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance
|
dateq | cluster: customerid | RFS_Replication_code_table_2.do:58RFS_Replication_code_table_2.do, line 58
quietly reghdfe actual_rate c.theoretical_rate $cvars $loanChars, ///
abs(dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance, abs(dateq) cluster(customerid) written at RFS_Replication_code_table_2.do:81 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance
|
dateq, Industry | cluster: customerid | RFS_Replication_code_table_2.do:66RFS_Replication_code_table_2.do, line 66
quietly reghdfe actual_rate c.theoretical_rate $cvars $loanChars, ///
abs(dateq Industry) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance, abs(dateq Industry) cluster(customerid) written at RFS_Replication_code_table_2.do:81 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate maturity_range has_coll_m_any lbalance
|
firmid, dateq | cluster: customerid | RFS_Replication_code_table_2.do:74RFS_Replication_code_table_2.do, line 74
quietly reghdfe actual_rate c.theoretical_rate $loanChars, ///
abs(firmid dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate maturity_range has_coll_m_any lbalance, abs(firmid dateq) cluster(customerid) written at RFS_Replication_code_table_2.do:81 |
Table 3
· 6 estimations → table_3.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
actual_rate |
c.theoretical_rate avgAR_l1
|
— | cluster: customerid | RFS_Replication_code_table_3.do:36RFS_Replication_code_table_3.do, line 36
quietly reg actual_rate c.theoretical_rate avgAR_l1, ///
cluster(customerid) written at RFS_Replication_code_table_3.do:83 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate avgAR_l1
|
dateq | cluster: customerid | RFS_Replication_code_table_3.do:44RFS_Replication_code_table_3.do, line 44
quietly reghdfe actual_rate c.theoretical_rate avgAR_l1, ///
abs(dateq) cluster(customerid) written at RFS_Replication_code_table_3.do:83 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities avgAR_l1
|
dateq | cluster: customerid | RFS_Replication_code_table_3.do:52RFS_Replication_code_table_3.do, line 52
quietly reghdfe actual_rate c.theoretical_rate $cvars avgAR_l1, ///
abs(dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities avgAR_l1, abs(dateq) cluster(customerid) written at RFS_Replication_code_table_3.do:83 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance avgAR_l1
|
dateq | cluster: customerid | RFS_Replication_code_table_3.do:60RFS_Replication_code_table_3.do, line 60
quietly reghdfe actual_rate c.theoretical_rate $cvars $loanChars ///
avgAR_l1, abs(dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance avgAR_l1, abs(dateq) cluster(customerid) written at RFS_Replication_code_table_3.do:83 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance avgAR_l1
|
dateq, Industry | cluster: customerid | RFS_Replication_code_table_3.do:68RFS_Replication_code_table_3.do, line 68
quietly reghdfe actual_rate c.theoretical_rate $cvars $loanChars ///
avgAR_l1, abs(dateq Industry) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance avgAR_l1, abs(dateq Industry) cluster(customerid) written at RFS_Replication_code_table_3.do:83 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate maturity_range has_coll_m_any lbalance avgAR_l1
|
firmid, dateq | cluster: customerid | RFS_Replication_code_table_3.do:76RFS_Replication_code_table_3.do, line 76
quietly reghdfe actual_rate c.theoretical_rate $loanChars avgAR_l1, ///
abs(firmid dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate maturity_range has_coll_m_any lbalance avgAR_l1, abs(firmid dateq) cluster(customerid) written at RFS_Replication_code_table_3.do:83 |
Table 4
· 3 estimations → table_4.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
actual_rate |
c.theoretical_rate i.datem_crisis ib0.datem_crisis#c.theoretical_rate
|
datem | cluster: customerid | RFS_Replication_code_table_4.do:33RFS_Replication_code_table_4.do, line 33
reghdfe actual_rate c.theoretical_rate i.datem_crisis ///
ib0.datem_crisis#c.theoretical_rate if inrange(datem,664,671), ///
abs(datem) cluster(customerid) written at RFS_Replication_code_table_4.do:57 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate i.datem_crisis ib0.datem_crisis#c.theoretical_rate
|
datem, Industry | cluster: customerid | RFS_Replication_code_table_4.do:41RFS_Replication_code_table_4.do, line 41
reghdfe actual_rate c.theoretical_rate i.datem_crisis ///
ib0.datem_crisis#c.theoretical_rate if inrange(datem,664,671), ///
abs(datem Industry) cluster(customerid) written at RFS_Replication_code_table_4.do:57 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate i.datem_crisis ib0.datem_crisis#c.theoretical_rate
|
datem, firmid, Industry | cluster: customerid | RFS_Replication_code_table_4.do:49RFS_Replication_code_table_4.do, line 49
reghdfe actual_rate c.theoretical_rate i.datem_crisis ///
ib0.datem_crisis#c.theoretical_rate if inrange(datem,664,671), ///
abs(datem firmid Industry) cluster(customerid) written at RFS_Replication_code_table_4.do:57 |
Table 5
· 4 estimations → table_5.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
actual_rate |
c.theoretical_rate
|
firmid, dateq | cluster: customerid | RFS_Replication_code_table_5.do:33RFS_Replication_code_table_5.do, line 33
quietly reghdfe actual_rate c.theoretical_rate if be_first < 4.6 , ///
abs(firmid dateq) cluster(customerid) written at RFS_Replication_code_table_5.do:65 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate maturity_range has_coll_m_any lbalance
|
firmid, dateq | cluster: customerid | RFS_Replication_code_table_5.do:41RFS_Replication_code_table_5.do, line 41
quietly reghdfe actual_rate c.theoretical_rate $loanChars if be_first <4.6, ///
abs(firmid dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate maturity_range has_coll_m_any lbalance if be_first <4.6, abs(firmid dateq) cluster(customerid) written at RFS_Replication_code_table_5.do:65 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate
|
firmid, dateq | cluster: customerid | RFS_Replication_code_table_5.do:49RFS_Replication_code_table_5.do, line 49
quietly reghdfe actual_rate c.theoretical_rate if be_first >4.6 & be_first!=. , ///
abs(firmid dateq) cluster(customerid) written at RFS_Replication_code_table_5.do:65 |
reghdfepanel fe |
actual_rate |
c.theoretical_rate maturity_range has_coll_m_any lbalance
|
firmid, dateq | cluster: customerid | RFS_Replication_code_table_5.do:57RFS_Replication_code_table_5.do, line 57
quietly reghdfe actual_rate c.theoretical_rate $loanChars if be_first >4.6 & be_first!=., ///
abs(firmid dateq) cluster(customerid)
as we read it (macros filled in / loop expanded):
quietly reghdfe actual_rate c.theoretical_rate maturity_range has_coll_m_any lbalance if be_first >4.6 & be_first!=., abs(firmid dateq) cluster(customerid) written at RFS_Replication_code_table_5.do:65 |
Table 6
· 6 estimations → table_6_A.tex, table_6_B.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
dif_ar_1415 |
dif_thr_15
|
— | robust | RFS_Replication_code_table_6.do:82RFS_Replication_code_table_6.do, line 82
reg dif_ar_1415 dif_thr_15, robust written at RFS_Replication_code_table_6.do:95 |
regols |
dif_ar_1415 |
dif_thr_15 dif_OROA_1415 dif_lDeposits_1415 dif_lTotalAssets_1415 dif_ratio_CurrLiab_1415
|
— | robust | RFS_Replication_code_table_6.do:86RFS_Replication_code_table_6.do, line 86
reg dif_ar_1415 dif_thr_15 $cvars_dif, robust
as we read it (macros filled in / loop expanded):
reg dif_ar_1415 dif_thr_15 dif_OROA_1415 dif_lDeposits_1415 dif_lTotalAssets_1415 dif_ratio_CurrLiab_1415, robust written at RFS_Replication_code_table_6.do:95 |
reghdfepanel fe |
dif_ar_1415 |
dif_thr_15 dif_OROA_1415 dif_lDeposits_1415 dif_lTotalAssets_1415 dif_ratio_CurrLiab_1415
|
Industry | robust | RFS_Replication_code_table_6.do:90RFS_Replication_code_table_6.do, line 90
reghdfe dif_ar_1415 dif_thr_15 $cvars_dif, abs(Industry) vce(robust)
as we read it (macros filled in / loop expanded):
reghdfe dif_ar_1415 dif_thr_15 dif_OROA_1415 dif_lDeposits_1415 dif_lTotalAssets_1415 dif_ratio_CurrLiab_1415, abs(Industry) vce(robust) written at RFS_Replication_code_table_6.do:95 |
regols |
ar_2015 |
thr_2015 ar_2014
|
— | robust | RFS_Replication_code_table_6.do:107RFS_Replication_code_table_6.do, line 107
reg ar_2015 thr_2015 ar_2014 , robust written at RFS_Replication_code_table_6.do:119 |
regols |
ar_2015 |
thr_2015 ar_2014 OROA lDeposits lTotalAssets ratio_CurrLiab
|
— | robust | RFS_Replication_code_table_6.do:111RFS_Replication_code_table_6.do, line 111
reg ar_2015 thr_2015 ar_2014 $cvars, robust
as we read it (macros filled in / loop expanded):
reg ar_2015 thr_2015 ar_2014 OROA lDeposits lTotalAssets ratio_CurrLiab, robust written at RFS_Replication_code_table_6.do:119 |
reghdfepanel fe |
ar_2015 |
thr_2015 ar_2014 OROA lDeposits lTotalAssets ratio_CurrLiab
|
Industry | robust | RFS_Replication_code_table_6.do:115RFS_Replication_code_table_6.do, line 115
reghdfe ar_2015 thr_2015 ar_2014 $cvars, abs(Industry) vce(robust)
as we read it (macros filled in / loop expanded):
reghdfe ar_2015 thr_2015 ar_2014 OROA lDeposits lTotalAssets ratio_CurrLiab, abs(Industry) vce(robust) written at RFS_Replication_code_table_6.do:119 |
Table 7
· 15 estimations → table_7_A.tex, table_7_B.tex, table_7_C.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
rating_12mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:39RFS_Replication_code_table_7.do, line 39
reghdfe rating_12mAfter Dif Rating , ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:75 |
reghdfepanel fe |
rating_24mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:46RFS_Replication_code_table_7.do, line 46
reghdfe rating_24mAfter Dif Rating , ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:75 |
reghdfepanel fe |
rating_36mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:53RFS_Replication_code_table_7.do, line 53
reghdfe rating_36mAfter Dif Rating, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:75 |
reghdfepanel fe |
rating_48mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:60RFS_Replication_code_table_7.do, line 60
reghdfe rating_48mAfter Dif Rating , ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:75 |
reghdfepanel fe |
rating_60mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:67RFS_Replication_code_table_7.do, line 67
reghdfe rating_60mAfter Dif Rating , ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:75 |
reghdfepanel fe |
rating_12mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:85RFS_Replication_code_table_7.do, line 85
reghdfe rating_12mAfter Dif Rating if Dif_first<=0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:121 |
reghdfepanel fe |
rating_24mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:92RFS_Replication_code_table_7.do, line 92
reghdfe rating_24mAfter Dif Rating if Dif_first<=0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:121 |
reghdfepanel fe |
rating_36mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:99RFS_Replication_code_table_7.do, line 99
reghdfe rating_36mAfter Dif Rating if Dif_first<=0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:121 |
reghdfepanel fe |
rating_48mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:106RFS_Replication_code_table_7.do, line 106
reghdfe rating_48mAfter Dif Rating if Dif_first<=0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:121 |
reghdfepanel fe |
rating_60mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:113RFS_Replication_code_table_7.do, line 113
reghdfe rating_60mAfter Dif Rating if Dif_first<=0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:121 |
reghdfepanel fe |
rating_12mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:129RFS_Replication_code_table_7.do, line 129
reghdfe rating_12mAfter Dif Rating if Dif_first>0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:165 |
reghdfepanel fe |
rating_24mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:136RFS_Replication_code_table_7.do, line 136
reghdfe rating_24mAfter Dif Rating if Dif_first>0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:165 |
reghdfepanel fe |
rating_36mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:143RFS_Replication_code_table_7.do, line 143
reghdfe rating_36mAfter Dif Rating if Dif_first>0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:165 |
reghdfepanel fe |
rating_48mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:150RFS_Replication_code_table_7.do, line 150
reghdfe rating_48mAfter Dif Rating if Dif_first>0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:165 |
reghdfepanel fe |
rating_60mAfter |
Dif Rating
|
Industry, dateq | cluster: customerid | RFS_Replication_code_table_7.do:157RFS_Replication_code_table_7.do, line 157
reghdfe rating_60mAfter Dif Rating if Dif_first>0, ///
abs(Industry dateq) cluster(customerid) written at RFS_Replication_code_table_7.do:165 |
Estimations not traced to a table or figure · 3
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
actual_rate |
c.theoretical_rate
|
— | cluster: customerid | RFS_Replication_code_figure_5.do:26RFS_Replication_code_figure_5.do, line 26
reg actual_rate c.theoretical_rate if datem==`dt', cluster(customerid) run 12× in a loop (dt=660; dt=661; dt=662…)
|
regols |
actual_rate |
c.theoretical_rate
|
— | cluster: customerid | RFS_Replication_code_figure_5.do:71RFS_Replication_code_figure_5.do, line 71
reg actual_rate c.theoretical_rate if datew==`dt', cluster(customerid) run 20× in a loop (dt=2866; dt=2867; dt=2868…)
|
regols |
actual_rate |
c.theoretical_rate
|
— | cluster: customerid | RFS_Replication_code_figure_5.do:80RFS_Replication_code_figure_5.do, line 80
reg actual_rate c.theoretical_rate if datew==`dt', cluster(customerid) run 20× in a loop (dt=2888; dt=2889; dt=2890…)
|
Tables and figures the code writes:
Table 1 · Table 1 · Table 2 · Table 3 · Table 4 · Table 5 · Table 6 · Table 6 · Table 7 · Table 7 · Table 7 · Figure 1 · Figure 1 · Figure 2 · Figure 2 · Figure 3 · Figure 3 · Figure 4 · Figure 4 · Figure 5 · Figure 5 · Figure 5 · Figure 5 · Figure 6 · Figure 6 · Figure 6 · Figure 6 · Figure 6 · Figure 6 · Figure 7 · Figure 7
table_1_A.tex RFS_Replication_code_table_1.do:36
RFS_Replication_code_table_1.do, line 36
esttab using "$outputfolder\table_1_A.tex", /*
*/ cells("count(label(Count)) mean(`n_fmt' label(Mean)) sd(`n_fmt' label(St. Dev)) p5(`n_fmt' label(P5)) p25(`n_fmt' label(P25)) p50(`n_fmt' label(P50)) p75(`n_fmt' label(P75)) p95(`n_fmt' lab …
table_1_B.tex RFS_Replication_code_table_1.do:59
RFS_Replication_code_table_1.do, line 59
esttab using "$outputfolder\table_1_B.tex", /*
*/ cells("mean(`n_fmt' label(Mean)) sd(`n_fmt' label(St. Dev)) p5(`n_fmt' label(P5)) p25(`n_fmt' label(P25)) p50(`n_fmt' label(P50)) p75(`n_fmt' label(P75)) p95(`n_fmt' label(P95))") /*
*/ r …
table_2.tex RFS_Replication_code_table_2.do:81
RFS_Replication_code_table_2.do, line 81
esttab * using "$outputfolder\table_2.tex", replace ///
se star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) r(3) ///
nonotes r2 label nomtitles noomitted noconstant ///
scalars("hasq Quarter FE" "hasind Industry FE" "hasfirm Firm FE")
table_3.tex RFS_Replication_code_table_3.do:83
RFS_Replication_code_table_3.do, line 83
esttab * using "$outputfolder\table_3.tex", replace ///
se r2 label nomtitles b(3) se(3) r(3) ///
star(* 0.1 ** 0.05 *** 0.01) ///
noomitted noconstant nonotes substitute(\_ _) ///
scalars("hasq Quarter FE" "hasind Industry FE" "hasfirm F …
table_4.tex RFS_Replication_code_table_4.do:57
RFS_Replication_code_table_4.do, line 57
esttab * using "$outputfolder\table_4.tex", replace b(3) se(3) r(3) ///
drop(_cons 0.datem_crisis 1.datem_crisis 0.datem_crisis#c.theoretical_rate) ///
se r2 label star(* 0.1 ** 0.05 *** 0.01) nonotes substitute(\_ _) ///
scalars("hasdt Mon …
table_5.tex RFS_Replication_code_table_5.do:65
RFS_Replication_code_table_5.do, line 65
esttab * using "$outputfolder\table_5.tex", replace ///
se star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) r(3) ///
nonotes r2 label nomtitles noomitted noconstant ///
scalars("hasq Quarter FE" "hasfirm Firm FE") ///
mgroups("Below-median BE" "A …
table_6_A.tex RFS_Replication_code_table_6.do:95
RFS_Replication_code_table_6.do, line 95
esttab * using "$outputfolder\table_6_A.tex", replace substitute(\_ _) ///
se r2 label star(* 0.1 ** 0.05 *** 0.01) nonotes noomitted ///
b(3) se(3) r2(3) ///
noconstant scalars("hasind Industry FE") nomtitles ///
mgroups("AR\$_{2015}$ - AR …
table_6_B.tex RFS_Replication_code_table_6.do:119
RFS_Replication_code_table_6.do, line 119
esttab * using "$outputfolder\table_6_B.tex", replace substitute(\_ _) ///
se r2 label star(* 0.1 ** 0.05 *** 0.01) nonotes noomitted ///
b(3) se(3) r2(3) ///
noconstant scalars("hasind Industry FE") nomtitles ///
mgroups("Actual Rate\$_{20 …
table_7_A.tex RFS_Replication_code_table_7.do:75
RFS_Replication_code_table_7.do, line 75
esttab * using "$outputfolder\table_7_A.tex", replace ///
noconstant ///
se r2 label star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) r(3) nonotes ///
mtitles("h=12" "h=24" "h=36" "h=48" "h=60") ///
scalars("hasq Quarter FE" "hasind Industry FE" "ha …
table_7_B.tex RFS_Replication_code_table_7.do:121
RFS_Replication_code_table_7.do, line 121
esttab * using "$outputfolder\table_7_B.tex", replace keep(Dif Rating) ///
se r2 label star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) r(3) nonotes ///
mtitles("h=12" "h=24" "h=36" "h=48" "h=60") ///
scalars("hasq Quarter FE" "hasind Industry FE" " …
table_7_C.tex RFS_Replication_code_table_7.do:165
RFS_Replication_code_table_7.do, line 165
esttab * using "$outputfolder\table_7_C.tex", replace keep(Dif Rating) ///
se r2 label star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) r(3) nonotes ///
mtitles("h=12" "h=24" "h=36" "h=48" "h=60") ///
scalars("hasq Quarter FE" "hasind Industry FE" " …
figure_1.pdf RFS_Replication_code_figure_1.do:38
RFS_Replication_code_figure_1.do, line 38
graph export "$outputfolder/figure_1.pdf", as(pdf) replace
figure_1.png RFS_Replication_code_figure_1.do:39
RFS_Replication_code_figure_1.do, line 39
graph export "$outputfolder/figure_1.png", as(png) replace
figure_2.pdf RFS_Replication_code_figure_2.do:44
RFS_Replication_code_figure_2.do, line 44
graph export "$outputfolder\figure_2.pdf", ///
as(pdf) replace
figure_2.png RFS_Replication_code_figure_2.do:46
RFS_Replication_code_figure_2.do, line 46
graph export "$outputfolder\figure_2.png", ///
as(png) replace
figure_3.pdf RFS_Replication_code_figure_3.do:23
RFS_Replication_code_figure_3.do, line 23
graph export "$outputfolder\figure_3.pdf", ///
as(pdf) replace
figure_3.png RFS_Replication_code_figure_3.do:25
RFS_Replication_code_figure_3.do, line 25
graph export "$outputfolder\figure_3.png", ///
as(png) replace
figure_4.pdf RFS_Replication_code_figure_4.do:30
RFS_Replication_code_figure_4.do, line 30
graph export "$outputfolder\figure_4.pdf", as(pdf) replace
figure_4.png RFS_Replication_code_figure_4.do:31
RFS_Replication_code_figure_4.do, line 31
graph export "$outputfolder\figure_4.png", as(png) replace
figure_5_R.pdf RFS_Replication_code_figure_5.do:54
RFS_Replication_code_figure_5.do, line 54
graph export "$outputfolder\figure_5_R.pdf", ///
as(pdf) replace
figure_5_R.png RFS_Replication_code_figure_5.do:56
RFS_Replication_code_figure_5.do, line 56
graph export "$outputfolder\figure_5_R.png", ///
as(png) replace
figure_5_L.pdf RFS_Replication_code_figure_5.do:105
RFS_Replication_code_figure_5.do, line 105
graph export "$outputfolder\figure_5_L.pdf", ///
as(pdf) replace
figure_5_L.png RFS_Replication_code_figure_5.do:107
RFS_Replication_code_figure_5.do, line 107
graph export "$outputfolder\figure_5_L.png", ///
as(png) replace
figure_6_L.pdf RFS_Replication_code_figure_6.do:65
RFS_Replication_code_figure_6.do, line 65
graph export "$outputfolder\figure_6_L.pdf", ///
as(pdf) replace
figure_6_L.png RFS_Replication_code_figure_6.do:67
RFS_Replication_code_figure_6.do, line 67
graph export "$outputfolder\figure_6_L.png", ///
as(png) replace
figure_6_M.pdf RFS_Replication_code_figure_6.do:85
RFS_Replication_code_figure_6.do, line 85
graph export "$outputfolder\figure_6_M.pdf", ///
as(pdf) replace
figure_6_M.png RFS_Replication_code_figure_6.do:87
RFS_Replication_code_figure_6.do, line 87
graph export "$outputfolder\figure_6_M.png", ///
as(png) replace
figure_6_H.pdf RFS_Replication_code_figure_6.do:105
RFS_Replication_code_figure_6.do, line 105
graph export "$outputfolder\figure_6_H.pdf", ///
as(pdf) replace
figure_6_H.png RFS_Replication_code_figure_6.do:107
RFS_Replication_code_figure_6.do, line 107
graph export "$outputfolder\figure_6_H.png", ///
as(png) replace
figure_7.pdf RFS_Replication_code_figure_7.do:54
RFS_Replication_code_figure_7.do, line 54
graph export "$outputfolder\figure_7.pdf", as(pdf) replace
figure_7.png RFS_Replication_code_figure_7.do:55
RFS_Replication_code_figure_7.do, line 55
graph export "$outputfolder\figure_7.png", as(png) replace
7 · Figures: how each is drawn — 10 figures in the code (command, layers, options, the file it is saved to)
histogram 5 · scatter 2 · line 2 · bar 1
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
graph barbar
|
bar |
y wavg_others, Greece_GDPGrowth
by DateQ
|
ytitle Percent · legend label(1 Weighted Avg. CIPS) label(2 Greece) region(lcolor(white) fcolor(none)) cols(3) pos(6) |
Figure 1figure_1.pdf |
RFS_Replication_code_figure_1.do:31RFS_Replication_code_figure_1.do, line 31
graph bar wavg_others Greece_GDPGrowth if inrange(Date,212,227), ///
over(DateQ, label(labsize(*0.75) angle(vertical)) ) ///
title("", color(black)) ytitle("Percent") ylabel(,angle(horizontal)) ///
graphregion(color(whit … |
twowayhistogram
|
histogram + histogram |
x l_asset
|
xtitle log(Assets) · bins 25 · legend label(1 Sample) label(2 Amadeus) region(lcolor(white) fcolor(none)) pos(6) rows(1) |
Figure 2figure_2.pdf |
RFS_Replication_code_figure_2.do:37RFS_Replication_code_figure_2.do, line 37
twoway hist l_asset if sample==1, bin(25) color(cranberry%50) ///
|| hist l_asset if sample==0, bin(50) color(edkblue%50) ///
graphregion(color(white)) xlabel(#10) ///
ylabel(#5, angle(horizontal)) xtitle("lo … |
histogramhistogram
|
histogram |
x Dif
|
xtitle Markup · xline 0 · bins 40 |
Figure 3figure_3.pdf |
RFS_Replication_code_figure_3.do:17RFS_Replication_code_figure_3.do, line 17
hist Dif if inrange(Dif,-15,10), bin(40) frequency color(gray%80) ///
graphregion(color(white)) xlabel(#10) ///
ylabel(#10, angle(horizontal)) ///
xtitle("Markup") xscale(range(-15(5)10)) xlabel(#10) ///
xline(0, lpatt … |
twowayscatter
|
scatter + scatter + line + lfit |
y actual_rate, diag_line
x theoretical_rate, diag_line
|
xtitle Breakeven Rate · ytitle Actual Rate · legend pos(10) ring(0) order(1 2) lab(1 Term Loans) lab(2 Credit Lines) region(lcolor(white) fcolor(none)) |
Figure 4figure_4.pdf |
RFS_Replication_code_figure_4.do:19RFS_Replication_code_figure_4.do, line 19
twoway (scatter actual_rate theoretical_rate [aweight=balance] ///
if type==1, yscale(range(0 25)) ylabel(0(5)25, angle(horizontal)) ///
graphregion(color(white)) color(black) mfcolor(none) jitter(3) ) ///
(scatter actu … |
twowayline
|
connected + rcap |
y passthrough_m
x date_d
band passthrough_ub, passthrough_lb
|
yline 0 · ci rcap · legend off |
Figure 5figure_5_R.pdf |
RFS_Replication_code_figure_5.do:44RFS_Replication_code_figure_5.do, line 44
twoway (connected passthrough_m date_d if inrange(datem, 660,671), ///
color(gray) ylabel(#6) yscale(range(-1(0.25)1.5))) ///
(rcap passthrough_ub passthrough_lb date_d if inrange(datem, 660,671), ///
graph … |
twowayline
|
connected + rcap |
y passthrough_wk
x date_d
band passthrough_ub, passthrough_lb
|
yline 0 · ci rcap · legend off |
Figure 5figure_5_L.pdf |
RFS_Replication_code_figure_5.do:95RFS_Replication_code_figure_5.do, line 95
twoway (connected passthrough_wk date_d if inrange(datew, 2866, 2907), ///
color(gray) ylabel(#6) yscale(range(-1(0.25)1.5)) ) ///
(rcap passthrough_ub passthrough_lb date_d if inrange(datew, 2866, 2907), /// … |
histogramhistogram
|
histogram |
x dif_ar_1415
|
title Low · xtitle Change in actual rate · xline `dif_mean', `lb', `ub' (set at run time) · bins 20 |
Figure 6figure_6_L.pdf |
RFS_Replication_code_figure_6.do:57RFS_Replication_code_figure_6.do, line 57
hist dif_ar_1415 if ThR_bin==1, bin(20) frequency color(gray%40) ///
graphregion(color(white)) xscale(range(-6(2)8)) xlabel(#10) ///
yscale(range(0(2)10)) ylabel(#10, angle(horizontal)) ///
xtitle("Change in actual rate" … |
histogramhistogram
|
histogram |
x dif_ar_1415
|
title Med · xtitle Change in actual rate · xline `dif_mean', `lb', `ub' (set at run time) · bins 20 |
Figure 6figure_6_M.pdf |
RFS_Replication_code_figure_6.do:77RFS_Replication_code_figure_6.do, line 77
hist dif_ar_1415 if ThR_bin==2, bin(20) frequency color(gray%40) ///
graphregion(color(white)) xscale(range(-6(2)8)) xlabel(#10) ///
yscale(range(0(2)10)) ylabel(#10, angle(horizontal)) ///
xtitle("Change in actual rate" … |
histogramhistogram
|
histogram |
x dif_ar_1415
|
title High · xtitle Change in actual rate · xline `dif_mean', `lb', `ub' (set at run time) · bins 10 |
Figure 6figure_6_H.pdf |
RFS_Replication_code_figure_6.do:97RFS_Replication_code_figure_6.do, line 97
hist dif_ar_1415 if ThR_bin==3, bin(10) frequency color(gray%40) ///
graphregion(color(white)) xscale(range(-6(2)8)) xlabel(#10) ///
yscale(range(0(2)10)) ylabel(#10, angle(horizontal)) ///
xtitle("Change in actual rate" … |
twowayscatter
|
scatter + scatter + scatter + line |
y actual_rate_jit, diag_line
x theoretical_rate_jit, diag_line
|
xtitle Breakeven Rate · ytitle Actual Rate · legend pos(10) ring(0) order(1 2 3) lab(1 Below BE) lab(2 Interest coverage<1) lab(3 Below prime rate) region(lcolor(white) fcolor(none)) |
Figure 7figure_7.pdf |
RFS_Replication_code_figure_7.do:41RFS_Replication_code_figure_7.do, line 41
twoway (scatter actual_rate_jit theoretical_rate_jit ///
if below_BE==1, yscale(range(0 25)) ylabel(0(5)25, angle(horizontal)) ///
graphregion(color(white)) color(cranberry) mfcolor(none) msymbol(O) ) ///
(scatter act … |