Journal of Financial Economics · 2024 · 10.1016/j.jfineco.2024.103796
Asset life, leverage, and debt maturity matching
Thomas Geelen; Jakub Hajda; Erwan Morellec; Adam Winegar
Review history
Received 17 Jan 2023 → revised → accepted 12.4 months later; online 0.4 months after acceptance.
Received: 17 Jan 2023Revised: 24 Jan 2024Accepted: 29 Jan 2024First online: 9 Feb 2024
Received → accepted. Journal of Financial Economics, papers printed 2023–2026: median 16.3 months (middle half 10.9–23.2), 427 papers measured. This paper: 12.4 months, shorter than the median.
Acceptance → first online. Journal of Financial Economics, papers printed 2023–2026: median 0.5 months (middle half 0.4–0.8), 430 papers with an online date. This paper: 0.4 months, shorter than the median.
Dates as printed on the paper's first page; read from the paper's text, not from publisher metadata. Journal medians leave out: under 14 days, out of order, special issue / invited, implausible year — the same papers /review-times leaves out.
The research recipe, read from the replication code
mendeley · package
· stata, matlab
1975–2018
sample period in the code
98
keep/drop statements
101
winsorizations
44
missing-data rules
9
de-duplications
11
distinct estimations
Sample period in the code: the window the code writes most often —
CapitalHHI.do:128 and 4 other files.
These tiles count distinct estimations (one per command, method, inference, fixed effects and file) and keep/drop statements.
"How the code gets from data to results" below counts every estimating statement (70)
and keep/drop statements plus winsorized variables (135).
1 · Data and structure
Databases read: Compustat (North America)
Panel declared as:
gvkey × fyear (annual); indID × fyear (annual)2 · How the sample is built
- drop missing data ×18
- drop industry ×18
- keep category value ×12
- drop value range ×7
- keep time period ×6
- keep indicator subset ×2
- drop indicator subset ×1
- keep missing data ×1
Reshaping:
collapse to a coarser unit ×12; drop duplicate rows ×9; reshape long/wide ×1
3 · Design and validation
Identification: —
Outcome transforms: standardized
Standard measures:
Book Leverage, Capital Expenditure, Cash Holdings, Dividend Payer, Earnings Volatility, Market Leverage, Net Working Capital, R&D Intensity, Return on Assets (ROA) (2 variables), Tangibility (PPE/Assets), Tobin's Q / Market-to-Book
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
ols | default | CapitalHHI.do | |
|
ols | cluster by icode100_common | CreateXSPlotsAndTables.do | |
|
panel fe | gvkey, fyear, industry_year | cluster by gvkey | Robustness1.do |
|
panel fe | gvkey, fyear, industry_year | cluster by gvkey | Robustness2.do |
|
panel fe | gvkey, fyear, industry_year | cluster by gvkey | Robustness3.do |
|
panel fe | gvkey, fyear, industry_year | cluster by gvkey | Significance.do |
|
panel fe | gvkey, fyear | cluster by gvkey | TablesTS.do |
|
panel fe | gvkey, fyear, industry_year | cluster by gvkey | TablesTS.do |
|
panel fe | gvkey | default | TablesTS.do |
|
panel fe | gvkey, fyear, industry_year_hp50 | cluster by gvkey | TablesTS.do |
|
panel fe | gvkey, fyear, industry_year_ff | cluster by gvkey | TablesTS.do |
5 · What it produces
31 table files and 0 figure files
(tex 28, txt 2, ? 1).
$Results\Robustness1.tex$Results\Robustness2.tex$Results\Robustness3.tex$Results\Table1PanelA.txt$Results\Table1PanelB.txt${Results}\BLevCyclesAM${cycle_length}yrs.tex${Results}\BLevCyclesCA${cycle_length}yrs.tex${Results}\BLevCyclesUL${cycle_length}yrs.tex${Results}\LevCyclesAM${cycle_length}yrs.tex${Results}\LevCyclesCA${cycle_length}yrs.tex${Results}\LevCyclesUL${cycle_length}yrs.tex${Results}\LevECyclesAM${cycle_length}yrs.texHow the code gets from data to results own page
21
scripts
17
input files
23
file hand-offs
41
merges
135
sample steps
70
estimations
1 · Data in — files the code reads and no script of the package writes
Datasets this package uses (item detector / README):
National Income and Product Accounts (NIPA), BLS Consumer Price Index (CPI-U/W), Compustat, Compustat North America (database), CRSP/Compustat Merged (CCM), CRSP US Stock Database, Kenneth French Data Library (Fama-French factors)
${Data}/Compustat.dtaStata · read by 5 scriptsCapitalHHI.do:108
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 108 use "${Data}/Compustat.dta", clear${Data}\CRSP_Compustat.dtaStataCRSP_Compustat_Link_processing.do:2
Asset Life, Leverage, and Debt Maturity Matching/CRSP_Compustat_Link_processing.do, line 2 use "${Data}\CRSP_Compustat.dta", clear
CRSP US Stock Database
1 file
${Data}\CRSP.dtaStatafirmAge.do:1
Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do, line 1 use "${Data}\CRSP.dta", clear
Other input files
14 files
${Data}/FF49.dtaStata · read by 4 scriptsDataProcessing.do:33
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 33 merge m:1 SIC4 using "${Data}/FF49.dta", keepusing(FF49)${Data}/FIC_Data.dtaStata · read by 4 scriptsDataProcessing.do:40
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 40 mmerge gvkey merge_yearFIC using "${Data}/FIC_Data.dta", umatch(gvkey year)${Data}\capital_age_allindustries_processed.csvCSVRobustness1.do:114
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 114 import delimited "${Data}\capital_age_allindustries_processed.csv", clear${Data}\capital_age_altdep1_processed.csvCSVRobustness2.do:123
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 123 import delimited "${Data}\capital_age_altdep1_processed.csv", clear${Data}\capital_age_altdep2_processed.csvCSVRobustness3.do:124
Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 124 import delimited "${Data}\capital_age_altdep2_processed.csv", clear${Data}\CapitalIQ.dtaStataCapitalIQ.do:5
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 5 use "${Data}\CapitalIQ.dta", clear${Data}\Datasets.xlsxExcelBEA_processing.do:7
Asset Life, Leverage, and Debt Maturity Matching/Functions/BEA_processing.do, line 7 import excel "${Data}\Datasets.xlsx", sheet("Datasets") firstrow clear${Data}\NIPA_PI_Struct_Equip.xlsxExcelCapitalHHI.do:11
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 11 import excel "${Data}\NIPA_PI_Struct_Equip.xlsx", sheet("Sheet1") firstrow clear
6 more
${Data}\PCEPI.xlsExcelCapitalHHI.do:52
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 52 import excel "${Data}\PCEPI.xls", sheet("FRED Graph") cellrange(A12:B786) clear${Data}\PPI_Ad Agencies.xlsExcelCapitalHHI.do:38
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 38 import excel "${Data}\PPI_Ad Agencies.xls", sheet("FRED Graph") cellrange(A12:B349) clear${Data}\Prvt_FI_NR_IP_Ent-Lit-Art.xlsExcelCapitalHHI.do:73
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 73 import excel "${Data}\Prvt_FI_NR_IP_Ent-Lit-Art.xls", sheet("FRED Graph") cellrange(A12:B105) clear${Data}\Prvt_FI_NR_IP_Prods.xlsExcelCapitalHHI.do:24
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 24 import excel "${Data}\Prvt_FI_NR_IP_Prods.xls", sheet("FRED Graph") cellrange(A12:B105) clear${Data}\Prvt_FI_NR_IP_R&D.xlsExcelCapitalHHI.do:66
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 66 import excel "${Data}\Prvt_FI_NR_IP_R&D.xls", sheet("FRED Graph") cellrange(A12:B105) clear${Data}\Prvt_FI_NR_IP_Sftwr.xlsExcelCapitalHHI.do:80
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 80 import excel "${Data}\Prvt_FI_NR_IP_Sftwr.xls", sheet("FRED Graph") cellrange(A12:B75) clear
2 · The file pipeline — which script writes which file that a later script reads
21 scripts, in run order for 5 master scripts and the 7 scripts they run (directly or through each other); the other 9 are not run by a master script and follow in file-name order; 23 hand-offs through 8 intermediate files; 7 files written and never read back (outputs). 1 hand-off runs against this order (dashed), so the order is low-confidence: the scripts share a file both ways, or the order is not the one stated.
5 master scripts, run in this order —
DataProcessing.do before Robustness1.do:
README order — Asset Life, Leverage, and Debt Maturity Matching/Readme.pdf names DataProcessing.do before Robustness1.doRobustness1.do before Robustness2.do:
README order — Asset Life, Leverage, and Debt Maturity Matching/Readme.pdf names Robustness1.do before Robustness2.doRobustness2.do before Robustness3.do:
README order — Asset Life, Leverage, and Debt Maturity Matching/Readme.pdf names Robustness2.do before Robustness3.doRobustness3.do before TablesFiguresXS.do:
README order — Asset Life, Leverage, and Debt Maturity Matching/Readme.pdf names Robustness3.do before TablesFiguresXS.do-
1.
Asset Life, Leverage, and Debt Maturity Matching/Functions/BEA_processing.dosetup file sourced by 4 scripts reads 1 input file ·writesind_depreciation.dta→ read byDataProcessing.do,Robustness1.do,Robustness2.do,Robustness3.do -
2.
Asset Life, Leverage, and Debt Maturity Matching/Functions/bea_to_naics.dosetup file sourced by 4 scripts -
3.
Asset Life, Leverage, and Debt Maturity Matching/Functions/defl_annual.dosetup file sourced by 4 scripts -
4.
Asset Life, Leverage, and Debt Maturity Matching/Functions/sictwo.dosetup file sourced by 4 scripts -
5.
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.doreads 1 input file · 5 merges ·writescapitaliq_all_data_upd.dta→ read byDataProcessing.do,Robustness1.do,Robustness2.do,Robustness3.dowrites (not read again):capitaliq_processed.dta,capitaliq_tot_debt_5y.dta -
6.
Asset Life, Leverage, and Debt Maturity Matching/calculate_capital_age.mreads whatDataProcessing.dowrotewritescapital_age_processed.csv→ read byDataProcessing.do -
7.
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.domaster script reads 3 input files · 6 merges ·reads whatBEA_processing.do,CapitalIQ.do,calculate_capital_age.m,firmAge.dowrotewritescapital_age.csv→ read bycalculate_capital_age.mwritesdata_processed.dta→ read byCreateXSPlotsAndTables.do,Figure1.do,Figure8.do,Significance.do,Table1.do,TableA2.do,TablesTS.do -
8.
Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.dorun by Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do line 172 reads 1 input file · 1 merge ·reads whatCRSP_Compustat_Link_processing.dowrotewritesfirm_age.dta→ read byDataProcessing.do,Robustness1.do,Robustness2.do,Robustness3.do -
9.
Asset Life, Leverage, and Debt Maturity Matching/CRSP_Compustat_Link_processing.dorun by Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do line 6 reads 1 input file ·writesCRSP_Compustat_processed.dta→ read byfirmAge.do -
10.
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.domaster script reads 4 input files · 6 merges · 2 estimationsreads whatBEA_processing.do,CapitalIQ.do,firmAge.dowrotewrites (not read again):capital_age_allindustries.csv -
11.
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.domaster script reads 4 input files · 6 merges · 2 estimationsreads whatBEA_processing.do,CapitalIQ.do,firmAge.dowrotewrites (not read again):capital_age_altdep1.csv -
12.
Asset Life, Leverage, and Debt Maturity Matching/Robustness3.domaster script reads 4 input files · 6 merges · 2 estimationsreads whatBEA_processing.do,CapitalIQ.do,firmAge.dowrotewrites (not read again):capital_age_altdep2.csv -
13.
Asset Life, Leverage, and Debt Maturity Matching/TablesFiguresXS.domaster script -
14.
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.dorun by Asset Life, Leverage, and Debt Maturity Matching/TablesFiguresXS.do line 4 10 estimationsreads whatDataProcessing.dowrote -
15.
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.doreads 8 input files · 10 merges · 1 estimationwritesHHI_Capital.dta→ read byTablesTS.dowrites (not read again):CapitalStocks.dta -
16.
Asset Life, Leverage, and Debt Maturity Matching/Figure1.doreads whatDataProcessing.dowrote -
17.
Asset Life, Leverage, and Debt Maturity Matching/Figure8.doreads whatDataProcessing.dowrotewrites (not read again):peak_to_trough.txt -
18.
Asset Life, Leverage, and Debt Maturity Matching/Significance.do20 estimationsreads whatDataProcessing.dowrote -
19.
Asset Life, Leverage, and Debt Maturity Matching/Table1.doreads whatDataProcessing.dowrote -
20.
Asset Life, Leverage, and Debt Maturity Matching/TableA2.doreads whatDataProcessing.dowrote -
21.
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do1 merge · 33 estimationsreads whatDataProcessing.do,CapitalHHI.dowrote
3 · Merges — 41 joins, 33 followed by a check of the merge result
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
capitaliq_tot_debt ← capitaliq_tot_debt_nonmissing_mat |
merge 1:1 | gvkey date |
drop _merge |
CapitalIQ.do:73Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 73
merge 1:1 gvkey date using "${Data}\capitaliq_tot_debt_nonmissing_mat.dta" |
capitaliq_tot_debt ← capitaliq_tot_debt_nonmissing_mat |
merge 1:1 | gvkey date |
drop _merge |
CapitalIQ.do:76Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 76
merge 1:1 gvkey date using "${Data}\capitaliq_tot_debt_nonmissing_mat.dta" |
capitaliq_tot_debt ← capitaliq_all |
merge 1:1 | gvkey date |
drop _merge |
CapitalIQ.do:79Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 79
merge 1:1 gvkey date using "${Data}\capitaliq_all.dta" |
capitaliq_tot_debt ← capitaliq_bonds |
merge 1:1 | gvkey date |
drop _merge |
CapitalIQ.do:82Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 82
merge 1:1 gvkey date using "${Data}\capitaliq_bonds.dta" |
capitaliq_tot_debt ← capitaliq_loans |
merge 1:1 | gvkey date |
drop _merge instrumentID |
CapitalIQ.do:84Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 84
merge 1:1 gvkey date using "${Data}\capitaliq_loans.dta" |
compustat ← ff49 |
merge m:1 | SIC4 |
drop if _merge==2 |
DataProcessing.do:33Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 33
merge m:1 SIC4 using "${Data}/FF49.dta", keepusing(FF49) |
compustat ← fic_data |
merge | gvkey merge_yearFIC |
drop if _merge==-2 |
DataProcessing.do:40Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 40
mmerge gvkey merge_yearFIC using "${Data}/FIC_Data.dta", umatch(gvkey year) |
compustat ← ind_depreciation |
merge m:1 | indID fyear |
drop if _merge==2 |
DataProcessing.do:55Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 55
merge m:1 indID fyear using "${Data}/ind_depreciation.dta" |
(data in memory) ← capital_age_processed |
merge 1:1 | gvkey fyear |
drop if _merge==2 |
DataProcessing.do:154Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 154
merge 1:1 gvkey fyear using "${Data}\capital_age_processed.dta" |
capital_age_processed ← firm_age |
merge m:1 | gvkey |
drop if _merge == 2 |
DataProcessing.do:174Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 174
merge m:1 gvkey using "${Data}\firm_age.dta" |
capital_age_processed ← capitaliq_all_data_upd |
merge 1:1 | gvkey date |
drop if _merge==2 |
DataProcessing.do:233Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 233
merge 1:1 gvkey date using "${Data}\capitaliq_all_data_upd.dta" |
crsp_compustat_processed ← crsp_first_obs_mth |
join m:m (inner) | permno |
keep if _merge==3 |
firmAge.do:11Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do, line 11
joinby permno using "${Data}\CRSP_first_obs_mth.dta", _merge(_merge) |
compustat ← ff49 |
merge m:1 | SIC4 |
drop if _merge==2 |
Robustness1.do:30Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 30
merge m:1 SIC4 using "${Data}/FF49.dta", keepusing(FF49) |
compustat ← fic_data |
merge | gvkey merge_yearFIC |
drop if _merge==-2 |
Robustness1.do:37Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 37
mmerge gvkey merge_yearFIC using "${Data}/FIC_Data.dta", umatch(gvkey year) |
compustat ← ind_depreciation |
merge m:1 | indID fyear |
drop if _merge==2 |
Robustness1.do:52Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 52
merge m:1 indID fyear using "${Data}/ind_depreciation.dta" |
(data in memory) ← capital_age_allindustries_processed |
merge 1:1 | gvkey fyear |
drop if _merge==2 |
Robustness1.do:119Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 119
merge 1:1 gvkey fyear using "${Data}\capital_age_allindustries_processed.dta" |
capital_age_allindustries_processed ← firm_age |
merge m:1 | gvkey |
drop if _merge == 2 |
Robustness1.do:131Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 131
merge m:1 gvkey using "${Data}\firm_age.dta" |
capital_age_allindustries_processed ← capitaliq_all_data_upd |
merge 1:1 | gvkey date |
drop if _merge==2 |
Robustness1.do:172Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 172
merge 1:1 gvkey date using "${Data}\capitaliq_all_data_upd.dta" |
compustat ← ff49 |
merge m:1 | SIC4 |
drop if _merge==2 |
Robustness2.do:33Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 33
merge m:1 SIC4 using "${Data}/FF49.dta", keepusing(FF49) |
compustat ← fic_data |
merge | gvkey merge_yearFIC |
drop if _merge==-2 |
Robustness2.do:40Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 40
mmerge gvkey merge_yearFIC using "${Data}/FIC_Data.dta", umatch(gvkey year) |
compustat ← ind_depreciation |
merge m:1 | indID fyear |
drop if _merge==2 |
Robustness2.do:55Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 55
merge m:1 indID fyear using "${Data}/ind_depreciation.dta" |
(data in memory) ← capital_age_altdep1_processed |
merge 1:1 | gvkey fyear |
drop if _merge==2 |
Robustness2.do:128Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 128
merge 1:1 gvkey fyear using "${Data}\capital_age_altdep1_processed.dta" |
capital_age_altdep1_processed ← firm_age |
merge m:1 | gvkey |
drop if _merge == 2 |
Robustness2.do:140Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 140
merge m:1 gvkey using "${Data}\firm_age.dta" |
capital_age_altdep1_processed ← capitaliq_all_data_upd |
merge 1:1 | gvkey date |
drop if _merge==2 |
Robustness2.do:181Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 181
merge 1:1 gvkey date using "${Data}\capitaliq_all_data_upd.dta" |
compustat ← ff49 |
merge m:1 | SIC4 |
drop if _merge==2 |
Robustness3.do:33Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 33
merge m:1 SIC4 using "${Data}/FF49.dta", keepusing(FF49) |
compustat ← fic_data |
merge | gvkey merge_yearFIC |
drop if _merge==-2 |
Robustness3.do:40Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 40
mmerge gvkey merge_yearFIC using "${Data}/FIC_Data.dta", umatch(gvkey year) |
compustat ← ind_depreciation |
merge m:1 | indID fyear |
drop if _merge==2 |
Robustness3.do:55Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 55
merge m:1 indID fyear using "${Data}/ind_depreciation.dta" |
(data in memory) ← capital_age_altdep2_processed |
merge 1:1 | gvkey fyear |
drop if _merge==2 |
Robustness3.do:129Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 129
merge 1:1 gvkey fyear using "${Data}\capital_age_altdep2_processed.dta" |
capital_age_altdep2_processed ← firm_age |
merge m:1 | gvkey |
drop if _merge == 2 |
Robustness3.do:141Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 141
merge m:1 gvkey using "${Data}\firm_age.dta" |
capital_age_altdep2_processed ← capitaliq_all_data_upd |
merge 1:1 | gvkey date |
drop if _merge==2 |
Robustness3.do:182Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 182
merge 1:1 gvkey date using "${Data}\capitaliq_all_data_upd.dta" |
producer price index by industry-advertising agencies_1995-2023 ← pcepi_1959-2023 |
merge | year |
none | CapitalHHI.do:89Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 89
mmerge year using "${Data}\PCEPI_1959-2023.dta" |
producer price index by industry-advertising agencies_1995-2023 ← producer price index by industry-ip-products_1929-2022 |
merge | year |
none | CapitalHHI.do:90Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 90
mmerge year using "${Data}\Producer Price Index by Industry-IP-Products_1929-2022.dta" |
producer price index by industry-advertising agencies_1995-2023 ← producer price index by industry-ip-r&d_1929-2022 |
merge | year |
none | CapitalHHI.do:91Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 91
mmerge year using "${Data}\Producer Price Index by Industry-IP-R&D_1929-2022.dta" |
producer price index by industry-advertising agencies_1995-2023 ← producer price index by industry-ip-entertainment_1929-2022 |
merge | year |
none | CapitalHHI.do:92Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 92
mmerge year using "${Data}\Producer Price Index by Industry-IP-Entertainment_1929-2022.dta" |
producer price index by industry-advertising agencies_1995-2023 ← producer price index by industry-ip-software_1959-2022 |
merge | year |
none | CapitalHHI.do:93Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 93
mmerge year using "${Data}\Producer Price Index by Industry-IP-Software_1959-2022.dta" |
compustat ← physicalcapital_inflation |
merge | fyear |
drop if _merge==2 |
CapitalHHI.do:157Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 157
mmerge fyear using "${Data}\PhysicalCapital_inflation.dta", umatch(year) |
compustat ← knowledgecapital_inflation |
merge | fyear |
none | CapitalHHI.do:205Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 205
mmerge fyear using "${Data}\KnowledgeCapital_inflation.dta", umatch(year) |
(data in memory) ← knowledgecapital_growth |
merge | naicsone |
none | CapitalHHI.do:219Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 219
mmerge naicsone using "${Data}\KnowledgeCapital_growth.dta" |
knowledgecapital_growth ← brandcapital_inflation |
merge | fyear |
drop if _merge==2 |
CapitalHHI.do:242Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 242
mmerge fyear using "${Data}\BrandCapital_inflation.dta", umatch(year) |
(data in memory) ← brandcapital_growth |
merge | naicsone |
none | CapitalHHI.do:257Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 257
mmerge naicsone using "${Data}\BrandCapital_growth.dta" |
data_processed ← hhi_capital |
merge | gvkey fyear |
drop if _merge==2 |
TablesTS.do:327Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 327
mmerge gvkey fyear using "${Data}\HHI_Capital.dta" |
4 · The sample — 98 keep/drop steps, 37 variables winsorized or trimmed
Filters, by kind
industry screens ×18
- drop if
sic>=4900 & sic<=4999DataProcessing.do:24
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 24 drop if sic>=4900 & sic<=4999 - drop if
sic>=6000 & sic<=6999DataProcessing.do:25
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 25 drop if sic>=6000 & sic<=6999 - drop if
sic>=9000DataProcessing.do:26
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 26 drop if sic>=9000 - drop if
sicthree == 737 | sicthree == 384 | sicthree == 382 | sicthree == 367 | sicthree == 366 | sicthree == 357 | sicthree == 283DataProcessing.do:29
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 29 drop if sicthree == 737 | sicthree == 384 | sicthree == 382 | sicthree == 367 | sicthree == 366 | sicthree == 357 | sicthree == 283 - drop if
sic>=4900 & sic<=4999Robustness1.do:24
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 24 drop if sic>=4900 & sic<=4999 - drop if
sic>=6000 & sic<=6999Robustness1.do:25
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 25 drop if sic>=6000 & sic<=6999 - drop if
sic>=9000Robustness1.do:26
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 26 drop if sic>=9000 - drop if
sic>=4900 & sic<=4999Robustness2.do:24
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 24 drop if sic>=4900 & sic<=4999 - first 8 of 18
time period ×6
- keep if
fyear>=1975 & fyear<=2018DataProcessing.do:111
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 111 keep if fyear>=1975 & fyear<=2018 - keep if
fyear>=1975 & fyear<=2018Robustness1.do:84
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 84 keep if fyear>=1975 & fyear<=2018 - keep if
fyear>=1975 & fyear<=2018Robustness2.do:93
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 93 keep if fyear>=1975 & fyear<=2018 - keep if
fyear>=1975 & fyear<=2018Robustness3.do:94
Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 94 keep if fyear>=1975 & fyear<=2018 - keep if
year>=1973CapitalHHI.do:100
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 100 keep if year>=1973 - keep if
fyear>=1975 & fyear<=2018CapitalHHI.do:128
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 128 keep if fyear>=1975 & fyear<=2018
value ranges ×8
- keep if
strpos(Var, "1ES00")>0BEA_processing.do:11
Asset Life, Leverage, and Debt Maturity Matching/Functions/BEA_processing.do, line 11 keep if strpos(Var, "1ES00")>0 - drop if
strpos(descriptiontext, "facility")>0CapitalIQ.do:10
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 10 drop if strpos(descriptiontext, "facility")>0 - drop if
remaining_maturity<0CapitalIQ.do:19
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 19 drop if remaining_maturity<0 - drop if
dataitemvalue<0CapitalIQ.do:23
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 23 drop if dataitemvalue<0 - drop if
ceq<0 | mkt_to_book>20DataProcessing.do:260
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 260 drop if ceq<0 | mkt_to_book>20 - drop if
ceq<0 | mkt_to_book>20Robustness1.do:199
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 199 drop if ceq<0 | mkt_to_book>20 - drop if
ceq<0 | mkt_to_book>20Robustness2.do:208
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 208 drop if ceq<0 | mkt_to_book>20 - drop if
ceq<0 | mkt_to_book>20Robustness3.do:209
Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 209 drop if ceq<0 | mkt_to_book>20
category values ×12
- keep if
instrumentID==2CapitalIQ.do:64
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 64 keep if instrumentID==2 - keep if
indfmt=="INDL" & datafmt=="STD" & popsrc=="D" & consol=="C" & curcd=="USD"DataProcessing.do:62
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 62 keep if indfmt=="INDL" & datafmt=="STD" & popsrc=="D" & consol=="C" & curcd=="USD" - keep if
exchg==11 | exchg==12 | exchg==14 | loc == "USA"DataProcessing.do:65
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 65 keep if exchg==11 | exchg==12 | exchg==14 | loc == "USA" - keep if
(LINKTYPE == "LU" | LINKTYPE =="LC") & (LINKPRIM == "P" | LINKPRIM =="C")CRSP_Compustat_Link_processing.do:3
Asset Life, Leverage, and Debt Maturity Matching/CRSP_Compustat_Link_processing.do, line 3 keep if (LINKTYPE == "LU" | LINKTYPE =="LC") & (LINKPRIM == "P" | LINKPRIM =="C") - keep if
indfmt=="INDL" & datafmt=="STD" & popsrc=="D" & consol=="C" & curcd=="USD"Robustness1.do:59
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 59 keep if indfmt=="INDL" & datafmt=="STD" & popsrc=="D" & consol=="C" & curcd=="USD" - keep if
exchg==11 | exchg==12 | exchg==14 | loc == "USA"Robustness1.do:62
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 62 keep if exchg==11 | exchg==12 | exchg==14 | loc == "USA" - keep if
indfmt=="INDL" & datafmt=="STD" & popsrc=="D" & consol=="C" & curcd=="USD"Robustness2.do:62
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 62 keep if indfmt=="INDL" & datafmt=="STD" & popsrc=="D" & consol=="C" & curcd=="USD" - keep if
exchg==11 | exchg==12 | exchg==14 | loc == "USA"Robustness2.do:65
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 65 keep if exchg==11 | exchg==12 | exchg==14 | loc == "USA" - first 8 of 12
indicator subsets ×3
- keep if
latestfilingforinstanceflag==1 & latestforfinancialperiodflag==1CapitalIQ.do:12
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 12 keep if latestfilingforinstanceflag==1 & latestforfinancialperiodflag==1 - keep if
instrumentID==1CapitalIQ.do:57
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 57 keep if instrumentID==1 - drop if
firm_xrd==0CapitalHHI.do:149
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 149 drop if firm_xrd==0
missing values ×19
- drop if
missing(gvkey)CapitalIQ.do:8
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 8 drop if missing(gvkey) - drop if
missing(dep_rate)DataProcessing.do:135
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 135 drop if missing(dep_rate) - drop if
fyear == .DataProcessing.do:177
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 177 drop if fyear == . - drop if
missing(capital_age) | missing(net_book_lev) | missing(net_mkt_lev) | missing(nd_ebitda_pos) | missing(mat3) | missing(mat5)DataProcessing.do:254
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 254 drop if missing(capital_age) | missing(net_book_lev) | missing(net_mkt_lev) | missing(nd_ebitda_pos) | missing(mat3) | missing(mat5) - drop if
missing(date)firmAge.do:12
Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do, line 12 drop if missing(date) - drop if
missing(first)firmAge.do:19
Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do, line 19 drop if missing(first) - drop if
missing(dep_rate)Robustness1.do:100
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 100 drop if missing(dep_rate) - drop if
fyear == .Robustness1.do:134
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 134 drop if fyear == . - first 8 of 19
drops after a merge (_merge) ×32
- drop if
_merge==2DataProcessing.do:34
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 34 drop if _merge==2 - drop if
_merge==-2DataProcessing.do:41
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 41 drop if _merge==-2 - drop if
_merge==2DataProcessing.do:42
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 42 drop if _merge==2 - drop if
_merge==2DataProcessing.do:56
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 56 drop if _merge==2 - drop if
_merge==2DataProcessing.do:155
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 155 drop if _merge==2 - drop if
_merge == 2DataProcessing.do:175
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 175 drop if _merge == 2 - drop if
_merge==2DataProcessing.do:234
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 234 drop if _merge==2 - keep if
_merge==3firmAge.do:13
Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do, line 13 keep if _merge==3 - first 8 of 32
Outliers
winsorize at 1/99
· 37 variables
xrd_growth xad_growth net_book_lev net_mkt_lev nd_ebitda nd_ebitda_pos size mkt_to_book profitability tangibility tangibility2 rd +25CapitalHHI.do:212
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 212
winsor2 xrd_growth, cuts(1 99) replace
CapitalHHI.do:250
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 250
winsor2 xad_growth, cuts(1 99) replace
Robustness1.do:202
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 202
winsor2 net_book_lev net_mkt_lev nd_ebitda nd_ebitda_pos size mkt_to_book profitability tangibility tangibility2 rd firmAge AbnormalEarnings AssetMaturity investment capital_age capital_age_new cf_vol_sd mat mat3 mat5 ROI, replace c(1 99)
Robustness3.do:83
Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 83
winsor2 dep_rate_new, c(1 99) replace
Missing values
dropped ×19
firmAge.do:12
Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do, line 12 drop if missing(date)firmAge.do:19
Asset Life, Leverage, and Debt Maturity Matching/Functions/firmAge.do, line 19 drop if missing(first)CapitalHHI.do:150
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 150 drop if missing(xrd_use) | missing(xad_use)CapitalHHI.do:214
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 214 drop if naicsone==.CapitalHHI.do:252
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 252 drop if naicsone==.CapitalHHI.do:289
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 289 keep if HHI_CapitalStock!=.
set to zero ×16
xrd_use→0CapitalHHI.do:132
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 132 replace xrd_use = 0 if xrd_use==. & year(datadate)>1974divDummy→0DataProcessing.do:199
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 199 replace divDummy = 0 if missing(divDummy)rd→0DataProcessing.do:214
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 214 replace rd = 0 if missing(rd)xrent→0DataProcessing.do:225
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 225 replace xrent = 0 if missing(xrent)txditc→0DataProcessing.do:257
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 257 replace txditc=0 if missing(txditc)pstkl→0DataProcessing.do:258
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 258 replace pstkl=0 if missing(pstkl)
common sample across variables (listwise) ×6
TablesTS.do:114
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 114 gen insample=e(sample)TablesTS.do:120
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 120 qui reghdfe `var' $lev_controls if !missing(lcapital_age), a(gvkey fyear) cl(gvkey) as we read it (macros filled in / loop expanded): qui reghdfe `var' lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge if !missing(lcapital_age), a(gvkey fyear) cl(gvkey)TablesTS.do:134
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 134 qui reghdfe `var' $mat_controls if !missing(lcapital_age), a(gvkey fyear) cl(gvkey) as we read it (macros filled in / loop expanded): qui reghdfe `var' lmkt_to_book lsize lsize2 lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge if !missing(lcapital_age), a(gvkey fyear) cl(gvkey)CapitalIQ.do:46
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 46 collapse (sum) dataitemvalue if !missing(remaining_maturity2), by(gvkey date)CapitalIQ.do:56
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 56 collapse (mean) remaining_maturity2 [aw=dataitemvalue] if !missing(instrumentID), by(gvkey date instrumentID)CapitalIQ.do:63
Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 63 collapse (mean) remaining_maturity2 [aw=dataitemvalue] if !missing(instrumentID), by(gvkey date instrumentID)
filled with a value ×3
PriceIndex_BrandCapital→imputed_PriceIndexCapitalHHI.do:97
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 97 replace PriceIndex_BrandCapital=imputed_PriceIndex if PriceIndex_BrandCapital==.xad_use→xad_impliedCapitalHHI.do:145
Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 145 replace xad_use = xad_implied if xad_use==.depreciation→dp - amDataProcessing.do:87
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 87 replace depreciation = dp - am if missing(depreciation) & !missing(dp) & !missing(am)
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Book Leverage (), Capital Expenditure (), Cash Holdings (), Dividend Payer (), Earnings Volatility (), Market Leverage (), Net Working Capital (), R&D Intensity (), Return on Assets (ROA) (), Tangibility (PPE/Assets) (), Tobin's Q / Market-to-Book ()
book_lev DataProcessing.do:183
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 183
g book_lev = (dlc + dltt)/at
investment Robustness1.do:155
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 155
g investment = capx/l.ppegt
cash DataProcessing.do:194
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 194
g cash=che/at
divDummy DataProcessing.do:198
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 198
g divDummy = 1 if dvc > 0 & !missing(dvc)
std_ebitda CreateXSPlotsAndTables.do:14
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 14
egen std_ebitda = sd(ebitda), by(gvkey)
mkt_lev DataProcessing.do:184
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 184
g mkt_lev = (dlc + dltt)/(dltt + dlc + prcc_f*csho)
nwc DataProcessing.do:196
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 196
g nwc = (act - lct - che)/at
rd DataProcessing.do:213
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 213
g rd = xrd/sale
profitability DataProcessing.do:209
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 209
g profitability = oibdp/at
tangibility DataProcessing.do:210
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 210
g tangibility = ppent/at
mkt_to_book DataProcessing.do:259
Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 259
g mkt_to_book = (prcc_f*csho+at-ceq)/at
| Variable | Used in models as | Built by |
|---|---|---|
mat3 |
outcome in 14 | mat3 = (dltt-dd2-dd3)/(dlc+dltt) (gen) DataProcessing.do:204Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 204
g mat3 = (dltt-dd2-dd3)/(dlc+dltt) mat3 = (dltt-dd2-dd3)/(dlc+dltt) (gen) Robustness1.do:147Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 147
g mat3 = (dltt-dd2-dd3)/(dlc+dltt) mat3 = (dltt-dd2-dd3)/(dlc+dltt) (gen) Robustness2.do:156Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 156
g mat3 = (dltt-dd2-dd3)/(dlc+dltt) +1 more statements set it |
net_book_lev |
outcome in 11 | net_book_lev = (dlc + dltt - che)/at (gen) DataProcessing.do:187Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 187
g net_book_lev = (dlc + dltt - che)/at net_book_lev = (dlc + dltt - che)/at (gen) Robustness1.do:140Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 140
g net_book_lev = (dlc + dltt - che)/at net_book_lev = (dlc + dltt - che)/at (gen) Robustness2.do:149Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 149
g net_book_lev = (dlc + dltt - che)/at +1 more statements set it |
mat |
outcome in 2 | mat = remaining_maturity2 (rename) CapitalIQ.do:81Asset Life, Leverage, and Debt Maturity Matching/CapitalIQ.do, line 81
rename remaining_maturity2 mat mat = . (replace) DataProcessing.do:249Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 249
replace mat = . if ciq_comp_ratio>1.1 mat = . (replace) Robustness1.do:188Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 188
replace mat = . if ciq_comp_ratio>1.1 +2 more statements set it |
mat5 |
outcome in 2 | mat5 = (dltt-dd2-dd3-dd4-dd5)/(dlc+dltt) (gen) DataProcessing.do:205Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 205
g mat5 = (dltt-dd2-dd3-dd4-dd5)/(dlc+dltt) mat5 = (dltt-dd2-dd3-dd4-dd5)/(dlc+dltt) (gen) Robustness1.do:148Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 148
g mat5 = (dltt-dd2-dd3-dd4-dd5)/(dlc+dltt) mat5 = (dltt-dd2-dd3-dd4-dd5)/(dlc+dltt) (gen) Robustness2.do:157Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 157
g mat5 = (dltt-dd2-dd3-dd4-dd5)/(dlc+dltt) +1 more statements set it |
nd_ebitda_pos |
outcome in 2 | nd_ebitda_pos = nd_ebitda (gen) DataProcessing.do:191Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 191
g nd_ebitda_pos = nd_ebitda if ebitda>0 nd_ebitda_pos = nd_ebitda (gen) Robustness1.do:144Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 144
g nd_ebitda_pos = nd_ebitda if ebitda>0 nd_ebitda_pos = nd_ebitda (gen) Robustness2.do:153Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 153
g nd_ebitda_pos = nd_ebitda if ebitda>0 +1 more statements set it |
lAssetMaturity |
outcome in 1, regressor in 19 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
PriceIndex_BrandCapital |
outcome in 1 | PriceIndex_BrandCapital = B (rename) CapitalHHI.do:40Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 40
rename B PriceIndex_BrandCapital PriceIndex_BrandCapital = PriceIndex_BrandCapital/Index_2012*100 (replace) CapitalHHI.do:46Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 46
replace PriceIndex_BrandCapital = PriceIndex_BrandCapital/Index_2012*100 PriceIndex_BrandCapital = imputed_PriceIndex (replace) CapitalHHI.do:97Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 97
replace PriceIndex_BrandCapital=imputed_PriceIndex if PriceIndex_BrandCapital==. |
lcapital_age |
regressor in 45 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lsize |
regressor in 40 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lrd |
regressor in 37 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lmkt_to_book |
regressor in 36 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lcf_vol_sd |
regressor in 35 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lfirmAge |
regressor in 29 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lnet_book_lev |
regressor in 24 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lsize2 |
regressor in 21 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lprofitability |
regressor in 19 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lAbnormalEarnings |
regressor in 17 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ltangibility |
regressor in 17 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
HHI_CapitalStockT |
regressor in 4 | HHI_CapitalStockT = xtile(HHI_CapitalStock) (egen xtile) TablesTS.do:331Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 331
egen HHI_CapitalStockT = xtile(HHI_CapitalStock), by(fyear) n(3) |
AM |
regressor in 2 | AM = AssetMaturity (rename) CreateXSPlotsAndTables.do:113Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 113
rename AssetMaturity AM |
capital_age |
regressor in 2 | capital_age = . (gen) DataProcessing.do:124Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 124
g capital_age=. capital_age = capital_age_old (rename) DataProcessing.do:157Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 157
rename capital_age_old capital_age capital_age = . (gen) Robustness1.do:93Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 93
g capital_age=. +9 more statements set it |
cf_vol_sd |
regressor in 2 | cf_vol_sd = . (replace) DataProcessing.do:222Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 222
replace cf_vol_sd = . if cf_vol_count<4 cf_vol_sd = . (replace) Robustness1.do:165Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 165
replace cf_vol_sd = . if cf_vol_count<4 cf_vol_sd = . (replace) Robustness2.do:174Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 174
replace cf_vol_sd = . if cf_vol_count<4 +1 more statements set it |
firmAge |
regressor in 2 | firmAge = datediff_frac(date_start, datadate, "year") (gen) DataProcessing.do:178Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 178
g firmAge = datediff_frac(date_start, datadate, "year") firmAge = datediff_frac(date_start, datadate, "year") (gen) Robustness1.do:135Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 135
g firmAge = datediff_frac(date_start, datadate, "year") firmAge = datediff_frac(date_start, datadate, "year") (gen) Robustness2.do:144Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 144
g firmAge = datediff_frac(date_start, datadate, "year") +5 more statements set it |
lbook_lev |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ldivDummy |
regressor in 2 | ldivDummy = l.divDummy (gen) TablesTS.do:13Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 13
g ldivDummy = l.divDummy |
linvestment |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lnwc |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lprof |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
mkt_to_book |
regressor in 2 | mkt_to_book = (prcc_f*csho+at-ceq)/at (gen) DataProcessing.do:259Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 259
g mkt_to_book = (prcc_f*csho+at-ceq)/at mkt_to_book = (prcc_f*csho+at-ceq)/at (gen) Robustness1.do:198Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 198
g mkt_to_book = (prcc_f*csho+at-ceq)/at mkt_to_book = (prcc_f*csho+at-ceq)/at (gen) Robustness2.do:207Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 207
g mkt_to_book = (prcc_f*csho+at-ceq)/at +1 more statements set it |
profitability |
regressor in 2 | profitability = oibdp/at (gen) DataProcessing.do:209Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 209
g profitability = oibdp/at profitability = oibdp/at (gen) Robustness1.do:152Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 152
g profitability = oibdp/at profitability = oibdp/at (gen) Robustness2.do:161Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 161
g profitability = oibdp/at +1 more statements set it |
rd |
regressor in 2 | rd = xrd/sale (gen) DataProcessing.do:213Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 213
g rd = xrd/sale rd = xrd/sale (gen) Robustness1.do:156Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 156
g rd = xrd/sale rd = xrd/sale (gen) Robustness2.do:165Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 165
g rd = xrd/sale +5 more statements set it |
size |
regressor in 2 | size = log(sale/defl) (gen) DataProcessing.do:208Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 208
g size = log(sale/defl) size = log(sale/defl) (gen) Robustness1.do:151Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 151
g size = log(sale/defl) size = log(sale/defl) (gen) Robustness2.do:160Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 160
g size = log(sale/defl) +1 more statements set it |
tangibility |
regressor in 2 | tangibility = ppent/at (gen) DataProcessing.do:210Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 210
g tangibility = ppent/at tangibility = ppent/at (gen) Robustness1.do:153Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 153
g tangibility = ppent/at tangibility = ppent/at (gen) Robustness2.do:162Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 162
g tangibility = ppent/at +1 more statements set it |
useful_life |
regressor in 2 | useful_life = (ppegt + l.ppegt) / (2*dpc) (gen) DataProcessing.do:163Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 163
g useful_life = (ppegt + l.ppegt) / (2*dpc) useful_life = round(useful_life) (replace) DataProcessing.do:164Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 164
replace useful_life = round(useful_life) useful_life = 25 (replace) DataProcessing.do:165Asset Life, Leverage, and Debt Maturity Matching/DataProcessing.do, line 165
replace useful_life = 25 if useful_life>25 & !missing(useful_life) |
PCEPI |
regressor in 1 | PCEPI = B (rename) CapitalHHI.do:54Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 54
rename B PCEPI |
PriceIndex_IP_Entertainment |
regressor in 1 | PriceIndex_IP_Entertainment = B (rename) CapitalHHI.do:75Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 75
rename B PriceIndex_IP_Entertainment |
PriceIndex_IP_Products |
regressor in 1 | PriceIndex_IP_Products = B (rename) CapitalHHI.do:26Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 26
rename B PriceIndex_IP_Products PriceIndex_IP_Products = B (rename) CapitalHHI.do:61Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 61
rename B PriceIndex_IP_Products |
PriceIndex_IP_RD |
regressor in 1 | PriceIndex_IP_RD = B (rename) CapitalHHI.do:68Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 68
rename B PriceIndex_IP_RD |
PriceIndex_IP_Software |
regressor in 1 | PriceIndex_IP_Software = B (rename) CapitalHHI.do:82Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 82
rename B PriceIndex_IP_Software |
6 · Models, by the table or figure they feed — 70 estimations, 0 traced into 0 exhibits
Estimations not traced to a table or figure · 70
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
`var' |
`cavar' lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Robustness1.do:220Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 220
qui reghdfe `var' `cavar' $lev_controls, a(gvkey fyear industry_year) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' `cavar' lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge, a(gvkey fyear industry_year) cl(gvkey) run 3× in a loop (var=nd_ebitda_pos; cavar=lcapital_age; var=net_book_lev; cavar=lcapital_age; var=net_mkt_lev; cavar=lcapital_age)
|
reghdfepanel fe |
`var' |
`cavar' lmkt_to_book lsize lsize2 lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Robustness1.do:230Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 230
qui reghdfe `var' `cavar' $mat_controls, a(gvkey fyear industry_year) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' `cavar' lmkt_to_book lsize lsize2 lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge, a(gvkey fyear industry_year) cl(gvkey) run 3× in a loop (var=mat3; cavar=lcapital_age; var=mat5; cavar=lcapital_age; var=mat; cavar=lcapital_age)
|
reghdfepanel fe |
`var' |
`cavar' lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Robustness2.do:232Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 232
qui reghdfe `var' `cavar' $lev_controls, a(gvkey fyear industry_year) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' `cavar' lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge, a(gvkey fyear industry_year) cl(gvkey) run 3× in a loop (var=nd_ebitda_pos; cavar=lcapital_age; var=net_book_lev; cavar=lcapital_age; var=net_mkt_lev; cavar=lcapital_age)
|
reghdfepanel fe |
`var' |
`cavar' lmkt_to_book lsize lsize2 lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Robustness2.do:242Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 242
qui reghdfe `var' `cavar' $mat_controls, a(gvkey fyear industry_year) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' `cavar' lmkt_to_book lsize lsize2 lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge, a(gvkey fyear industry_year) cl(gvkey) run 3× in a loop (var=mat3; cavar=lcapital_age; var=mat5; cavar=lcapital_age; var=mat; cavar=lcapital_age)
|
reghdfepanel fe |
`var' |
`cavar' lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Robustness3.do:233Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 233
qui reghdfe `var' `cavar' $lev_controls, a(gvkey fyear industry_year) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' `cavar' lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge, a(gvkey fyear industry_year) cl(gvkey) run 3× in a loop (var=nd_ebitda_pos; cavar=lcapital_age; var=net_book_lev; cavar=lcapital_age; var=net_mkt_lev; cavar=lcapital_age)
|
reghdfepanel fe |
`var' |
`cavar' lmkt_to_book lsize lsize2 lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Robustness3.do:243Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 243
qui reghdfe `var' `cavar' $mat_controls, a(gvkey fyear industry_year) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' `cavar' lmkt_to_book lsize lsize2 lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge, a(gvkey fyear industry_year) cl(gvkey) run 3× in a loop (var=mat3; cavar=lcapital_age; var=mat5; cavar=lcapital_age; var=mat; cavar=lcapital_age)
|
regols |
max_`v'_cycle_time |
`x'
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:147Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 147
eststo `v'_`x'_max_base: reg max_`v'_cycle_time `x' , cluster(icode100_common) run 3× in a loop (v=lev; v=blev; v=levEb)
|
regols |
max_`v'_cycle_time |
`x' mkt_to_book tangibility profitability size cf_vol_sd rd firmAge
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:149Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 149
eststo `v'_`x'_max_cntrl: reg max_`v'_cycle_time `x' $cycle_controls , cluster(icode100_common)
as we read it (macros filled in / loop expanded):
eststo `v'_`x'_max_cntrl: reg max_`v'_cycle_time `x' mkt_to_book tangibility profitability size cf_vol_sd rd firmAge , cluster(icode100_common) run 3× in a loop (v=lev; v=blev; v=levEb)
|
regols |
`v'_cycle_length |
`x'
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:152Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 152
eststo `v'_`x'_avg_base: reg `v'_cycle_length `x' , cluster(icode100_common) run 3× in a loop (v=lev; v=blev; v=levEb)
|
regols |
`v'_cycle_length |
`x' mkt_to_book tangibility profitability size cf_vol_sd rd firmAge
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:154Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 154
eststo `v'_`x'_avg_cntrl: reg `v'_cycle_length `x' $cycle_controls , cluster(icode100_common)
as we read it (macros filled in / loop expanded):
eststo `v'_`x'_avg_cntrl: reg `v'_cycle_length `x' mkt_to_book tangibility profitability size cf_vol_sd rd firmAge , cluster(icode100_common) run 3× in a loop (v=lev; v=blev; v=levEb)
|
regols |
`y' |
useful_life
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:217Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 217
eststo `y'_ul_base: reg `y' useful_life, cluster(icode100_common) |
regols |
`y' |
useful_life $mat_controls
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:219Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 219
eststo `y'_ul_control: reg `y' useful_life $mat_controls , cluster(icode100_common) |
regols |
`y' |
capital_age
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:222Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 222
eststo `y'_cap_age_base: reg `y' capital_age, cluster(icode100_common) |
regols |
`y' |
capital_age $mat_controls
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:224Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 224
eststo `y'_cap_age_control: reg `y' capital_age $mat_controls , cluster(icode100_common) |
regols |
`y' |
AM
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:227Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 227
eststo `y'_AM_base: reg `y' AM, cluster(icode100_common) |
regols |
`y' |
AM $mat_controls
|
— | cluster: icode100_common | CreateXSPlotsAndTables.do:229Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 229
eststo `y'_AM_control: reg `y' AM $mat_controls , cluster(icode100_common) |
regols |
PriceIndex_BrandCapital |
PCEPI PriceIndex_IP_Products PriceIndex_IP_RD PriceIndex_IP_Entertainment PriceIndex_IP_Software
|
— | default | CapitalHHI.do:95Asset Life, Leverage, and Debt Maturity Matching/CapitalHHI.do, line 95
reg PriceIndex_BrandCapital PCEPI PriceIndex_IP_Products PriceIndex_IP_RD PriceIndex_IP_Entertainment PriceIndex_IP_Software |
reghdfepanel fe |
net_book_lev |
`var'
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:18Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 18
qui reghdfe net_book_lev `var' if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) run 8× in a loop (var=lcapital_age; var=lprofitability; var=lsize…)
|
reghdfepanel fe |
net_book_lev |
lcapital_age
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:36Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 36
qui reghdfe net_book_lev lcapital_age if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
net_book_lev |
lcapital_age lprofitability
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:42Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 42
qui reghdfe net_book_lev lcapital_age lprofitability if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
net_book_lev |
lcapital_age lprofitability lmkt_to_book
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:48Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 48
qui reghdfe net_book_lev lcapital_age lprofitability lmkt_to_book if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
net_book_lev |
lcapital_age lprofitability lmkt_to_book ltangibility
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:54Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 54
qui reghdfe net_book_lev lcapital_age lprofitability lmkt_to_book ltangibility if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
net_book_lev |
lcapital_age lprofitability lmkt_to_book ltangibility lsize
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:60Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 60
qui reghdfe net_book_lev lcapital_age lprofitability lmkt_to_book ltangibility lsize if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
net_book_lev |
lcapital_age lprofitability lmkt_to_book ltangibility lsize lcf_vol_sd
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:66Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 66
qui reghdfe net_book_lev lcapital_age lprofitability lmkt_to_book ltangibility lsize lcf_vol_sd if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
net_book_lev |
lcapital_age lsize ltangibility lmkt_to_book lprofitability lcf_vol_sd lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:72Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 72
qui reghdfe net_book_lev lcapital_age lsize ltangibility lmkt_to_book lprofitability lcf_vol_sd lfirmAge if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
net_book_lev |
lcapital_age lsize ltangibility lmkt_to_book lprofitability lcf_vol_sd lfirmAge lrd
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:78Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 78
qui reghdfe net_book_lev lcapital_age lsize ltangibility lmkt_to_book lprofitability lcf_vol_sd lfirmAge lrd if samplesel==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
`var'
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:97Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 97
reghdfe mat3 `var' if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) run 10× in a loop (var=lcapital_age; var=lsize; var=lsize2…)
|
reghdfepanel fe |
mat3 |
lnet_book_lev
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:115Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 115
qui reghdfe mat3 lnet_book_lev if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lnet_book_lev lcapital_age
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:121Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 121
qui reghdfe mat3 lnet_book_lev lcapital_age if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:127Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 127
qui reghdfe mat3 lcapital_age lnet_book_lev lsize if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize lsize2
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:133Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 133
qui reghdfe mat3 lcapital_age lnet_book_lev lsize lsize2 if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize lsize2 lrd
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:139Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 139
qui reghdfe mat3 lcapital_age lnet_book_lev lsize lsize2 lrd if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:145Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 145
qui reghdfe mat3 lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:151Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 151
qui reghdfe mat3 lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd lAbnormalEarnings
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:157Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 157
qui reghdfe mat3 lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd lAbnormalEarnings if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd lAbnormalEarnings lmkt_to_book
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:163Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 163
qui reghdfe mat3 lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd lAbnormalEarnings lmkt_to_book if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
mat3 |
lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd lAbnormalEarnings lmkt_to_book lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | Significance.do:169Asset Life, Leverage, and Debt Maturity Matching/Significance.do, line 169
qui reghdfe mat3 lcapital_age lnet_book_lev lsize lsize2 lrd lAssetMaturity lcf_vol_sd lAbnormalEarnings lmkt_to_book lfirmAge if samplesel_mat==1, a(gvkey fyear industry_year) cl(gvkey) |
reghdfepanel fe |
`var' |
lcapital_age
|
gvkey, fyear | cluster: gvkey | TablesTS.do:29Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 29
qui reghdfe `var' lcapital_age, a(gvkey fyear) cl(gvkey) run 6× in a loop (var=net_book_lev; var=nd_ebitda_pos; var=net_mkt_lev…)
|
reghdfepanel fe |
`var' |
lcapital_age lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge
|
gvkey, fyear | cluster: gvkey | TablesTS.do:34Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 34
qui reghdfe `var' lcapital_age $lev_controls, a(gvkey fyear) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' lcapital_age lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge, a(gvkey fyear) cl(gvkey) run 6× in a loop (var=net_book_lev; var=nd_ebitda_pos; var=net_mkt_lev…)
|
reghdfepanel fe |
`var' |
lcapital_age lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge
|
gvkey, fyear, industry_year | cluster: gvkey | TablesTS.do:39Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 39
qui reghdfe `var' lcapital_age $lev_controls, a(gvkey fyear industry_year) cl(gvkey)
as we read it (macros filled in / loop expanded):
qui reghdfe `var' lcapital_age lmkt_to_book ltangibility lprofitability lsize lcf_vol_sd lrd lfirmAge, a(gvkey fyear industry_year) cl(gvkey) run 6× in a loop (var=net_book_lev; var=nd_ebitda_pos; var=net_mkt_lev…)
|
Tables and figures the code writes:
· · · · · · · · · · · · · · · · · · · · · · · · · · · · Table 1 · Table 1
baseline_lev_regressions.tex TablesTS.do:126
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 126
esttab nd_ebitda_pos_bas net_book_lev_bas net_mkt_lev_bas using "${Results}\baseline_lev_regressions.tex", booktabs ///
order(lprofitability lsize lmkt_to_book ltangibility lcf_vol_sd lrd lfirmAge) varlabels(ltangibility "Tangibility" …
baseline_mat_regressions.tex TablesTS.do:141
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 141
esttab mat3_baseline mat5_baseline mat_baseline using "${Results}\baseline_mat_regressions.tex", booktabs ///
order(lsize lsize2 lmkt_to_book lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge) varlabels(lsize2 "Size sq …
BLevCyclesAM${cycle_length}yrs.tex CreateXSPlotsAndTables.do:189
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 189
esttab blev_AM_max_base blev_AM_max_cntrl blev_AM_avg_base blev_AM_avg_cntrl , ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(AM) booktabs mgroups("Max Debt Cycle" "Avg. Debt Cycle" , pattern(1 0 1 0) prefix(\ …
BLevCyclesCA${cycle_length}yrs.tex CreateXSPlotsAndTables.do:183
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 183
esttab blev_capital_age_max_base blev_capital_age_max_cntrl blev_capital_age_avg_base blev_capital_age_avg_cntrl, ///
b(%12.3f) ar2(%8.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(capital_age) booktabs mgroups("Max De …
BLevCyclesUL${cycle_length}yrs.tex CreateXSPlotsAndTables.do:177
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 177
esttab blev_useful_life_max_base blev_useful_life_max_cntrl blev_useful_life_avg_base blev_useful_life_avg_cntrl, ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(useful_life) booktabs mgroups("Max Debt Cycle" " …
cash_regressions.tex TablesTS.do:80
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 80
esttab cash_ebitda_pos_bas cash_ebitda_pos_con cash_ebitda_pos_ind cash_bas cash_con cash_ind using "${Results}\cash_regressions.tex", booktabs ///
keep(lcapital_age) varlabels(lcapital_age "Capital age") ///
replace p(3) b(3) sta …
interaction_`t'.tex TablesTS.do:224
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 224
esttab lev`t' lev`t'contrl booklev`t' booklev`t'contrl mat3`t' mat3`t'contrl mat5`t' mat5`t'contrl using "${Results}\interaction_`t'.tex", booktabs ///
keep(lcapital_age 2.`t'T#c.lcapital_age 3.`t'T#c.lcapital_age ) varlabels(lcapital_ …
interaction_HHI.tex TablesTS.do:360
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 360
esttab HHI_nd_ebitda_pos HHI_nd_ebitda_poscontrl HHI_net_book_lev HHI_net_book_levcontrl HHI_mat3 HHI_mat3contrl HHI_mat5 HHI_mat5contrl using "${Results}\interaction_HHI.tex", booktabs ///
keep(lcapital_age 2.HHI_CapitalStockT#c.l …
lev_alt_industry.tex TablesTS.do:297
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 297
esttab nd_ebitda_pos_hp nd_ebitda_pos_ff net_book_lev_hp net_book_lev_ff net_mkt_lev_hp net_mkt_lev_ff using "${Results}\lev_alt_industry.tex", booktabs ///
order(lcapital_age lprofitability lsize lmkt_to_book ltangibility lcf_vol_sd lrd …
lev_regressions.tex TablesTS.do:46
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 46
esttab nd_ebitda_pos_bas nd_ebitda_pos_con nd_ebitda_pos_ind net_book_lev_bas net_book_lev_con net_book_lev_ind net_mkt_lev_bas net_mkt_lev_con net_mkt_lev_ind using "${Results}\lev_regressions.tex", booktabs ///
order(lcapital_age lp …
lev_regressions_nocash.tex TablesTS.do:53
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 53
esttab d_ebitda_pos_bas d_ebitda_pos_con d_ebitda_pos_ind book_lev_bas book_lev_con book_lev_ind using "${Results}\lev_regressions_nocash.tex", booktabs ///
keep(lcapital_age) varlabels(lcapital_age "Capital age" ltangibility "Tangibi …
LevCyclesAM${cycle_length}yrs.tex CreateXSPlotsAndTables.do:171
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 171
esttab lev_AM_max_base lev_AM_max_cntrl lev_AM_avg_base lev_AM_avg_cntrl , ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(AM) booktabs mgroups("Max Debt Cycle" "Avg. Debt Cycle" , pattern(1 0 1 0) prefix(\mult …
LevCyclesCA${cycle_length}yrs.tex CreateXSPlotsAndTables.do:165
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 165
esttab lev_capital_age_max_base lev_capital_age_max_cntrl lev_capital_age_avg_base lev_capital_age_avg_cntrl, ///
b(%12.3f) ar2(%8.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(capital_age) booktabs mgroups("Max Debt C …
LevCyclesUL${cycle_length}yrs.tex CreateXSPlotsAndTables.do:159
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 159
esttab lev_useful_life_max_base lev_useful_life_max_cntrl lev_useful_life_avg_base lev_useful_life_avg_cntrl, ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(useful_life) booktabs mgroups("Max Debt Cycle" "Avg. …
LevECyclesAM${cycle_length}yrs.tex CreateXSPlotsAndTables.do:207
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 207
esttab levEb_AM_max_base levEb_AM_max_cntrl levEb_AM_avg_base levEb_AM_avg_cntrl , ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(AM) booktabs mgroups("Max Debt Cycle" "Avg. Debt Cycle" , pattern(1 0 1 0) pref …
LevECyclesCA${cycle_length}yrs.tex CreateXSPlotsAndTables.do:201
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 201
esttab levEb_capital_age_max_base levEb_capital_age_max_cntrl levEb_capital_age_avg_base levEb_capital_age_avg_cntrl, ///
b(%12.3f) ar2(%8.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(capital_age) booktabs mgroups("Ma …
LevECyclesUL${cycle_length}yrs.tex CreateXSPlotsAndTables.do:195
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 195
esttab levEb_useful_life_max_base levEb_useful_life_max_cntrl levEb_useful_life_avg_base levEb_useful_life_avg_cntrl, ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(useful_life) booktabs mgroups("Max Debt Cycl …
mat_alt_industry.tex TablesTS.do:317
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 317
esttab mat3_hp mat3_ff mat5_hp mat5_ff mat_hp mat_ff using "${Results}\mat_alt_industry.tex", booktabs ///
order(lcapital_age lsize lsize2 lmkt_to_book lAssetMaturity lAbnormalEarnings lcf_vol_sd lrd lnet_book_lev lfirmAge) varlabels(lcapi …
mat_regressions.tex TablesTS.do:106
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 106
esttab mat3_baseline mat3_controls mat3_industry mat5_baseline mat5_controls mat5_industry mat_baseline mat_controls mat_industry using "${Results}\mat_regressions.tex", booktabs ///
order(lcapital_age lsize lsize2 lmkt_to_book lAssetM …
MatAM.tex CreateXSPlotsAndTables.do:249
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 249
esttab mat3_AM_base mat3_AM_control mat5_AM_base mat5_AM_control mat_AM_base mat_AM_control, ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(AM) booktabs mgroups("\% debt mat. $> 3y$" "\% debt mat. $> 5y$" "Debt …
MatCA.tex CreateXSPlotsAndTables.do:235
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 235
esttab mat3_cap_age_base mat3_cap_age_control mat5_cap_age_base mat5_cap_age_control mat_cap_age_base mat_cap_age_control, ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(capital_age) booktabs mgroups("\% debt …
MatUL.tex CreateXSPlotsAndTables.do:242
Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 242
esttab mat3_ul_base mat3_ul_control mat5_ul_base mat5_ul_control mat_ul_base mat_ul_control, ///
b(%12.3f) t(%8.2f) star(* 0.1 ** 0.05 *** 0.01) nogaps ///
keep(useful_life) booktabs mgroups("\% debt mat. $> 3y$" "\% debt mat. $> …
newcap7.tex TablesTS.do:273
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 273
esttab nd_ebitda_pos_lcapital7 net_book_lev_lcapital7 net_mkt_lev_lcapital7 mat3_lcapital7 mat5_lcapital7 mat_lcapital7 using "${Results}\newcap7.tex", booktabs ///
keep(lcapital7) varlabels(lcapital7 "Capital age") ///
replace p( …
newcap.tex TablesTS.do:259
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 259
esttab nd_ebitda_pos_lcapital_agen net_book_lev_lcapital_agen net_mkt_lev_lcapital_agen mat3_lcapital_agen mat5_lcapital_agen mat_lcapital_agen using "${Results}\newcap.tex", booktabs ///
keep(lcapital_agen) varlabels(lcapital_agen "Ca …
newcapd.tex TablesTS.do:266
Asset Life, Leverage, and Debt Maturity Matching/TablesTS.do, line 266
esttab nd_ebitda_pos_lcapital_aged net_book_lev_lcapital_aged net_mkt_lev_lcapital_aged mat3_lcapital_aged mat5_lcapital_aged mat_lcapital_aged using "${Results}\newcapd.tex", booktabs ///
keep(lcapital_aged) varlabels(lcapital_aged "C …
Robustness1.tex Robustness1.do:238
Asset Life, Leverage, and Debt Maturity Matching/Robustness1.do, line 238
esttab nd_ebitda_pos_lcapital_age net_book_lev_lcapital_age net_mkt_lev_lcapital_age mat3_lcapital_age mat5_lcapital_age mat_lcapital_age using "$Results\Robustness1.tex", booktabs ///
keep(lcapital_age) varlabels(lcapital_age "Capital …
Robustness2.tex Robustness2.do:250
Asset Life, Leverage, and Debt Maturity Matching/Robustness2.do, line 250
esttab nd_ebitda_pos_lcapital_age net_book_lev_lcapital_age net_mkt_lev_lcapital_age mat3_lcapital_age mat5_lcapital_age mat_lcapital_age using "$Results\Robustness2.tex", booktabs ///
keep(lcapital_age) varlabels(lcapital_age "Capital …
Robustness3.tex Robustness3.do:251
Asset Life, Leverage, and Debt Maturity Matching/Robustness3.do, line 251
esttab nd_ebitda_pos_lcapital_age net_book_lev_lcapital_age net_mkt_lev_lcapital_age mat3_lcapital_age mat5_lcapital_age mat_lcapital_age using "$Results\Robustness3.tex", booktabs ///
keep(lcapital_age) varlabels(lcapital_age "Capital …
Table1PanelA.txt Table1.do:25
Asset Life, Leverage, and Debt Maturity Matching/Table1.do, line 25
esttab . using "$Results\Table1PanelA.txt", cells("capital_age(fmt(3 3 3 3 3 0) label(capitalage)) useful_life(fmt(3 3 3 3 3 0) label(ul)) nd_ebitda_pos(fmt(3 3 3 3 3 0) label(ndebitda)) net_book_lev(fmt(3 3 3 3 3 0) label(nbooklev)) net_mk …
Table1PanelB.txt Table1.do:44
Asset Life, Leverage, and Debt Maturity Matching/Table1.do, line 44
esttab using "$Results\Table1PanelB.txt", label nonumber not unstack compress booktabs nostar replace
7 · Figures: how each is drawn — 4 figures in the code (command, layers, options, the file it is saved to)
binscatter 4
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
binscatterbinscatter
|
binscatter |
y lev_cycle_length
x useful_life
|
not saved | CreateXSPlotsAndTables.do:135Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 135
binscatter lev_cycle_length useful_life, savedata("${Results}\Avg_levCycle_useful_life_${cycle_length}yrs") replace |
|
binscatterbinscatter
|
binscatter |
y mat
x useful_life
|
not saved | CreateXSPlotsAndTables.do:136Asset Life, Leverage, and Debt Maturity Matching/CreateXSPlotsAndTables.do, line 136
binscatter mat useful_life, savedata("${Results}\useful_life_mat") replace |
|
binscatterbinscatter
|
binscatter |
y net_book_lev
x capital_age
|
absorb gvkey |
not saved | Figure1.do:5Asset Life, Leverage, and Debt Maturity Matching/Figure1.do, line 5
binscatter net_book_lev capital_age, absorb(gvkey) savedata("${Results}\lev_cap_age") replace |
binscatterbinscatter
|
binscatter |
y mat
x capital_age
|
absorb gvkey |
not saved | Figure1.do:6Asset Life, Leverage, and Debt Maturity Matching/Figure1.do, line 6
binscatter mat capital_age , absorb(gvkey) savedata("${Results}\mat_cap_age") replace |