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
$path/Compustat/Compustat_financials2.dtaStata10 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.dtaStata03 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.dtaStata10 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.dtaStata09 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.dtaStata03 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.csvCSV02 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", clearCompustat_RD_1990_2007StataCompustat (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/FacilityStata · read by 2 scripts02 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/CompanyStata02 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/LendersharesStata02 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/PackageStata02 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.csvCSV01 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
CRSP US Stock Database
2 files
$path/CRSP/1980-2010Stata09 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.dtaStata09 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)
CRSP/Compustat Merged (CCM)
1 file
$path/Link Tables/CCM linking table.dtaStata09 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.dtaStata10 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.dtaStata10 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.csvCSV · read by 2 scripts01 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.dtaStata · read by 2 scripts06 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.xlsxExcel10 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.txttext02 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.xlsxExcel11 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") clearnat3d_sic_1997_dl.xlsExcelBLSdata (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 clearnat3d_sic_2001_dl.xlsExcelBLSdata (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).
-
1.
Replication package/Code/00 RUN ALL FILES.domaster script -
2.
Replication package/Code/01 CDO League Tables.dorun by Replication package/Code/00 RUN ALL FILES.do line 10 reads 2 input files · 2 merges ·writesCDO League Table (monthly)→ read by04 Basic Descriptive Statistics (Figures 1 & 2).dowritesCDO League Table (monthly).dta→ read by03 Construct bank-firm-year and firm-year panel.do,11 Online Appendix Only - CDO activity vs NW (2012).do -
3.
Replication package/Code/02 Construct loan sample.dorun by Replication package/Code/00 RUN ALL FILES.do line 11 reads 6 input files · 5 merges ·writesDealscan base.dta→ read by03 Construct bank-firm-year and firm-year panel.do -
4.
Replication package/Code/03 Construct bank-firm-year and firm-year panel.dorun by Replication package/Code/00 RUN ALL FILES.do line 12 reads 2 input files · 5 merges ·reads what01 CDO League Tables.do,02 Construct loan sample.dowrotewritesSample (bank firm)_adj→ read by05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).dowritesSample (firm)_adj→ read by04 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).dowritesSample (firm)_adj.dta→ read by07 Real Effects adj for inorganic growth (Table 3, Figure 4).do,09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do -
5.
Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).dorun by Replication package/Code/00 RUN ALL FILES.do line 13 reads 2 input files · 1 merge ·reads what01 CDO League Tables.do,03 Construct bank-firm-year and firm-year panel.dowrote -
6.
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).dorun by Replication package/Code/00 RUN ALL FILES.do line 14 1 merge · 22 estimationsreads what03 Construct bank-firm-year and firm-year panel.dowrote -
7.
Replication package/Code/06 Preprocess SDC Platinum Data.dorun by Replication package/Code/00 RUN ALL FILES.do line 15 reads 1 input file · 5 merges ·writesSDC_base.dta→ read by09 Acquirer returns and operating peformance (Table 5-6, Figure 5).dowritesSDC_info_multipliers.dta→ read by07 Real Effects adj for inorganic growth (Table 3, Figure 4).dowritesSDC_transaction_value_firmyear.dta→ read by08 Merger activity based on SDC info (Table 4 (col 3-6)).do,10 Heterogeneity (Table 7).do -
8.
Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).dorun by Replication package/Code/00 RUN ALL FILES.do line 16 5 merges · 23 estimationsreads what03 Construct bank-firm-year and firm-year panel.do,06 Preprocess SDC Platinum Data.dowrote -
9.
Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).dorun by Replication package/Code/00 RUN ALL FILES.do line 17 1 merge · 5 estimationsreads what03 Construct bank-firm-year and firm-year panel.do,06 Preprocess SDC Platinum Data.dowrote -
10.
Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).dorun by Replication package/Code/00 RUN ALL FILES.do line 18 reads 5 input files · 14 merges · 22 estimationsreads what03 Construct bank-firm-year and firm-year panel.do,06 Preprocess SDC Platinum Data.dowrotewrites (not read again):M&A Returns.dta -
11.
Replication package/Data/HighInnov/Compustat (preprocessing).doreads 1 input file ·writesHighInnovationIndustries_sich3.dta→ read by10 Heterogeneity (Table 7).do -
12.
Replication package/Data/BLS/BLSdata (preprocessing).doreads 2 input files · 1 merge ·writesannualmeanwage_bysic3.dta→ read by10 Heterogeneity (Table 7).do -
13.
Replication package/Code/10 Heterogeneity (Table 7).dorun by Replication package/Code/00 RUN ALL FILES.do line 19 reads 5 input files · 10 merges · 2 estimationsreads what03 Construct bank-firm-year and firm-year panel.do,06 Preprocess SDC Platinum Data.do,Compustat (preprocessing).do,BLSdata (preprocessing).dowrote -
14.
Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).dorun by Replication package/Code/00 RUN ALL FILES.do line 20 reads 1 input file · 2 merges ·reads what01 CDO League Tables.dowrote
3 · Merges — 46 joins, 5 followed by a check of the merge result; 6 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
(data in memory) ← dealogic_ds |
merge m:1 | Bookrunner dealpricingdate |
none | 01 CDO League Tables.do:58Replication 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:124Replication 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:31Replication 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:35Replication 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:53Replication 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:72Replication 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:100Replication 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:56Replication 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:95Replication 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:119Replication 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:147Replication 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:294Replication 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) |
all cdo deals to 2007 ← bulletloans |
merge 1:1 | year |
none | 04 Basic Descriptive Statistics (Figures 1 & 2).do:63Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 63
merge 1:1 year using `bulletloans', assert(3) nogen |
sample (firm)_adj ← bankfe2 |
merge 1:1 | gvkey fyear |
none | 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:204Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 204
merge 1:1 gvkey fyear using `bankFE2', nogen keep(1 3) |
reporttb ← dealbasic |
merge 1:1 | DealNumber |
none | 06 Preprocess SDC Platinum Data.do:53Replication package/Code/06 Preprocess SDC Platinum Data.do, line 53
merge 1:1 DealNumber using `DealBasic', assert(3) nogen |
sdc_base ← cusip numbers |
merge m:1 | cusip6 |
none | 06 Preprocess SDC Platinum Data.do:116Replication package/Code/06 Preprocess SDC Platinum Data.do, line 116
merge m:1 cusip6 using "$path/Link Tables/Cusip Numbers.dta", keep(3) nogen |
sdc_base ← cusip numbers |
merge m:1 | cusip6 |
none | 06 Preprocess SDC Platinum Data.do:163Replication package/Code/06 Preprocess SDC Platinum Data.do, line 163
merge m:1 cusip6 using "$path/Link Tables/Cusip Numbers", keep(3) nogen |
sample (firm)_adj ← sdc_info_multipliers |
join m:m (left) | gvkey |
drop _merge |
07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:30Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 30
joinby gvkey using "$path/_temp/SDC_info_multipliers.dta", unmatched(master) |
(data in memory) ← meansic |
merge m:1 | sic_1digit fyear |
none | 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:84Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 84
merge m:1 sic_1digit fyear using `meansic', keep(1 3) nogen |
sample (firm)_adj ← sdc_transaction_value_firmyear |
merge 1:1 | gvkey year |
none | 08 Merger activity based on SDC info (Table 4 (col 3-6)).do:21Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do, line 21
merge 1:1 gvkey year using "$path/_temp/SDC_transaction_value_firmyear.dta", nogen keep(1 3) |
1980-2010 ← linktable |
merge 1:m | permno date |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:95Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 95
merge 1:m permno date using `linktable', nogen keep(3) // add Compustat link |
1980-2010 ← gvkeys |
merge m:1 | gvkey |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:98Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 98
merge m:1 gvkey using `gvkeys', nogen keep(3) keepusing(gvkey) |
1980-2010 ← crsp index |
merge m:1 | date |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:104Replication 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) |
sdc_base ← cusip numbers |
merge m:1 | cusip6 |
keep if _merge == 3 |
09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:134Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 134
merge m:1 cusip6 using "$path/Link Tables/Cusip Numbers" |
sdc_base ← gvkeys |
merge m:1 | gvkey |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:142Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 142
merge m:1 gvkey using `gvkeys', nogen keep(3) |
sdc_base ← ? |
merge m:1 | gvkey date |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:165Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 165
merge m:1 gvkey date using "$path/_temp/CRSP data for event study.dta", keep(3) nogen keepusing(stock_ret vwretd) |
sdc_base ← cusip numbers |
merge m:1 | cusip6 |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:238Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 238
merge m:1 cusip6 using "$path/Link Tables/Cusip Numbers", keep(3) nogen |
sample (firm)_adj ← deals |
join m:m (inner) | gvkey |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:252Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 252
joinby gvkey using `deals' |
cars ← deals |
merge 1:1 | DealNumber |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:276Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 276
merge 1:1 DealNumber using `deals', keepusing(DateAnnounced Pct*) keep(3) assert(2 3) nogen |
cars ← acq_char |
merge 1:1 | DealNumber |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:277Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 277
merge 1:1 DealNumber using `acq_char', keep(1 3) nogen |
acq_char ← compustat_prof |
merge m:1 | gvkey yearcs |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:422Replication 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) |
acq_char ← deals |
merge 1:1 | DealNumber |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:440Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 440
merge 1:1 DealNumber using `deals', keepusing(DateAnnounced) keep(3) assert(2 3) nogen |
(data in memory) ← acq_char |
merge 1:1 | DealNumber |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:441Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 441
merge 1:1 DealNumber using `acq_char', keep(1 3) nogen |
acq_char ← deal_list |
merge 1:1 | DealNumber |
none | 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:442Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 442
merge 1:1 DealNumber using `deal_list', keep(3) // restrict to the deals for which an annoucement effect could be calculated (see above) |
temp1997 ← temp2001 |
merge | sic3 |
drop _merge |
BLSdata (preprocessing).do:32Replication package/Data/BLS/BLSdata (preprocessing).do, line 32
merge sic3 using temp2001 |
governance ← gvkeyconm |
join m:m (left) | CONM |
drop _merge TIC |
10 Heterogeneity (Table 7).do:125Replication package/Code/10 Heterogeneity (Table 7).do, line 125
joinby CONM using `GVKEYCONM', unmatched(master) // use exact names match as first best |
governance ← gvkeyconm |
join m:m (left) | TIC |
none | 10 Heterogeneity (Table 7).do:128Replication package/Code/10 Heterogeneity (Table 7).do, line 128
joinby TIC using `GVKEYCONM', unmatched(master) // else use ticker |
(data in memory) ← gindex |
merge 1:1 | gvkey fyear |
none | 10 Heterogeneity (Table 7).do:143Replication package/Code/10 Heterogeneity (Table 7).do, line 143
merge 1:1 gvkey fyear using `GINDEX', nogen |
sample (firm)_adj ← sdc_transaction_value_firmyear |
merge 1:1 | gvkey year |
none | 10 Heterogeneity (Table 7).do:179Replication package/Code/10 Heterogeneity (Table 7).do, line 179
merge 1:1 gvkey year using "$path/_temp/SDC_transaction_value_firmyear.dta", nogen keep(1 3) // cf. do-file 06 |
sample (firm)_adj ← ceotenure |
merge 1:1 | gvkey fyear |
none | 10 Heterogeneity (Table 7).do:187Replication package/Code/10 Heterogeneity (Table 7).do, line 187
merge 1:1 gvkey fyear using `CEOTENURE' , nogen keep(1 3) |
sample (firm)_adj ← gindex |
merge 1:1 | gvkey fyear |
none | 10 Heterogeneity (Table 7).do:188Replication package/Code/10 Heterogeneity (Table 7).do, line 188
merge 1:1 gvkey fyear using `GINDEX' , nogen keep(1 3) |
sample (firm)_adj ← blockholder |
merge 1:1 | gvkey fyear |
none | 10 Heterogeneity (Table 7).do:189Replication package/Code/10 Heterogeneity (Table 7).do, line 189
merge 1:1 gvkey fyear using `blockholder' , nogen keep(1 3) |
sample (firm)_adj ← fin_constr |
merge 1:1 | gvkey fyear |
none | 10 Heterogeneity (Table 7).do:192Replication package/Code/10 Heterogeneity (Table 7).do, line 192
merge 1:1 gvkey fyear using `fin_constr', nogen keep(1 3) |
sample (firm)_adj ← annualmeanwage_bysic3 |
merge m:1 | sic3 |
none | 10 Heterogeneity (Table 7).do:199Replication package/Code/10 Heterogeneity (Table 7).do, line 199
merge m:1 sic3 using "$path/BLS/annualmeanwage_bysic3.dta", nogen keep(1 3) // annual mean wage by SIC-3 industry (source: BLS) |
sample (firm)_adj ← highinnovationindustries_sich3 |
merge m:1 | sich3 |
none | 10 Heterogeneity (Table 7).do:202Replication package/Code/10 Heterogeneity (Table 7).do, line 202
merge m:1 sich3 using "$path/HighInnov/HighInnovationIndustries_sich3.dta", nogen keep(1 3) // annual xrd/sale by SIC-2 > 0.025 (source: Compustat) |
cdo league table (monthly) ← clo |
merge m:1 | year rank |
none | 11 Online Appendix Only - CDO activity vs NW (2012).do:83Replication package/Code/11 Online Appendix Only - CDO activity vs NW (2012).do, line 83
merge m:1 year rank using `CLO', nogen |
4 · The sample — 73 keep/drop steps, 12 variables winsorized or trimmed
Filters, by kind
industry screens ×2
- drop if
sic >= 6000 & sic <= 699903 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 <= 494903 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) > 201102 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 < 199503 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 == 1211 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 == 199511 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 == missobs03 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 != 004 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 == 006 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_assets09 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 != 009 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 < -409 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 > 409 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 == 1109 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 == 25009 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 == 1109 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 == 002 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 == 003 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 == 003 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 == 004 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 == 105 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 == 107 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 == 107 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 == 107 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 < mintemp10 Heterogeneity (Table 7).do:147
Replication package/Code/10 Heterogeneity (Table 7).do, line 147 drop if fyear < mintemp - drop if
fyear > maxtemp + 310 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 == 103 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_y03 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 == 309 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→007 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→007 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→007 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→001 CDO League Tables.do:127
Replication package/Code/01 CDO League Tables.do, line 127 replace CDO_Volume = 0 if CDO_Volume == .CDO_Deals→001 CDO League Tables.do:128
Replication package/Code/01 CDO League Tables.do, line 128 replace CDO_Deals = 0 if CDO_Deals == .dif→005 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_sic1digit07 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_sic1digit07 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_sic1digit07 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_adj207 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_adj207 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_adj207 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 (), Book Leverage (), Cash Flow (Earnings + Depreciation) (), Cumulative Abnormal Return (CAR) (), Dividend Payer (), Log Total Assets (), Long-term Debt Ratio (), R&D Intensity (), Return on Assets (ROA) (), SA Index (), Sales Growth (), Tangibility (PPE/Assets) (), WW Index ()
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
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
cf 10 Heterogeneity (Table 7).do:56
Replication package/Code/10 Heterogeneity (Table 7).do, line 56
gen cf = (ibc + dp)/at // cash flow
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_)
div_payer 10 Heterogeneity (Table 7).do:53
Replication package/Code/10 Heterogeneity (Table 7).do, line 53
gen div_payer = (dvt > 0 & dvt != .)
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)
tldt 10 Heterogeneity (Table 7).do:57
Replication package/Code/10 Heterogeneity (Table 7).do, line 57
gen tldt = dltt/at
xrd_sale Compustat (preprocessing).do:13
Replication package/Data/HighInnov/Compustat (preprocessing).do, line 13
gen xrd_sale = xrd/sale
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 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)
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
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 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)
| Variable | Used in models as | Built 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:166Replication 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:257Replication 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:181Replication 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:26Replication 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:183Replication 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:180Replication 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:183Replication 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:182Replication 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:280Replication 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:283Replication 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:321Replication 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:447Replication 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:448Replication 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:449Replication 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:131Replication 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:198Replication 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_emp_inorg |
outcome in 2 | g_emp_inorg = g_emp - g_emp_adj2 (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:133Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 133
gen g_emp_inorg = g_emp - g_emp_adj2 g_emp_inorg = g_emp_adj2 (replace) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:336Replication 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 == . |
g_sale_inorg |
outcome in 2 | g_sale_inorg = g_sale - g_sale_adj2 (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:132Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 132
gen g_sale_inorg = g_sale - g_sale_adj2 g_sale_inorg = g_sale_adj2 (replace) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:267Replication 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 == . |
amt_deals_aq_49 |
outcome in 1 | amt_deals_aq_49 = (deals_USD-deals_USD_50)/at_lag (gen) 08 Merger activity based on SDC info (Table 4 (col 3-6)).do:28Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do, line 28
gen amt_deals_aq_49 = (deals_USD-deals_USD_50)/at_lag // <50% acquisitions / lagged assets |
amt_deals_aq_50 |
outcome in 1 | amt_deals_aq_50 = deals_USD_50/at_lag (gen) 08 Merger activity based on SDC info (Table 4 (col 3-6)).do:27Replication package/Code/08 Merger activity based on SDC info (Table 4 (col 3-6)).do, line 27
gen amt_deals_aq_50 = deals_USD_50/at_lag // >50% acquisitions / lagged assets |
d_lev |
outcome in 1 | d_lev = ((dlc+dltt)-(dlc_lag+dltt_lag))/at_lag (gen) 03 Construct bank-firm-year and firm-year panel.do:167Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 167
gen d_lev = ((dlc+dltt)-(dlc_lag+dltt_lag))/at_lag // Delta Leverage |
g_at_adj2 |
outcome in 1 | g_at_adj2 = (at_adj - at_lag)/at_lag (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:100Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 100
gen g_at_adj2 = (at_adj - at_lag)/at_lag |
g_emp_adj2 |
outcome in 1 | g_emp_adj2 = (emp_adj - emp_lag)/emp_lag (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:108Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 108
gen g_emp_adj2 = (emp_adj - emp_lag)/emp_lag |
g_sale_adj2 |
outcome in 1 | g_sale_adj2 = (sale_adj - sale_lag)/sale_lag (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:116Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 116
gen g_sale_adj2 = (sale_adj - sale_lag)/sale_lag |
loans_at |
outcome in 1 | loans_at = loan_amt/at_lag (gen) 03 Construct bank-firm-year and firm-year panel.do:258Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 258
gen loans_at = loan_amt/at_lag // Loans/Assets_lag |
loans_at2 |
outcome in 1 | loans_at2 = loan_amt2/at_lag (gen) 03 Construct bank-firm-year and firm-year panel.do:259Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 259
gen loans_at2 = loan_amt2/at_lag // Non-M&A Loans/Assets_lag |
loans_at3 |
outcome in 1 | loans_at3 = (loan_amt-loan_amt2)/at_lag (gen) 03 Construct bank-firm-year and firm-year panel.do:260Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 260
gen loans_at3 = (loan_amt-loan_amt2)/at_lag // M&A Loans/Assets_lag |
stock_ret |
outcome in 1 | stock_ret = ln(price/price[_n-1]) (gen) 09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do:108Replication package/Code/09 Acquirer returns and operating peformance (Table 5-6, Figure 5).do, line 108
bys gvkey (date): gen stock_ret = ln(price/price[_n-1]) |
ln_at_lag |
regressor in 65 | ln_at_lag = ln(at_lag) (gen) 03 Construct bank-firm-year and firm-year panel.do:171Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 171
gen ln_at_lag = ln(at_lag) // ln(Assets_lag) |
num_lender_LN |
regressor in 65 | num_lender_LN = ln(num_lender) (gen) 03 Construct bank-firm-year and firm-year panel.do:254Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 254
gen num_lender_LN = ln(num_lender) // ln(Lenders) |
prof_lag |
regressor in 65 | prof_lag = ebitda_lag/at_lag (gen) 03 Construct bank-firm-year and firm-year panel.do:175Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 175
gen prof_lag = ebitda_lag/at_lag // Profitability_lag |
switch |
regressor in 65 | switch = (_n == 1) (gen) 03 Construct bank-firm-year and firm-year panel.do:243Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 243
bys bank_firm_fe (fyear): gen switch = (_n == 1) switch = (switch > 0) (replace) 03 Construct bank-firm-year and firm-year panel.do:252Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 252
replace switch = (switch > 0) switch = sum(switch) (replace) 03 Construct bank-firm-year and firm-year panel.do:253Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 253
bys gvkey (fyear): replace switch = sum(switch) // +1 if new bank rel in a year |
tang_lag |
regressor in 65 | tang_lag = ppent_lag/at_lag (gen) 03 Construct bank-firm-year and firm-year panel.do:177Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 177
gen tang_lag = ppent_lag/at_lag // Tangibility_lag |
Sec_Active_FE |
regressor in 59 | Sec_Active_FE = Sec_Active (gen) 03 Construct bank-firm-year and firm-year panel.do:268Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 268
gen Sec_Active_FE = Sec_Active // same as "firm FE" (no switching back to 0) Sec_Active_FE = 1 (replace) 03 Construct bank-firm-year and firm-year panel.do:269Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 269
bys gvkey (fyear): replace Sec_Active_FE = 1 if Sec_Active_FE == 0 & Sec_Active_FE[_n-1] == 1 |
lev_lag |
regressor in 54 | lev_lag = (dlc_lag+dltt_lag)/at_lag (gen) 03 Construct bank-firm-year and firm-year panel.do:173Replication package/Code/03 Construct bank-firm-year and firm-year panel.do, line 173
gen lev_lag = (dlc_lag+dltt_lag)/at_lag // Leverage_lag |
Sec_Active_JUNK |
regressor in 14 | Sec_Active_JUNK = Sec_Active*sprat_BB_B (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:35Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 35
gen Sec_Active_JUNK = Sec_Active*sprat_BB_B Sec_Active_JUNK = Sec_Active_FE*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:246Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 246
gen Sec_Active_JUNK = Sec_Active_FE*JUNK_95_FE Sec_Active_JUNK = Sec_Active_FE*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:320Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 320
gen Sec_Active_JUNK = Sec_Active_FE*JUNK_95_FE +4 more statements set it |
ln_at_lag_JUNK |
regressor in 13 | ln_at_lag_JUNK = ln_at_lag*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:247Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 247
gen ln_at_lag_JUNK = ln_at_lag*JUNK_95_FE ln_at_lag_JUNK = ln_at_lag*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:325Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 325
gen ln_at_lag_JUNK = ln_at_lag*JUNK_95_FE ln_at_lag_JUNK = ln_at_lag*JUNK_95_FE (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:175Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 175
capture gen ln_at_lag_JUNK = ln_at_lag*JUNK_95_FE +3 more statements set it |
num_lender_LN_JUNK |
regressor in 13 | num_lender_LN_JUNK = num_lender_LN*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:251Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 251
gen num_lender_LN_JUNK = num_lender_LN*JUNK_95_FE num_lender_LN_JUNK = num_lender_LN*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:324Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 324
gen num_lender_LN_JUNK = num_lender_LN*JUNK_95_FE num_lender_LN_JUNK = num_lender_LN*JUNK_95_FE (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:174Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 174
capture gen num_lender_LN_JUNK = num_lender_LN*JUNK_95_FE +3 more statements set it |
prof_lag_JUNK |
regressor in 13 | prof_lag_JUNK = prof_lag*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:248Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 248
gen prof_lag_JUNK = prof_lag*JUNK_95_FE prof_lag_JUNK = prof_lag*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:327Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 327
gen prof_lag_JUNK = prof_lag*JUNK_95_FE prof_lag_JUNK = prof_lag*JUNK_95_FE (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:177Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 177
capture gen prof_lag_JUNK = prof_lag*JUNK_95_FE +3 more statements set it |
switch_JUNK |
regressor in 13 | switch_JUNK = switch*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:250Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 250
gen switch_JUNK = switch*JUNK_95_FE switch_JUNK = switch*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:323Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 323
gen switch_JUNK = switch*JUNK_95_FE switch_JUNK = switch*JUNK_95_FE (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:173Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 173
capture gen switch_JUNK = switch*JUNK_95_FE +3 more statements set it |
tang_lag_JUNK |
regressor in 13 | tang_lag_JUNK = tang_lag*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:249Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 249
gen tang_lag_JUNK = tang_lag*JUNK_95_FE tang_lag_JUNK = tang_lag*JUNK_95_FE (gen) 05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:328Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do, line 328
gen tang_lag_JUNK = tang_lag*JUNK_95_FE tang_lag_JUNK = tang_lag*JUNK_95_FE (gen) 07 Real Effects adj for inorganic growth (Table 3, Figure 4).do:178Replication package/Code/07 Real Effects adj for inorganic growth (Table 3, Figure 4).do, line 178
capture gen tang_lag_JUNK = tang_lag*JUNK_95_FE +3 more statements set it |
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
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel 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:24Replication 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) |
reghdfepanel 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:27Replication 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) |
reghdfepanel 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:30Replication 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) |
reghdfepanel 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:39Replication 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) |
reghdfepanel 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:52Replication 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) |
reghdfepanel 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:55Replication 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) |
reghdfepanel 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:69Replication 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) |
reghdfepanel 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:113Replication 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) |
reghdfepanel 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:208Replication 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) |
reghdfepanel 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:212Replication 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) |
reghdfepanel 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:219Replication 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) |
reghdfepanel 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:223Replication 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) |
reghdfepanel 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:227Replication 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) |
reghdfepanel 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:231Replication 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) |
reghdfepanel 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:257Replication 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 … |
reghdfepanel 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:261Replication 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) |
reghdfepanel 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:265Replication 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) |
reghdfepanel 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:269Replication 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) |
reghdfepanel 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:273Replication 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) |
reghdfepanel 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:306Replication 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) |
reghdfepanel 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:311Replication 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) |
reghdfepanel 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:331Replication 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 … |
reghdfepanel 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:140Replication 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) |
reghdfepanel 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:144Replication 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) |
reghdfepanel 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:148Replication 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) |
reghdfepanel 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:153Replication 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) |
reghdfepanel 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:181Replication 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 … |
reghdfepanel 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:213Replication 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 … |
reghdfepanel 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:222Replication 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) |
reghdfepanel 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:226Replication 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) |
reghdfepanel 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:230Replication 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) |
reghdfepanel 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:235Replication 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) |
reghdfepanel 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:250Replication 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 … |
reghdfepanel 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:282Replication 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 … |
reghdfepanel 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:291Replication 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) |
reghdfepanel 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:295Replication 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) |
reghdfepanel 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:299Replication 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) |
reghdfepanel 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:304Replication 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) |
reghdfepanel 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:319Replication 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 … |
reghdfepanel 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:351Replication 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
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
twowaybar
|
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:66Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 66
twoway (bar FacilityAmt year, color(gs12) barw(.5)) |
twowayhistogram
|
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:110Replication 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) |
histogramhistogram
|
histogram |
x min_year
|
not saved | 04 Basic Descriptive Statistics (Figures 1 & 2).do:131Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 131
hist min_year, color(gs12) barw(.5) frequency discrete, |
|
graph barbar
|
bar |
y fract_CDO_vol
by min_year
|
not saved | 04 Basic Descriptive Statistics (Figures 1 & 2).do:142Replication package/Code/04 Basic Descriptive Statistics (Figures 1 & 2).do, line 142
graph bar fract_CDO_vol, over(min_year, label(labsize(small))) |
|
twowayline
|
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:158Replication 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)) |
graph twowaycoefficient 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:378Replication 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 … |
graph twowaycoefficient 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:407Replication 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 … |
twowayline
|
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:394Replication 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)), /// … |