Replication package 7263 · dataverse · 2022 · open the deposit

How the code gets from data to results

Replication Data for: Credit Supply Shocks: Financing Real Growth or Takeovers?

Code for: Credit Supply Shocks: Financing Real Growth or Takeovers? Review of Corporate Finance Studies 2024

14
scripts
24
input files
16
file hand-offs
46
merges
85
sample steps
74
estimations

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

Datasets this package uses (item detector / README): Compustat, LPC DealScan, ExecuComp
  • $path/Compustat/Compustat_financials2.dta Stata
    10 Heterogeneity (Table 7).do:27
    Replication package/Code/10 Heterogeneity (Table 7).do, line 27 use "$path/Compustat/Compustat_financials2.dta", clear
  • $path/Compustat/Compustat_financials.dta Stata
    03 Construct bank-firm-year and firm-year panel.do:23
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 23 use "$path/Compustat/Compustat_financials.dta", clear
  • $path/Compustat/Compustat_ids.dta Stata
    10 Heterogeneity (Table 7).do:110
    Replication package/Code/10 Heterogeneity (Table 7).do, line 110 use "$path/Compustat/Compustat_ids.dta", clear
  • $path/Compustat/Compustat_prof.dta Stata
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:422
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 422 merge m:1 gvkey yearcs using "$path/Compustat/Compustat_prof.dta", keepusing(prof_sales) keep(1 3) nogen // (raw compustat file including already calculated ROS by firm-year)
  • $path/Compustat/Compustat_ratings.dta Stata
    03 Construct bank-firm-year and firm-year panel.do:56
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 56 merge m:1 globalvantagekey Year Month using "$path/Compustat/Compustat_ratings.dta", nogen keep(1 3) keepus(SPRating)
  • $path/Link Tables/Dealscan_Compustat_Link_31Aug2012.csv CSV
    02 Construct loan sample.do:92
    Replication package/Code/02 Construct loan sample.do, line 92 insheet using "$path/Link Tables/Dealscan_Compustat_Link_31Aug2012.csv", clear
  • Compustat_RD_1990_2007 Stata
    Compustat (preprocessing).do:4
    Replication package/Data/HighInnov/Compustat (preprocessing).do, line 4 use "Compustat_RD_1990_2007", clear // raw compustat data w/ infos on firm sale, rnd, industry
LPC DealScan 5 files
  • $path/Dealscan/Facility Stata · read by 2 scripts
    02 Construct loan sample.do:20
    Replication package/Code/02 Construct loan sample.do, line 20 use "$path/Dealscan/Facility", clear // unique id: facilityid
  • $path/Dealscan/Company Stata
    02 Construct loan sample.do:35
    Replication package/Code/02 Construct loan sample.do, line 35 merge m:1 CompanyID using "$path/Dealscan/Company", keepusing(Country PrimarySICCode) keep(3) nogen
  • $path/Dealscan/Lendershares Stata
    02 Construct loan sample.do:53
    Replication package/Code/02 Construct loan sample.do, line 53 merge 1:m FacilityID using "$path/Dealscan/Lendershares", nogen keep(3) keepusing(Lender CompanyID)
  • $path/Dealscan/Package Stata
    02 Construct loan sample.do:31
    Replication package/Code/02 Construct loan sample.do, line 31 merge m:1 PackageID using "$path/Dealscan/Package", keepus(BorrowerCompanyID) keep(3) nogen
  • $path/Link Tables/Match Dealogic Dealscan.csv CSV
    01 CDO League Tables.do:48
    Replication package/Code/01 CDO League Tables.do, line 48 insheet using "$path/Link Tables/Match Dealogic Dealscan.csv", comma clear names
  • $path/CRSP/1980-2010 Stata
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:88
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 88 use "$path/CRSP/1980-2010", clear
  • $path/CRSP/CRSP Index.dta Stata
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:104
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 104 merge m:1 date using "$path/CRSP/CRSP Index.dta", keepusing(vwretd) nogen assert(2 3) keep(3)
  • $path/Link Tables/CCM linking table.dta Stata
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:43
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 43 use "$path/Link Tables/CCM linking table.dta", clear
ExecuComp 1 file
  • $path/Execucomp/ANNCOMP.dta Stata
    10 Heterogeneity (Table 7).do:81
    Replication package/Code/10 Heterogeneity (Table 7).do, line 81 use "$path/Execucomp/ANNCOMP.dta", clear // base
  • $path/Inst Holdings/13f Institutional holdings information.dta Stata
    10 Heterogeneity (Table 7).do:163
    Replication package/Code/10 Heterogeneity (Table 7).do, line 163 use "$path/Inst Holdings/13f Institutional holdings information.dta", clear
Other input files 7 files
  • $path/Dealogic/All CDO Deals to 2007.csv CSV · read by 2 scripts
    01 CDO League Tables.do:24
    Replication package/Code/01 CDO League Tables.do, line 24 insheet using "$path/Dealogic/All CDO Deals to 2007.csv", comma names clear
  • $path/Link Tables/Cusip Numbers.dta Stata · read by 2 scripts
    06 Preprocess SDC Platinum Data.do:116
    Replication package/Code/06 Preprocess SDC Platinum Data.do, line 116 merge m:1 cusip6 using "$path/Link Tables/Cusip Numbers.dta", keep(3) nogen
  • $path/GIndex/Governance.xlsx Excel
    10 Heterogeneity (Table 7).do:119
    Replication package/Code/10 Heterogeneity (Table 7).do, line 119 import excel "$path/GIndex/Governance.xlsx", clear cellrange(A24) firstrow
  • $path/Link Tables/LenderParent_Historical_Clean_20111202.txt text
    02 Construct loan sample.do:61
    Replication package/Code/02 Construct loan sample.do, line 61 insheet using "$path/Link Tables/LenderParent_Historical_Clean_20111202.txt", clear
  • $path/NW2012/NW2012 Table.xlsx Excel
    11 Online Appendix Only - CDO activity vs NW (2012).do:25
    Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).do, line 25 import excel "$path/NW2012/NW2012 Table.xlsx", sheet("Table 2") clear
  • nat3d_sic_1997_dl.xls Excel
    BLSdata (preprocessing).do:5
    Replication package/Data/BLS/BLSdata (preprocessing).do, line 5 import excel using "nat3d_sic_1997_dl.xls", sheet("Sheet1") cellrange(A33) firstrow clear
  • nat3d_sic_2001_dl.xls Excel
    BLSdata (preprocessing).do:18
    Replication package/Data/BLS/BLSdata (preprocessing).do, line 18 import excel using "nat3d_sic_2001_dl.xls", sheet("nat3d_dl") cellrange(A1) firstrow clear

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

14 scripts, in run order for the master script 00 RUN ALL FILES.do and the 11 scripts it runs (directly or through each other); the other 2 are not run by a master script and follow in file-name order; 16 hand-offs through 11 intermediate files; 1 files written and never read back (outputs).

Replication package/Code/02 Construct loan sample.do → Replication package/Code/03 Construct bank-firm-year and firm-year panel.do: Dealscan base.dtaReplication package/Code/01 CDO League Tables.do → Replication package/Code/03 Construct bank-firm-year and firm-year panel.do: CDO League Table (monthly).dtaReplication package/Code/03 Construct bank-firm-year and firm-year panel.do → Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do: Sample (firm)_adjReplication package/Code/01 CDO League Tables.do → Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do: CDO League Table (monthly)Replication package/Code/03 Construct bank-firm-year and firm-year panel.do → Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do: Sample (bank firm)_adj, Sample (firm)_adjReplication package/Code/03 Construct bank-firm-year and firm-year panel.do → Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do: Sample (firm)_adj.dtaReplication package/Code/06 Preprocess SDC Platinum Data.do → Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do: SDC_info_multipliers.dtaReplication package/Code/03 Construct bank-firm-year and firm-year panel.do → Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do: Sample (firm)_adjReplication package/Code/06 Preprocess SDC Platinum Data.do → Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do: SDC_transaction_value_firmyear.dtaReplication package/Code/03 Construct bank-firm-year and firm-year panel.do → Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do: Sample (firm)_adj, Sample (firm)_adj.dtaReplication package/Code/06 Preprocess SDC Platinum Data.do → Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do: SDC_base.dtaReplication package/Code/03 Construct bank-firm-year and firm-year panel.do → Replication package/Code/10 Heterogeneity (Table 7).do: Sample (firm)_adjReplication package/Code/06 Preprocess SDC Platinum Data.do → Replication package/Code/10 Heterogeneity (Table 7).do: SDC_transaction_value_firmyear.dtaReplication package/Data/BLS/BLSdata (preprocessing).do → Replication package/Code/10 Heterogeneity (Table 7).do: annualmeanwage_bysic3.dtaReplication package/Data/HighInnov/Compustat (preprocessing).do → Replication package/Code/10 Heterogeneity (Table 7).do: HighInnovationIndustries_sich3.dtaReplication package/Code/01 CDO League Tables.do → Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).do: CDO League Table (monthly).dta Replication package/Code/00 RUN ALL FILES.do 1. 00 RUN ALL FILES.do Replication package/Code/01 CDO League Tables.do · reads 2 input files 2. 01 CDO League Tables.do Replication package/Code/02 Construct loan sample.do · reads 6 input files 3. 02 Construct loan sample.do Replication package/Code/03 Construct bank-firm-year and firm-year panel.do · reads 2 input files 4. 03 Construct bank-firm-year and firm-year p… Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do · reads 2 input files 5. 04 Basic Descriptive Statistics (Figures 1 … Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do · 22 estimations 6. 05 Loan supply tests (Tables 1 & 2, Table 4… 22 est.Replication package/Code/06 Preprocess SDC Platinum Data.do · reads 1 input files 7. 06 Preprocess SDC Platinum Data.do Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do · 23 estimations 8. 07 Real Effects adj for inorganic growth (T… 23 est.Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do · 5 estimations 9. 08 Merger activity based on SDC info (Table… 5 est.Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do · reads 5 input files · 22 estimations 10. 09 Acquirer returns and operating peformanc… 22 est.Replication package/Data/HighInnov/Compustat (preprocessing).do · reads 1 input files 11. Compustat (preprocessing).do Replication package/Data/BLS/BLSdata (preprocessing).do · reads 2 input files 12. BLSdata (preprocessing).do Replication package/Code/10 Heterogeneity (Table 7).do · reads 5 input files · 2 estimations 13. 10 Heterogeneity (Table 7).do 2 est.Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).do · reads 1 input files 14. 11 Online Appendix Only - CDO activity vs N…
  1. 1.Replication package/Code/00 RUN ALL FILES.do master script
  2. 2.Replication package/Code/01 CDO League Tables.do run by Replication package/Code/00 RUN ALL FILES.do line 10 reads 2 input files · 2 merges ·
    writes CDO League Table (monthly) → read by 04 Basic Descriptive Statistics (Figures 1 & 2).do
    writes CDO League Table (monthly).dta → read by 03 Construct bank-firm-year and firm-year panel.do, 11 Online Appendix Only - CDO activity vs NW (2012).do
  3. 3.Replication package/Code/02 Construct loan sample.do run by Replication package/Code/00 RUN ALL FILES.do line 11 reads 6 input files · 5 merges ·
    writes Dealscan base.dta → read by 03 Construct bank-firm-year and firm-year panel.do
  4. 4.Replication package/Code/03 Construct bank-firm-year and firm-year panel.do run by Replication package/Code/00 RUN ALL FILES.do line 12 reads 2 input files · 5 merges ·
    reads what 01 CDO League Tables.do, 02 Construct loan sample.do wrote
    writes Sample (bank firm)_adj → read by 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do
    writes Sample (firm)_adj → read by 04 Basic Descriptive Statistics (Figures 1 & 2).do, 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, 08 Merger activity based on SDC info (Table 4 (col 3-6)).do, 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, 10 Heterogeneity (Table 7).do
    writes Sample (firm)_adj.dta → read by 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do
  5. 5.Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do run by Replication package/Code/00 RUN ALL FILES.do line 13 reads 2 input files · 1 merge ·
    reads what 01 CDO League Tables.do, 03 Construct bank-firm-year and firm-year panel.do wrote
  6. 6.Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do run by Replication package/Code/00 RUN ALL FILES.do line 14 1 merge · 22 estimations
    reads what 03 Construct bank-firm-year and firm-year panel.do wrote
  7. 7.Replication package/Code/06 Preprocess SDC Platinum Data.do run by Replication package/Code/00 RUN ALL FILES.do line 15 reads 1 input file · 5 merges ·
    writes SDC_base.dta → read by 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do
    writes SDC_info_multipliers.dta → read by 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do
    writes SDC_transaction_value_firmyear.dta → read by 08 Merger activity based on SDC info (Table 4 (col 3-6)).do, 10 Heterogeneity (Table 7).do
  8. 8.Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do run by Replication package/Code/00 RUN ALL FILES.do line 16 5 merges · 23 estimations
    reads what 03 Construct bank-firm-year and firm-year panel.do, 06 Preprocess SDC Platinum Data.do wrote
  9. 9.Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do run by Replication package/Code/00 RUN ALL FILES.do line 17 1 merge · 5 estimations
    reads what 03 Construct bank-firm-year and firm-year panel.do, 06 Preprocess SDC Platinum Data.do wrote
  10. 10.Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do run by Replication package/Code/00 RUN ALL FILES.do line 18 reads 5 input files · 14 merges · 22 estimations
    reads what 03 Construct bank-firm-year and firm-year panel.do, 06 Preprocess SDC Platinum Data.do wrote
    writes (not read again): M&A Returns.dta
  11. 11.Replication package/Data/HighInnov/Compustat (preprocessing).do reads 1 input file ·
    writes HighInnovationIndustries_sich3.dta → read by 10 Heterogeneity (Table 7).do
  12. 12.Replication package/Data/BLS/BLSdata (preprocessing).do reads 2 input files · 1 merge ·
    writes annualmeanwage_bysic3.dta → read by 10 Heterogeneity (Table 7).do
  13. 13.Replication package/Code/10 Heterogeneity (Table 7).do run by Replication package/Code/00 RUN ALL FILES.do line 19 reads 5 input files · 10 merges · 2 estimations
    reads what 03 Construct bank-firm-year and firm-year panel.do, 06 Preprocess SDC Platinum Data.do, Compustat (preprocessing).do, BLSdata (preprocessing).do wrote
  14. 14.Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).do run by Replication package/Code/00 RUN ALL FILES.do line 20 reads 1 input file · 2 merges ·
    reads what 01 CDO League Tables.do wrote

3 · Merges — 46 joins, 5 followed by a check of the merge result; 6 appends

JoinsHowOn keysCheck that followsWhere
(data in memory) ← dealogic_ds merge m:1 Bookrunner dealpricingdate none
01 CDO League Tables.do:58
Replication package/Code/01 CDO League Tables.do, line 58 merge m:1 Bookrunner dealpricingdate using `dealogic_ds', nogen assert(3)
(data in memory) ← cdo_base merge 1:1 LenderParent year month none
01 CDO League Tables.do:124
Replication package/Code/01 CDO League Tables.do, line 124 merge 1:1 LenderParent year month using `CDO_base', nogen assert(1 3)
facility ← package merge m:1 PackageID none
02 Construct loan sample.do:31
Replication package/Code/02 Construct loan sample.do, line 31 merge m:1 PackageID using "$path/Dealscan/Package", keepus(BorrowerCompanyID) keep(3) nogen
facility ← company merge m:1 CompanyID none
02 Construct loan sample.do:35
Replication package/Code/02 Construct loan sample.do, line 35 merge m:1 CompanyID using "$path/Dealscan/Company", keepusing(Country PrimarySICCode) keep(3) nogen
facility ← lendershares merge 1:m FacilityID none
02 Construct loan sample.do:53
Replication package/Code/02 Construct loan sample.do, line 53 merge 1:m FacilityID using "$path/Dealscan/Lendershares", nogen keep(3) keepusing(Lender CompanyID)
(data in memory) ← _ultparent join m:m (inner) Lender none
02 Construct loan sample.do:72
Replication package/Code/02 Construct loan sample.do, line 72 joinby Lender using `_UltParent' // restricts dataset to loans with bank parent information
(data in memory) ← dealscan_cs merge m:1 FacilityID none
02 Construct loan sample.do:100
Replication package/Code/02 Construct loan sample.do, line 100 merge m:1 FacilityID using `dealscan_cs', nogen keep(1 3)
compustat_financials ← compustat_ratings merge m:1 globalvantagekey Year Month none
03 Construct bank-firm-year and firm-year panel.do:56
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 56 merge m:1 globalvantagekey Year Month using "$path/Compustat/Compustat_ratings.dta", nogen keep(1 3) keepus(SPRating)
(data in memory) ← lending_rel join m:m (inner) gvkey none
03 Construct bank-firm-year and firm-year panel.do:95
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 95 joinby gvkey using `lending_rel' // restricts sample to firms that are active in the syndicated loan market
(data in memory) ← loanvol join m:m (left) gvkey lender drop _merge
03 Construct bank-firm-year and firm-year panel.do:119
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 119 joinby gvkey lender using `loanvol', unmatched(master) // add all (term-)loans by lender-firm pairs
loanvol ← cdo league table (monthly) merge m:1 LenderParent m_year m_month none
03 Construct bank-firm-year and firm-year panel.do:147
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 147 merge m:1 LenderParent m_year m_month using "$path/_temp/CDO League Table (monthly).dta", nogen keep(1 3)
(data in memory) ← rating_fe merge m:1 gvkey none
03 Construct bank-firm-year and firm-year panel.do:294
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 294 merge m:1 gvkey using `rating_fe', nogen keepusing(*FE sprat_95*) assert(1 3)

4 · The sample — 73 keep/drop steps, 12 variables winsorized or trimmed

Filters, by kind
industry screens ×2
  • drop if sic >= 6000 & sic <= 6999
    03 Construct bank-firm-year and firm-year panel.do:224
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 224 drop if sic >= 6000 & sic <= 6999
  • drop if sic >= 4900 & sic <= 4949
    03 Construct bank-firm-year and firm-year panel.do:225
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 225 drop if sic >= 4900 & sic <= 4949
time period ×8
  • drop if year(FacilityStartDate) > 2011
    02 Construct loan sample.do:50
    Replication package/Code/02 Construct loan sample.do, line 50 drop if year(FacilityStartDate) > 2011
  • keep if inrange(fyear,1990,2007)
    03 Construct bank-firm-year and firm-year panel.do:229
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 229 keep if inrange(fyear,1990,2007)
  • drop if fyear < 1995
    03 Construct bank-firm-year and firm-year panel.do:283
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 283 drop if fyear < 1995 // drop years before 1995
  • keep if inrange(year,1996,2007)
    04 Basic Descriptive Statistics (Figures 1 & 2).do:29
    Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 29 keep if inrange(year,1996,2007)
  • keep if inrange(year(date),1989,2007)
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:101
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 101 keep if inrange(year(date),1989,2007)
  • keep if inrange(year(DateAnnounced),1990,2007)
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:139
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 139 keep if inrange(year(DateAnnounced),1990,2007)
  • keep if m_month == 12
    11 Online Appendix Only - CDO activity vs NW (2012).do:51
    Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).do, line 51 keep if m_month == 12 // december of each year = sum over previous 12 months
  • drop if year == 2008 | year == 1995
    11 Online Appendix Only - CDO activity vs NW (2012).do:84
    Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).do, line 84 drop if year == 2008 | year == 1995 // years outside our sample period
value ranges ×7
  • keep if minmissobs == missobs
    03 Construct bank-firm-year and firm-year panel.do:41
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 41 keep if minmissobs == missobs // use entry with the fewest missing values across basic Compustat items
  • keep if CDO_Volume != 0
    04 Basic Descriptive Statistics (Figures 1 & 2).do:123
    Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 123 keep if CDO_Volume != 0
  • drop if PctCash == 0
    06 Preprocess SDC Platinum Data.do:142
    Replication package/Code/06 Preprocess SDC Platinum Data.do, line 142 drop if PctCash == 0
  • keep if at_lag == max_assets
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:260
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 260 keep if at_lag == max_assets // removes 21 duplicates
  • keep if PctCash != 0 | PctStock != 0
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:302
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 302 keep if PctCash != 0 | PctStock != 0
  • drop if dif < -4
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:387
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 387 drop if dif < -4
  • drop if dif > 4
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:388
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 388 drop if dif > 4
category values ×14
  • drop if dealscanparentname == "
    01 CDO League Tables.do:96
    Replication package/Code/01 CDO League Tables.do, line 96 drop if dealscanparentname == "#NA"
  • keep if Status == "Completed"
    06 Preprocess SDC Platinum Data.do:87
    Replication package/Code/06 Preprocess SDC Platinum Data.do, line 87 keep if Status == "Completed" /*drops 25% of observations*/
  • drop if inlist(Form, "Buyback", "Recapitalization")
    06 Preprocess SDC Platinum Data.do:88
    Replication package/Code/06 Preprocess SDC Platinum Data.do, line 88 drop if inlist(Form, "Buyback", "Recapitalization") /*drops 2% of observations*/
  • drop if linkprim=="J" | linkprim=="N"
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:56
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 56 drop if linkprim=="J" | linkprim=="N"
  • keep if ShareTypeCode == 11
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:90
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 90 keep if ShareTypeCode == 11 // restrict to common shares
  • keep if check == 250
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:180
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 180 keep if check == 250 // exclude incomplete windows
  • keep if check == 11
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:186
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 186 keep if check == 11 // exclude incomplete windows
  • keep if occ_title == "Industry Total"
    BLSdata (preprocessing).do:10
    Replication package/Data/BLS/BLSdata (preprocessing).do, line 10 keep if occ_title == "Industry Total"
  • first 8 of 14
indicator subsets ×19
  • drop if countvalidparents != 0 & valid == 0
    02 Construct loan sample.do:75
    Replication package/Code/02 Construct loan sample.do, line 75 drop if countvalidparents != 0 & valid == 0
  • drop if hasvalid == 1 & valid == 0
    03 Construct bank-firm-year and firm-year panel.do:130
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 130 drop if hasvalid == 1 & valid == 0
  • drop if sprat == 0
    03 Construct bank-firm-year and firm-year panel.do:282
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 282 drop if sprat == 0 // only firm w/ rating
  • drop if Keep == 0
    04 Basic Descriptive Statistics (Figures 1 & 2).do:25
    Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 25 drop if Keep == 0
  • drop if temp == 1
    05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:88
    Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 88 drop if temp == 1
  • keep if sample3 == 1
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:186
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 186 keep if sample3 == 1
  • keep if sample4 == 1
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:194
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 194 keep if sample4 == 1
  • keep if sample3 == 1
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:255
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 255 keep if sample3 == 1
  • first 8 of 19
row position (_n, first / last row) ×2
  • drop if fyear < mintemp
    10 Heterogeneity (Table 7).do:147
    Replication package/Code/10 Heterogeneity (Table 7).do, line 147 drop if fyear < mintemp
  • drop if fyear > maxtemp + 3
    10 Heterogeneity (Table 7).do:148
    Replication package/Code/10 Heterogeneity (Table 7).do, line 148 drop if fyear > maxtemp + 3
missing values ×16
  • drop if Bookrunner == ""
    01 CDO League Tables.do:38
    Replication package/Code/01 CDO League Tables.do, line 38 drop if Bookrunner == ""
  • drop if year == .
    01 CDO League Tables.do:72
    Replication package/Code/01 CDO League Tables.do, line 72 drop if year == .
  • drop if TermLoan == .
    02 Construct loan sample.do:28
    Replication package/Code/02 Construct loan sample.do, line 28 drop if TermLoan == .
  • drop if PrimarySICCode == .
    02 Construct loan sample.do:38
    Replication package/Code/02 Construct loan sample.do, line 38 drop if PrimarySICCode == .
  • drop if fyear == . | at == .
    03 Construct bank-firm-year and firm-year panel.do:26
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 26 drop if fyear == . | at == . // missing fiscal year or total assets
  • keep if gvkey != .
    03 Construct bank-firm-year and firm-year panel.do:77
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 77 keep if gvkey != . // exclude firms w/o Compustat link
  • keep if gvkey != . & TermLoan == 1
    03 Construct bank-firm-year and firm-year panel.do:110
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 110 keep if gvkey != . & TermLoan == 1 // restrict to term loans
  • drop if sic == .
    03 Construct bank-firm-year and firm-year panel.do:226
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 226 drop if sic == .
  • first 8 of 16
other conditions ×3
  • drop if inrange(PrimarySICCode,6000,6999)
    02 Construct loan sample.do:39
    Replication package/Code/02 Construct loan sample.do, line 39 drop if inrange(PrimarySICCode,6000,6999)
  • keep if inrange(sprat,2,18)
    04 Basic Descriptive Statistics (Figures 1 & 2).do:81
    Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 81 keep if inrange(sprat,2,18) // restrict to AAA-B range
  • keep if inrange(dif,-3,3)
    05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:154
    Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 154 keep if inrange(dif,-3,3)
time windows set by a variable — a loop or a computed date, not fixed years (rolling estimation windows, not the sample period) ×1
  • keep if year(cdate_end) >= start_y & year(cdate_start) <= end_y
    03 Construct bank-firm-year and firm-year panel.do:99
    Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 99 keep if year(cdate_end) >= start_y & year(cdate_start) <= end_y
drops after a merge (_merge) ×1
  • keep if _merge == 3
    09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:135
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 135 keep if _merge == 3
Outliers
winsorize at 1/99 · 12 variables
d_lev lev g_emp loans_at* cf tldt sale_sic3_g sale_g amt_deals_aq* prof_delta* multiplier* g_*_adj*
03 Construct bank-firm-year and firm-year panel.do:192
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 192 winsor2 `var', replace cuts(1 99)
03 Construct bank-firm-year and firm-year panel.do:263
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 263 winsor2 loans_at*, replace cuts(1 99)
10 Heterogeneity (Table 7).do:62
Replication package/Code/10 Heterogeneity (Table 7).do, line 62 winsor2 cf tldt sale_sic3_g sale_g, cuts(1 99) replace // winsorize ratios at 1/99%
10 Heterogeneity (Table 7).do:184
Replication package/Code/10 Heterogeneity (Table 7).do, line 184 winsor2 amt_deals_aq*, cuts(1 99) replace
Missing values
set to zero ×17
  • INORG → 0
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:197
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 197 replace INORG = 0 if INORG == .
  • INORG → 0
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:266
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 266 replace INORG = 0 if INORG == .
  • INORG → 0
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:335
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 335 replace INORG = 0 if INORG == .
  • CDO_Volume → 0
    01 CDO League Tables.do:127
    Replication package/Code/01 CDO League Tables.do, line 127 replace CDO_Volume = 0 if CDO_Volume == .
  • CDO_Deals → 0
    01 CDO League Tables.do:128
    Replication package/Code/01 CDO League Tables.do, line 128 replace CDO_Deals = 0 if CDO_Deals == .
  • dif → 0
    05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:96
    Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 96 replace dif = 0 if dif == . // zero for firms where banks are never securitization active
dropped ×14
  • 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:78
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 78 drop if sic_1digit == . | fyear == .
  • 01 CDO League Tables.do:72
    Replication package/Code/01 CDO League Tables.do, line 72 drop if year == .
  • 06 Preprocess SDC Platinum Data.do:145
    Replication package/Code/06 Preprocess SDC Platinum Data.do, line 145 keep if CashValueOfTransaction != . & ta_target != . & ce_target != . & Goodwill != .
  • 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:177
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 177 drop if stock_ret == .
  • 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:454
    Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 454 drop if `var' == .
  • 04 Basic Descriptive Statistics (Figures 1 & 2).do:52
    Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 52 drop if year == .
filled with a value ×10
  • multiplier_ta → multiplier_ta_sic1digit
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:87
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 87 replace `var' = `var'_sic1digit if aqc > 0 & aqc != . & `var' == .
  • multiplier_sales → multiplier_sales_sic1digit
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:87
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 87 replace `var' = `var'_sic1digit if aqc > 0 & aqc != . & `var' == .
  • multiplier_employees → multiplier_employees_sic1digit
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:87
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 87 replace `var' = `var'_sic1digit if aqc > 0 & aqc != . & `var' == .
  • g_at_inorg → g_at_adj2
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:198
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 198 replace g_at_inorg = g_at_adj2 if g_at_inorg == .
  • g_sale_inorg → g_sale_adj2
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:267
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 267 replace g_sale_inorg = g_sale_adj2 if g_sale_inorg == .
  • g_emp_inorg → g_emp_adj2
    07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:336
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 336 replace g_emp_inorg = g_emp_adj2 if g_emp_inorg == .
common sample across variables (listwise) ×7
  • 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:149
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 149 gen sample3 = e(sample)
  • 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:154
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 154 gen sample4 = e(sample)
  • 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:231
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 231 gen sample3 = e(sample)
  • 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:236
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 236 gen sample4 = e(sample)
  • 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:300
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 300 gen sample3 = e(sample)
  • 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:305
    Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 305 gen sample4 = e(sample)

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

Standard measures computed here: Asset Growth (g_at
03 Construct bank-firm-year and firm-year panel.do:181
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 181 gen g_at = (at-at_lag)/at_lag // Asset growth
), Book Leverage (lev
03 Construct bank-firm-year and firm-year panel.do:172
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 172 gen lev = (dlc+dltt)/at // Leverage
), Cash Flow (Earnings + Depreciation) (cf
10 Heterogeneity (Table 7).do:56
Replication package/Code/10 Heterogeneity (Table 7).do, line 56 gen cf = (ibc + dp)/at // cash flow
), Cumulative Abnormal Return (CAR) (
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:390
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 390 bys DealNumber (dif): gen car = sum(ab_ret_)
), Dividend Payer (div_payer
10 Heterogeneity (Table 7).do:53
Replication package/Code/10 Heterogeneity (Table 7).do, line 53 gen div_payer = (dvt > 0 & dvt != .)
), Log Total Assets (ln_at
03 Construct bank-firm-year and firm-year panel.do:170
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 170 gen ln_at = ln(at) // ln(Assets)
), Long-term Debt Ratio (tldt
10 Heterogeneity (Table 7).do:57
Replication package/Code/10 Heterogeneity (Table 7).do, line 57 gen tldt = dltt/at
), R&D Intensity (xrd_sale
Compustat (preprocessing).do:13
Replication package/Data/HighInnov/Compustat (preprocessing).do, line 13 gen xrd_sale = xrd/sale
), Return on Assets (ROA) (prof
03 Construct bank-firm-year and firm-year panel.do:48
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 48 gen prof = ebitda/at // Profitability
), SA Index (sa_index
10 Heterogeneity (Table 7).do:49
Replication package/Code/10 Heterogeneity (Table 7).do, line 49 gen sa_index = (size * -0.737) + (0.043 * size^2) - (0.040 * age)
), Sales Growth (g_sale
03 Construct bank-firm-year and firm-year panel.do:182
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 182 gen g_sale = (sale-sale_lag)/sale_lag // Sales growth
), Tangibility (PPE/Assets) (tang
03 Construct bank-firm-year and firm-year panel.do:176
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 176 gen tang = ppent/at // Tangibility
), WW Index (ww_index
10 Heterogeneity (Table 7).do:63
Replication package/Code/10 Heterogeneity (Table 7).do, line 63 gen ww_index = (-0.091 * cf) - (0.062 * div_payer) + /// (0.021 * tldt) - (0.044 * size) + (0.102 * sale_sic3_g) - (0.035 * sale_g)
)
VariableUsed in models asBuilt by
ln_loan_amt outcome in 8
ln_loan_amt = ln(1+loan_amt) (gen)
03 Construct bank-firm-year and firm-year panel.do:166
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 166 gen ln_loan_amt = ln(1+loan_amt) // ln(Loan Amount)
loan_amt_LN outcome in 7
loan_amt_LN = ln(1+loan_amt) (gen)
03 Construct bank-firm-year and firm-year panel.do:257
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 257 gen loan_amt_LN = ln(1+loan_amt) // ln(Loan Amount)
g_at outcome in 6
g_at = (at-at_lag)/at_lag (gen)
03 Construct bank-firm-year and firm-year panel.do:181
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 181 gen g_at = (at-at_lag)/at_lag // Asset growth
amt_deals_aq outcome in 4
amt_deals_aq = deals_USD/at_lag (gen)
08 Merger activity based on SDC info (Table 4 (col 3-6)).do:26
Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do, line 26 gen amt_deals_aq = deals_USD/at_lag // acquisition value / lagged assets
amt_deals_aq = deals_USD/at_lag (gen)
10 Heterogeneity (Table 7).do:183
Replication package/Code/10 Heterogeneity (Table 7).do, line 183 gen amt_deals_aq = deals_USD/at_lag
aqc_at outcome in 4
aqc_at = aqc/at_lag (gen)
03 Construct bank-firm-year and firm-year panel.do:180
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 180 gen aqc_at = aqc/at_lag // Cash acquisitions/Assets_lag
g_emp outcome in 4
g_emp = (emp-emp_lag)/emp_lag (gen)
03 Construct bank-firm-year and firm-year panel.do:183
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 183 gen g_emp = (emp-emp_lag)/emp_lag // Employment growth
g_sale outcome in 4
g_sale = (sale-sale_lag)/sale_lag (gen)
03 Construct bank-firm-year and firm-year panel.do:182
Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 182 gen g_sale = (sale-sale_lag)/sale_lag // Sales growth
CAR_0 outcome in 3
CAR_0 = (ab_ret_0)*100 (gen)
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:280
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 280 gen CAR_0 = (ab_ret_0)*100
CAR_0_3 outcome in 3
CAR_0_3 = (ab_ret_0 + ab_ret_1 + ab_ret_2 + ab_ret_3)*100 (gen)
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:283
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 283 gen CAR_0_3 = (ab_ret_0 + ab_ret_1 + ab_ret_2 + ab_ret_3)*100
CAR_0_3_neg outcome in 3
CAR_0_3_neg = CAR_0_3 < 0 (gen)
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:321
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 321 gen CAR_0_3_neg = CAR_0_3 < 0
prof_delta_0 outcome in 3
prof_delta_0 = prof_0 - prof_min_1 (gen)
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:447
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 447 gen prof_delta_0 = prof_0 - prof_min_1
prof_delta_1 outcome in 3
prof_delta_1 = prof_plu_1 - prof_min_1 (gen)
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:448
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 448 gen prof_delta_1 = prof_plu_1 - prof_min_1
prof_delta_2 outcome in 3
prof_delta_2 = prof_plu_2 - prof_min_1 (gen)
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:449
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 449 gen prof_delta_2 = prof_plu_2 - prof_min_1
tot_CAR_0_3 outcome in 3 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace
g_at_inorg outcome in 2
g_at_inorg = g_at - g_at_adj2 (gen)
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:131
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 131 gen g_at_inorg = g_at - g_at_adj2
g_at_inorg = g_at_adj2 (replace)
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:198
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 198 replace g_at_inorg = g_at_adj2 if g_at_inorg == .

6 · Models, by the table or figure they feed — 74 estimations, 0 traced into 0 exhibits

Estimations not traced to a table or figure · 74
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
ln_loan_amt Sec_Active bank_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:24
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 24 qui: eststo m1: reghdfe ln_loan_amt Sec_Active if sprat_BB_B == 1 , absorb(bank_fe) cluster(gvkey fyear)
reghdfe
panel fe
ln_loan_amt Sec_Active firm_time_fe, bank_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:27
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 27 qui: eststo m2: reghdfe ln_loan_amt Sec_Active if sprat_BB_B == 1 , absorb(firm_time_fe bank_fe) cluster(gvkey fyear)
reghdfe
panel fe
ln_loan_amt Sec_Active firm_time_fe, bank_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:30
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 30 qui: eststo m3: reghdfe ln_loan_amt Sec_Active if sprat_AAA_BBB == 1 , absorb(firm_time_fe bank_fe) cluster(gvkey fyear)
reghdfe
panel fe
ln_loan_amt Sec_Active_JUNK Sec_Active sprat_BB_B bank_fe, firm_time_fe, bank_fe_JUNK, firm_time_fe_JUNK cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:39
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 39 reghdfe ln_loan_amt Sec_Active_JUNK Sec_Active sprat_BB_B if (sprat_BB_B == 1 | sprat_AAA_BBB == 1), absorb(bank_fe firm_time_fe bank_fe_JUNK firm_time_fe_JUNK) cluster(gvkey fyear)
reghdfe
panel fe
ln_loan_amt Sec_Deals_LN bank_fe, firm_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:52
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 52 qui: eststo m1: reghdfe ln_loan_amt Sec_Deals_LN if sprat_BB_B == 1, absorb(bank_fe firm_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
ln_loan_amt Sec_Volume_LN bank_fe, firm_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:55
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 55 qui: eststo m2: reghdfe ln_loan_amt Sec_Volume_LN if sprat_BB_B == 1, absorb(bank_fe firm_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
ln_loan_amt Sec_Active firm_time_fe, bankFE, =, bank_fe cluster: gvkey
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:69
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 69 reghdfe ln_loan_amt Sec_Active if sprat_BB_B == 1, absorb(firm_time_fe bankFE = bank_fe) cluster(gvkey)
reghdfe
panel fe
ln_loan_amt min_* plu_* firm_time_fe, sic1_time_fe, bank_firm_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:113
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 113 reghdfe ln_loan_amt min_* plu_* if sprat_BB_B == 1, absorb(firm_time_fe sic1_time_fe bank_firm_fe) cluster(gvkey fyear)
reghdfe
panel fe
loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:208
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 208 qui: eststo m1: reghdfe loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m1: reghdfe loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:212
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 212 qui: eststo m2: reghdfe loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m2: reghdfe loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
d_lev Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:219
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 219 qui: eststo m3: reghdfe d_lev Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m3: reghdfe d_lev Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loans_at Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:223
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 223 qui: eststo m4: reghdfe loans_at Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m4: reghdfe loans_at Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loans_at3 Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:227
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 227 qui: eststo m5: reghdfe loans_at3 Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m5: reghdfe loans_at3 Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loans_at2 Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:231
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 231 qui: eststo m6: reghdfe loans_at2 Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m6: reghdfe loans_at2 Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loan_amt_LN Sec_Active_JUNK Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag ln_at_lag_JUNK prof_lag_JUNK tang_lag_JUNK bankFE2_JUNK +2 more gvkey, sic1_time_fe, sic1_time_fe_JUNK, gvkey_JUNK cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:257
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 257 reghdfe loan_amt_LN Sec_Active_JUNK Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev $ContrLev_JUNK if (IG_95_FE == 1 | JUNK_95_FE == 1), absorb(gvkey sic1_time_fe sic1_time_fe_JUNK gvkey_JUNK) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe loan_amt_LN Sec_Active_JUNK Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag ln_at_lag_JUNK prof_lag_JUNK tang_lag_JUNK bankFE2_JUNK num_lender_LN_JUNK switch_JUNK if (IG_95_FE == 1 | JUNK_95_FE == 1), absorb(g …
reghdfe
panel fe
loan_amt_LN Sec_Fract switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:261
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 261 qui: eststo m1: reghdfe loan_amt_LN Sec_Fract switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m1: reghdfe loan_amt_LN Sec_Fract switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loan_amt_LN Sec_Active_100 switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:265
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 265 qui: eststo m2: reghdfe loan_amt_LN Sec_Active_100 switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m2: reghdfe loan_amt_LN Sec_Active_100 switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loan_amt_LN Sec_Deals_LN switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:269
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 269 qui: eststo m3: reghdfe loan_amt_LN Sec_Deals_LN switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m3: reghdfe loan_amt_LN Sec_Deals_LN switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
loan_amt_LN Sec_Volume_LN switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:273
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 273 qui: eststo m4: reghdfe loan_amt_LN Sec_Volume_LN switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m4: reghdfe loan_amt_LN Sec_Volume_LN switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
aqc_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:306
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 306 qui: eststo m1: reghdfe aqc_at Sec_Active_FE switch num_lender_LN $Contr if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m1: reghdfe aqc_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
aqc_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:311
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 311 qui: eststo m2: reghdfe aqc_at Sec_Active_FE switch num_lender_LN $Contr if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m2: reghdfe aqc_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
aqc_at Sec_Active_JUNK Sec_Active_FE JUNK_95_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK +3 more gvkey, sic1_time_fe, gvkey_JUNK, sic1_time_fe_JUNK cluster: gvkey, fyear
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:331
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 331 reghdfe aqc_at Sec_Active_JUNK Sec_Active_FE JUNK_95_FE switch num_lender_LN $Contr $Contr_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), absorb(gvkey sic1_time_fe gvkey_JUNK sic1_time_fe_JUNK) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe aqc_at Sec_Active_JUNK Sec_Active_FE JUNK_95_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK tang_lag_JUNK switch_JUNK num_lender_LN_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), ab …
reghdfe
panel fe
g_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:140
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 140 qui: eststo m1: reghdfe g_at Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m1: reghdfe g_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:144
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 144 qui: eststo m2: reghdfe g_at Sec_Active_FE switch num_lender_LN $Contr1 if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m2: reghdfe g_at Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_at_inorg Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:148
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 148 qui: eststo m3: reghdfe g_at_inorg Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m3: reghdfe g_at_inorg Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_at_adj2 Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:153
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 153 qui: eststo m4: reghdfe g_at_adj2 Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m4: reghdfe g_at_adj2 Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_at Sec_Active_JUNK Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK tang_lag_JUNK +2 more gvkey, sic1_time_fe, gvkey_JUNK, sic1_time_fe_JUNK cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:181
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 181 reghdfe g_at Sec_Active_JUNK Sec_Active_FE switch num_lender_LN $Contr1 $Contr_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), absorb(gvkey sic1_time_fe gvkey_JUNK sic1_time_fe_JUNK) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe g_at Sec_Active_JUNK Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK tang_lag_JUNK switch_JUNK num_lender_LN_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), absorb(gvkey si …
reghdfe
panel fe
g_at_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_INORG lev_lag_INORG prof_lag_INORG tang_lag_INORG +2 more gvkey, sic1_time_fe, gvkey_INORG, sic1_time_fe_INORG cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:213
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 213 reghdfe g_at_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN $Contr1 $Contr_INORG, absorb(gvkey sic1_time_fe gvkey_INORG sic1_time_fe_INORG) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe g_at_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_INORG lev_lag_INORG prof_lag_INORG tang_lag_INORG switch_INORG num_lender_LN_INORG, absorb(gvkey sic1_time_fe gvkey_INORG s …
reghdfe
panel fe
g_sale Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:222
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 222 qui: eststo m1: reghdfe g_sale Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m1: reghdfe g_sale Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_sale Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:226
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 226 qui: eststo m2: reghdfe g_sale Sec_Active_FE switch num_lender_LN $Contr1 if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m2: reghdfe g_sale Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_sale_inorg Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:230
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 230 qui: eststo m3: reghdfe g_sale_inorg Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m3: reghdfe g_sale_inorg Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_sale_adj2 Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:235
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 235 qui: eststo m4: reghdfe g_sale_adj2 Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m4: reghdfe g_sale_adj2 Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_sale Sec_Active_JUNK Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK tang_lag_JUNK +2 more gvkey, sic1_time_fe, gvkey_JUNK, sic1_time_fe_JUNK cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:250
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 250 reghdfe g_sale Sec_Active_JUNK Sec_Active_FE switch num_lender_LN $Contr1 $Contr_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), absorb(gvkey sic1_time_fe gvkey_JUNK sic1_time_fe_JUNK) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe g_sale Sec_Active_JUNK Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK tang_lag_JUNK switch_JUNK num_lender_LN_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), absorb(gvkey …
reghdfe
panel fe
g_sale_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_INORG lev_lag_INORG prof_lag_INORG tang_lag_INORG +2 more gvkey, sic1_time_fe, gvkey_INORG, sic1_time_fe_INORG cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:282
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 282 reghdfe g_sale_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN $Contr1 $Contr_INORG, absorb(gvkey sic1_time_fe gvkey_INORG sic1_time_fe_INORG) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe g_sale_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_INORG lev_lag_INORG prof_lag_INORG tang_lag_INORG switch_INORG num_lender_LN_INORG, absorb(gvkey sic1_time_fe gvkey_INORG …
reghdfe
panel fe
g_emp Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:291
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 291 qui: eststo m1: reghdfe g_emp Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m1: reghdfe g_emp Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_emp Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:295
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 295 qui: eststo m2: reghdfe g_emp Sec_Active_FE switch num_lender_LN $Contr1 if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m2: reghdfe g_emp Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if IG_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_emp_inorg Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:299
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 299 qui: eststo m3: reghdfe g_emp_inorg Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m3: reghdfe g_emp_inorg Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_emp_adj2 Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag gvkey, sic1_time_fe cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:304
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 304 qui: eststo m4: reghdfe g_emp_adj2 Sec_Active_FE switch num_lender_LN $Contr1 if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): qui: eststo m4: reghdfe g_emp_adj2 Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fyear)
reghdfe
panel fe
g_emp Sec_Active_JUNK Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK tang_lag_JUNK +2 more gvkey, sic1_time_fe, gvkey_JUNK, sic1_time_fe_JUNK cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:319
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 319 reghdfe g_emp Sec_Active_JUNK Sec_Active_FE switch num_lender_LN $Contr1 $Contr_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), absorb(gvkey sic1_time_fe gvkey_JUNK sic1_time_fe_JUNK) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe g_emp Sec_Active_JUNK Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_JUNK lev_lag_JUNK prof_lag_JUNK tang_lag_JUNK switch_JUNK num_lender_LN_JUNK if (JUNK_95_FE == 1 | IG_95_FE == 1), absorb(gvkey s …
reghdfe
panel fe
g_emp_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_INORG lev_lag_INORG prof_lag_INORG tang_lag_INORG +2 more gvkey, sic1_time_fe, gvkey_INORG, sic1_time_fe_INORG cluster: gvkey, fyear
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:351
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 351 reghdfe g_emp_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN $Contr1 $Contr_INORG, absorb(gvkey sic1_time_fe gvkey_INORG sic1_time_fe_INORG) cluster(gvkey fyear) as we read it (macros filled in / loop expanded): reghdfe g_emp_inorg Sec_Active_INORG Sec_Active_FE switch num_lender_LN ln_at_lag lev_lag prof_lag tang_lag ln_at_lag_INORG lev_lag_INORG prof_lag_INORG tang_lag_INORG switch_INORG num_lender_LN_INORG, absorb(gvkey sic1_time_fe gvkey_INORG …
Tables and figures the code writes:

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

bar 2 · histogram 2 · line 2 · coefficient plot 2
commandlayersvariables optionssaved aswhere
twoway
bar
bar + line y FacilityAmt, dealtotalvalueface x year ytitle Billion USD · legend order(1 Bullet Loans 2 CDO ) not saved
04 Basic Descriptive Statistics (Figures 1 & 2).do:66
Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 66 twoway (bar FacilityAmt year, color(gs12) barw(.5))
–71
twoway
histogram
histogram + histogram x adj_rat ytitle Fraction · legend order(1 Securitization Active = 0 2 Securitization Active = 1 ) not saved
04 Basic Descriptive Statistics (Figures 1 & 2).do:110
Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 110 twoway (hist adj_rat if Sec_Active_FE == 0, color(gs12) barw(.5) fract discrete)
–115
histogram
histogram
histogram x min_year not saved
04 Basic Descriptive Statistics (Figures 1 & 2).do:131
Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 131 hist min_year, color(gs12) barw(.5) frequency discrete,
–134
graph bar
bar
bar y fract_CDO_vol by min_year not saved
04 Basic Descriptive Statistics (Figures 1 & 2).do:142
Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 142 graph bar fract_CDO_vol, over(min_year, label(labsize(small)))
–145
twoway
line
connected + rcap y BBb x dif band BBLB, BBUB ytitle ln(Loans)_ijt · xline 0 · yline 0 · ci rcap · legend off not saved
05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:158
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 158 twoway (connected BBb dif, sort lcolor(dknavy) mcolor(dknavy) msymbol(circle) cmissing(n))
–165
graph twoway
coefficient plot
rarea + line + pcspike y coef x q band coef_minus2SE, coef_plus2SE xtitle Quantile of asset growth · ytitle Coefficient Sec active · ci rarea · legend order(2 1) label(2 Coefficient Sec active) label(1 Coefficient Sec active (+/-2SE)) not saved
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:378
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 378 graph twoway (rarea coef_minus2SE coef_plus2SE q, sort color(gs10) lwidth(vthin)) /// (line coef q, lcolor(gs0)) /// (pci 0 0 0 100, lcolor(gs8) lwidth(thin)), /// graphregion(fcolor(white) l …
–386
graph twoway
coefficient plot
rarea + line + pcspike y coef x q band coef_minus2SE, coef_plus2SE xtitle Quantile of asset growth · ytitle Coefficient Sec active · ci rarea · legend order(2 1) label(2 Coefficient Sec active) label(1 Coefficient Sec active (+/-2SE)) not saved
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:407
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 407 graph twoway (rarea coef_minus2SE coef_plus2SE q, sort color(gs10) lwidth(vthin)) /// (line coef q, lcolor(gs0)) /// (pci 0 0 0 100, lcolor(gs8) lwidth(thin)), /// graphregion(fcolor(white) l …
–415
twoway
line
line + line y car x dif xtitle Event Window · ytitle CAR · legend pos(5) ring(0) order(1 3 2 4) col(2) lab(1 Pre-Securitization) lab(2 Post-Securitization) not saved
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:394
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 394 twoway (line car dif if JUNK_95_FE == 1 & Sec_Active_FE == 0, lpatter(dash) lcolor(maroon)) /// (line car dif if JUNK_95_FE == 1 & Sec_Active_FE == 1, lpatter(solid) lcolor(maroon)), /// …
–400