Journal of Accounting Research · 2026 · 10.1111/1475-679x.70013

Strategic (Inconsistent) Disclosures and Sophisticated Investors: Evidence from Hedge Funds

Yichang Liu; Joshua Madsen; Frank S. Zhou

The research recipe, read from the replication code

journal · package · stata
2014–2018
sample period in the code
144
keep/drop statements
0
winsorizations
57
missing-data rules
14
de-duplications
9
distinct estimations
Sample period in the code: the window the code writes most often — LMZ 2025 Code_raw file.do:879 and 1 other statement; other windows in the code: 2012–2018, 2019–2019.
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 (45) and keep/drop statements plus winsorized variables (144).
1 · Data and structure
Databases read: Fama-French factors
Panel declared as: productreference × yearmonth (monthly); productreference × year (annual); productreference × yrqtr (quarterly)
2 · How the sample is built
  • drop missing data ×26
  • drop category value ×17
  • drop indicator subset ×11
  • keep time period ×10
  • drop value range ×8
  • keep category value ×6
  • keep indicator subset ×4
  • keep missing data ×3
Reshaping: drop duplicate rows ×14; collapse to a coarser unit ×4; sort into quantile groups ×1
sorts into deciles
3 · Design and validation
Identification: —
Outcome transforms: log plus one
Standard measures: Big 4 Auditor
4 · What it estimates
CommandMethodFixed effects absorbedInferenceFile
reghdfe
eststo G1: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_flow stdev highwatermark leveraged incentivefee managementfee lockuppe
panel festyle_qtr cluster by companyid LMZ 2025 Code_main.do
reghdfe
eststo sample: reghdfe performance4_7 inconsistent_any problem_fund logsize largefamily performance4_7_past_avg, absorb(style_month) cluster(companyid)
panel festyle_month cluster by companyid LMZ 2025 Code_main.do
xtfmb
qui: eststo G1_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_fr2 lag_inconsis_fr3 lag_flow stdev highwatermark leveraged incentivef
fama macbeth default LMZ 2025 Code_main.do
reghdfe
qui: eststo `y'_3: reghdfe `y' inconsistent_any problem_fund logsize largefamily , absorb(style) vce(robust)
panel festyle robust LMZ 2025 Code_main.do
reg
qui: eststo `y'_3: reg `y' inconsistent_any problem_fund logsize largefamily style1-style11, vce(robust)
ols robust LMZ 2025 Code_main.do
reghdfe
eststo alive1: reghdfe alive inconsistent_any problem_fund logsize largefamily performance4_7, absorb(style_year) cluster(companyid)
panel festyle_year cluster by companyid LMZ 2025 Code_main.do
rangestat
rangestat (reg) excessfundrt excess_crsp, by(productreference) interval(yearmonth -24 -1)
rolling regression default LMZ 2025 Code_raw file.do
reg
statsby _b, by(productreference) clear: reg pctgreturn lag_pctreturn
ols default LMZ 2025 Code_raw file.do
reghdfe
eststo sample: reghdfe performance4_7_percentage inconsistent_any problem_fund logsize largefamily , absorb(style_month) cluster(companyid )
panel festyle_month cluster by companyid LMZ 2025 Code_raw file.do
5 · What it tests beyond the coefficient (6 post-estimation tests: test 6)
  • coefficients sum to zero test inconsistent_any + problem_fund = 0
6 · What it produces
1 table files and 0 figure files (? 1).
How the code gets from data to results own page
2
scripts
49
input files
1
file hand-offs
98
merges
144
sample steps
45
estimations

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

Datasets this package uses (item detector / README): Kenneth French Data Library (Fama-French factors)
  • Data\crsp_clean Stata
    LMZ 2025 Code_raw file.do:711
    LMZ 2025 Code_raw file.do, line 711 merge m:1 yearmonth using "Data\crsp_clean"
  • Data\crsp_final Stata
    LMZ 2025 Code_raw file.do:1282
    LMZ 2025 Code_raw file.do, line 1282 merge m:1 yearmonth using "Data\crsp_final"
Other input files 47 files
  • Data\chara_misreporting1 Stata
    LMZ 2025 Code_raw file.do:1677
    LMZ 2025 Code_raw file.do, line 1677 merge 1:1 productreference using "Data\chara_misreporting1"
  • Data\chara_misreporting2 Stata
    LMZ 2025 Code_raw file.do:1679
    LMZ 2025 Code_raw file.do, line 1679 merge 1:1 productreference using "Data\chara_misreporting2"
  • Data\chara_misreporting3 Stata
    LMZ 2025 Code_raw file.do:1681
    LMZ 2025 Code_raw file.do, line 1681 merge 1:1 productreference using "Data\chara_misreporting3"
  • Data\chara_misreporting4 Stata
    LMZ 2025 Code_raw file.do:1683
    LMZ 2025 Code_raw file.do, line 1683 merge 1:1 productreference using "Data\chara_misreporting4"
  • Data\company details Stata
    LMZ 2025 Code_raw file.do:60
    LMZ 2025 Code_raw file.do, line 60 use "Data\company details", clear
  • Data\ff_clean Stata
    LMZ 2025 Code_raw file.do:714
    LMZ 2025 Code_raw file.do, line 714 merge m:1 yearmonth using "Data\ff_clean"
  • Data\ff_final Stata
    LMZ 2025 Code_raw file.do:1285
    LMZ 2025 Code_raw file.do, line 1285 merge m:1 yearmonth using "Data\ff_final"
  • Data\finalresult 9.24.dta Stata
    LMZ 2025 Code_raw file.do:807
    LMZ 2025 Code_raw file.do, line 807 use "Data\finalresult 9.24.dta", clear
39 more
  • Data\funghsieh7factors_final.dta Stata
    LMZ 2025 Code_raw file.do:717
    LMZ 2025 Code_raw file.do, line 717 merge m:1 yearmonth using "Data\funghsieh7factors_final.dta"
  • Data\funghsieh7factors_new.dta Stata
    LMZ 2025 Code_raw file.do:863
    LMZ 2025 Code_raw file.do, line 863 merge m:1 yearmonth using "Data\funghsieh7factors_new.dta"
  • Data\product performance new.dta Stata
    LMZ 2025 Code_raw file.do:1246
    LMZ 2025 Code_raw file.do, line 1246 use "Data\product performance new.dta", clear
  • Data\product performance.dta Stata
    LMZ 2025 Code_raw file.do:68
    LMZ 2025 Code_raw file.do, line 68 use "Data\product performance.dta", clear
  • Data\risk free rate_clean.dta Stata
    LMZ 2025 Code_raw file.do:707
    LMZ 2025 Code_raw file.do, line 707 merge m:1 yearmonth using "Data\risk free rate_clean.dta"
  • Data\risk free rate_final.dta Stata
    LMZ 2025 Code_raw file.do:1278
    LMZ 2025 Code_raw file.do, line 1278 merge m:1 yearmonth using "Data\risk free rate_final.dta"
  • Data\service provider Stata
    LMZ 2025 Code_raw file.do:783
    LMZ 2025 Code_raw file.do, line 783 use "Data\service provider", clear
  • Data\unsmooth_full Stata
    LMZ 2025 Code_raw file.do:1372
    LMZ 2025 Code_raw file.do, line 1372 merge 1:1 productreference yearmonth using "Data\unsmooth_full"
  • raw files\dereg\dereg_list.csv CSV
    LMZ 2025 Code_raw file.do:1479
    LMZ 2025 Code_raw file.do, line 1479 insheet using "raw files\dereg\dereg_list.csv", clear
  • raw files\dereg\ex_full_dereg.csv CSV
    LMZ 2025 Code_raw file.do:1498
    LMZ 2025 Code_raw file.do, line 1498 insheet using "raw files\dereg\ex_full_dereg.csv", clear
  • raw files\dereg\highrisk_full_dereg.csv CSV
    LMZ 2025 Code_raw file.do:1502
    LMZ 2025 Code_raw file.do, line 1502 insheet using "raw files\dereg\highrisk_full_dereg.csv", clear
  • raw files\dereg\q11_raw1_dereg.csv CSV
    LMZ 2025 Code_raw file.do:1483
    LMZ 2025 Code_raw file.do, line 1483 insheet using "raw files\dereg\q11_raw1_dereg.csv", clear
  • raw files\dereg\q11_raw2_dereg.csv CSV
    LMZ 2025 Code_raw file.do:1487
    LMZ 2025 Code_raw file.do, line 1487 insheet using "raw files\dereg\q11_raw2_dereg.csv", clear
  • raw files\ex_full\ex_full.csv CSV
    LMZ 2025 Code_raw file.do:1019
    LMZ 2025 Code_raw file.do, line 1019 insheet using "raw files\ex_full\ex_full.csv", clear
  • raw files\ex_mention_full\ex_mention_op_full.csv CSV
    LMZ 2025 Code_raw file.do:1076
    LMZ 2025 Code_raw file.do, line 1076 insheet using "raw files\ex_mention_full\ex_mention_op_full.csv", clear
  • raw files\hedge fund list_final1.csv CSV
    LMZ 2025 Code_raw file.do:193
    LMZ 2025 Code_raw file.do, line 193 insheet using "raw files\hedge fund list_final1.csv", clear
  • raw files\hedge fund list_final2.csv CSV
    LMZ 2025 Code_raw file.do:448
    LMZ 2025 Code_raw file.do, line 448 insheet using "raw files\hedge fund list_final2.csv", clear
  • raw files\hedge fund list_final3.csv CSV
    LMZ 2025 Code_raw file.do:610
    LMZ 2025 Code_raw file.do, line 610 insheet using "raw files\hedge fund list_final3.csv", clear
  • raw files\highrisk_full\highrisk_full.csv CSV
    LMZ 2025 Code_raw file.do:1023
    LMZ 2025 Code_raw file.do, line 1023 insheet using "raw files\highrisk_full\highrisk_full.csv", clear
  • raw files\other variables\char\char1.csv CSV
    LMZ 2025 Code_raw file.do:1136
    LMZ 2025 Code_raw file.do, line 1136 insheet using "raw files\other variables\char\char1.csv", clear
  • raw files\other variables\char\char1_additional.csv CSV
    LMZ 2025 Code_raw file.do:1640
    LMZ 2025 Code_raw file.do, line 1640 insheet using "raw files\other variables\char\char1_additional.csv", clear
  • raw files\other variables\char\char2.csv CSV
    LMZ 2025 Code_raw file.do:1140
    LMZ 2025 Code_raw file.do, line 1140 insheet using "raw files\other variables\char\char2.csv", clear
  • raw files\other variables\char\char2_additional.csv CSV
    LMZ 2025 Code_raw file.do:1644
    LMZ 2025 Code_raw file.do, line 1644 insheet using "raw files\other variables\char\char2_additional.csv", clear
  • raw files\other variables\fiduciary\fiduciary.csv CSV
    LMZ 2025 Code_raw file.do:1128
    LMZ 2025 Code_raw file.do, line 1128 insheet using "raw files\other variables\fiduciary\fiduciary.csv", clear
  • raw files\other variables\mutualfund\mutualfund.csv CSV
    LMZ 2025 Code_raw file.do:1124
    LMZ 2025 Code_raw file.do, line 1124 insheet using "raw files\other variables\mutualfund\mutualfund.csv", clear
  • raw files\other variables\ownership\ownership.csv CSV
    LMZ 2025 Code_raw file.do:1132
    LMZ 2025 Code_raw file.do, line 1132 insheet using "raw files\other variables\ownership\ownership.csv", clear
  • raw files\other variables\pensionplans\pensionplans.csv CSV
    LMZ 2025 Code_raw file.do:1144
    LMZ 2025 Code_raw file.do, line 1144 insheet using "raw files\other variables\pensionplans\pensionplans.csv", clear
  • raw files\other variables\readability.csv CSV
    LMZ 2025 Code_raw file.do:1648
    LMZ 2025 Code_raw file.do, line 1648 insheet using "raw files\other variables\readability.csv", clear
  • raw files\q5_full\q5_full.csv CSV
    LMZ 2025 Code_raw file.do:1051
    LMZ 2025 Code_raw file.do, line 1051 insheet using "raw files\q5_full\q5_full.csv", clear
  • raw files\q11_full\q11_partition1_raw.csv CSV
    LMZ 2025 Code_raw file.do:988
    LMZ 2025 Code_raw file.do, line 988 insheet using "raw files\q11_full\q11_partition1_raw.csv", clear
  • raw files\q11_full\q11_partition2_raw.csv CSV
    LMZ 2025 Code_raw file.do:992
    LMZ 2025 Code_raw file.do, line 992 insheet using "raw files\q11_full\q11_partition2_raw.csv", clear
  • raw files\q11_full\q11_raw1.csv CSV
    LMZ 2025 Code_raw file.do:980
    LMZ 2025 Code_raw file.do, line 980 insheet using "raw files\q11_full\q11_raw1.csv", clear
  • raw files\q11_full\q11_raw2.csv CSV
    LMZ 2025 Code_raw file.do:984
    LMZ 2025 Code_raw file.do, line 984 insheet using "raw files\q11_full\q11_raw2.csv", clear
  • raw files\q11_mention\q11_mention_op_full.csv CSV
    LMZ 2025 Code_raw file.do:1067
    LMZ 2025 Code_raw file.do, line 1067 insheet using "raw files\q11_mention\q11_mention_op_full.csv", clear
  • raw files\RIA_list.csv CSV
    LMZ 2025 Code_raw file.do:8
    LMZ 2025 Code_raw file.do, line 8 insheet using "raw files\RIA_list.csv", clear
  • raw files\risk_mention_full\risk_mention_full1.csv CSV
    LMZ 2025 Code_raw file.do:1085
    LMZ 2025 Code_raw file.do, line 1085 insheet using "raw files\risk_mention_full\risk_mention_full1.csv", clear
  • raw files\risk_mention_full\risk_mention_full2.csv CSV
    LMZ 2025 Code_raw file.do:1090
    LMZ 2025 Code_raw file.do, line 1090 insheet using "raw files\risk_mention_full\risk_mention_full2.csv", clear
  • raw files\risk_mention_full\risk_mention_full3.csv CSV
    LMZ 2025 Code_raw file.do:1095
    LMZ 2025 Code_raw file.do, line 1095 insheet using "raw files\risk_mention_full\risk_mention_full3.csv", clear
  • raw files\stopreporting.csv CSV
    LMZ 2025 Code_raw file.do:1611
    LMZ 2025 Code_raw file.do, line 1611 insheet using "raw files\stopreporting.csv", clear

2 · The file pipeline — which script writes which file that a later script reads

2 scripts, in data lineage — a script that writes a file comes before the scripts that read it; 1 hand-offs through 5 intermediate files; 8 files written and never read back (outputs).

LMZ 2025 Code_raw file.do → LMZ 2025 Code_main.do: maintest2_full.dta, maintest_2022_full.dta, maintest_full_2022.dta, quarterly flow_full_2022.dta, test1_new1_2022.dta LMZ 2025 Code_raw file.do · reads 49 input files · 12 estimations 1. LMZ 2025 Code_raw file.do 12 est.LMZ 2025 Code_main.do · 33 estimations 2. LMZ 2025 Code_main.do 33 est.
  1. 1.LMZ 2025 Code_raw file.do reads 49 input files · 109 merges · 12 estimations
    writes maintest2_full.dta → read by LMZ 2025 Code_main.do
    writes maintest_2022_full.dta → read by LMZ 2025 Code_main.do
    writes maintest_full_2022.dta → read by LMZ 2025 Code_main.do
    writes quarterly flow_full_2022.dta → read by LMZ 2025 Code_main.do
    writes test1_new1_2022.dta → read by LMZ 2025 Code_main.do
    writes (not read again): Merge_step7.dta, hedge fund list_final1.dta, merge2_step15.dta, merge2_step21.dta, merge2_step23.dta, merge2_step36.dta, merge2_step38_unique list.dta, merge2_step4.dta
  2. 2.LMZ 2025 Code_main.do 33 estimations
    reads what LMZ 2025 Code_raw file.do wrote

3 · Merges — 98 joins, 96 followed by a check of the merge result; 11 appends

JoinsHowOn keysCheck that followsWhere
merge_step1 ← merge_step2 merge m:1 productreference keep if _merge == 3
LMZ 2025 Code_raw file.do:76
LMZ 2025 Code_raw file.do, line 76 merge m:1 productreference using "Data\Merge_step2.dta"
merge_step8 ← merge_step3 merge m:1 companyid drop _merge
LMZ 2025 Code_raw file.do:168
LMZ 2025 Code_raw file.do, line 168 merge m:1 companyid using "Data\Merge_step3.dta"
merge_step8 ← merge_step0 merge m:1 organizationcrd keep if _merge == 3
LMZ 2025 Code_raw file.do:171
LMZ 2025 Code_raw file.do, line 171 merge m:1 organizationcrd using "Data\Merge_step0.dta"
company details ← merge2_step2 merge m:1 productreference keep if _merge == 3
LMZ 2025 Code_raw file.do:221
LMZ 2025 Code_raw file.do, line 221 merge m:1 productreference using "Data\merge2_step2.dta"
company details ← merge2_step2 merge m:1 productreference drop if _merge == 3
LMZ 2025 Code_raw file.do:231
LMZ 2025 Code_raw file.do, line 231 merge m:1 productreference using "Data\merge2_step2.dta"
merge2_step10 ← merge2_step11 merge m:1 productreference keep if _merge == 3
LMZ 2025 Code_raw file.do:259
LMZ 2025 Code_raw file.do, line 259 merge m:1 productreference using "Data\merge2_step11.dta"
merge2_step16 ← merge2_step12 merge m:1 companyid keep if _merge == 3
LMZ 2025 Code_raw file.do:397
LMZ 2025 Code_raw file.do, line 397 merge m:1 companyid using "Data\merge2_step12.dta"
merge2_step16 ← merge2_step13 merge m:1 organizationcrd keep if _merge == 3
LMZ 2025 Code_raw file.do:401
LMZ 2025 Code_raw file.do, line 401 merge m:1 organizationcrd using "Data\merge2_step13.dta"
merge2_step19 ← merge2_step20 merge 1:1 concatenate keep if _merge == 1
LMZ 2025 Code_raw file.do:437
LMZ 2025 Code_raw file.do, line 437 merge 1:1 concatenate using "Data\merge2_step20.dta"
merge2_step10 ← merge2_step11 merge m:1 productreference keep if _merge == 3
LMZ 2025 Code_raw file.do:456
LMZ 2025 Code_raw file.do, line 456 merge m:1 productreference using "Data\merge2_step11.dta"
merge2_step10 ← merge2_step24 merge m:1 companyid drop if _merge == 3
LMZ 2025 Code_raw file.do:459
LMZ 2025 Code_raw file.do, line 459 merge m:1 companyid using "Data\merge2_step24.dta"
merge2_step5 ← merge2_step26 merge m:1 productreference keep if _merge == 3
LMZ 2025 Code_raw file.do:471
LMZ 2025 Code_raw file.do, line 471 merge m:1 productreference using "Data\merge2_step26.dta"

4 · The sample — 144 keep/drop steps, 0 variables winsorized or trimmed

Filters, by kind
time period ×12
  • keep if year >= 2014
    LMZ 2025 Code_raw file.do:693
    LMZ 2025 Code_raw file.do, line 693 keep if year >= 2014
  • keep if year >= 2012 & year <= 2018
    LMZ 2025 Code_raw file.do:857
    LMZ 2025 Code_raw file.do, line 857 keep if year >= 2012 & year <= 2018
  • keep if year >= 2013
    LMZ 2025 Code_raw file.do:871
    LMZ 2025 Code_raw file.do, line 871 keep if year >= 2013
  • keep if year == 2014 | year == 2015 | year == 2016 | year == 2017 | year == 2018
    LMZ 2025 Code_raw file.do:879
    LMZ 2025 Code_raw file.do, line 879 keep if year == 2014 | year == 2015 | year == 2016 | year == 2017 | year == 2018
  • drop if year == 2014
    LMZ 2025 Code_raw file.do:963
    LMZ 2025 Code_raw file.do, line 963 drop if year == 2014
  • keep if year == 2019
    LMZ 2025 Code_raw file.do:1248
    LMZ 2025 Code_raw file.do, line 1248 keep if year == 2019
  • drop if year == 2020
    LMZ 2025 Code_raw file.do:1352
    LMZ 2025 Code_raw file.do, line 1352 drop if year == 2020
  • keep if year < 2019
    LMZ 2025 Code_raw file.do:1383
    LMZ 2025 Code_raw file.do, line 1383 keep if year < 2019
  • first 8 of 12
value ranges ×9
  • drop if f7tass != f7sec
    LMZ 2025 Code_raw file.do:182
    LMZ 2025 Code_raw file.do, line 182 drop if f7tass != f7sec
  • drop if f7tass != f7sec
    LMZ 2025 Code_raw file.do:411
    LMZ 2025 Code_raw file.do, line 411 drop if f7tass != f7sec
  • drop if f7tass != f7sec
    LMZ 2025 Code_raw file.do:600
    LMZ 2025 Code_raw file.do, line 600 drop if f7tass != f7sec
  • drop if rateofreturn > 1
    LMZ 2025 Code_raw file.do:703
    LMZ 2025 Code_raw file.do, line 703 drop if rateofreturn > 1
  • drop if rateofreturn > 1
    LMZ 2025 Code_raw file.do:868
    LMZ 2025 Code_raw file.do, line 868 drop if rateofreturn > 1
  • keep if N>= 10
    LMZ 2025 Code_raw file.do:903
    LMZ 2025 Code_raw file.do, line 903 keep if N>= 10
  • drop if rateofreturn > 1 | rateofreturn < -1
    LMZ 2025 Code_raw file.do:1255
    LMZ 2025 Code_raw file.do, line 1255 drop if rateofreturn > 1 | rateofreturn < -1
  • drop if rateofreturn > 1
    LMZ 2025 Code_raw file.do:1539
    LMZ 2025 Code_raw file.do, line 1539 drop if rateofreturn > 1
  • first 8 of 9
category values ×23
  • keep if mainofficecountry == "United States"
    LMZ 2025 Code_raw file.do:10
    LMZ 2025 Code_raw file.do, line 10 keep if mainofficecountry == "United States"
  • drop if companyname == "N/A"
    LMZ 2025 Code_raw file.do:62
    LMZ 2025 Code_raw file.do, line 62 drop if companyname == "N/A"
  • keep if live_graveyard == "Live"
    LMZ 2025 Code_raw file.do:69
    LMZ 2025 Code_raw file.do, line 69 keep if live_graveyard == "Live"
  • keep if currencycode == "USD"
    LMZ 2025 Code_raw file.do:70
    LMZ 2025 Code_raw file.do, line 70 keep if currencycode == "USD"
  • drop if companyname == "N/A"
    LMZ 2025 Code_raw file.do:201
    LMZ 2025 Code_raw file.do, line 201 drop if companyname == "N/A"
  • drop if companytypeid == 3
    LMZ 2025 Code_raw file.do:202
    LMZ 2025 Code_raw file.do, line 202 drop if companytypeid == 3
  • drop if companyname == "N/A"
    LMZ 2025 Code_raw file.do:209
    LMZ 2025 Code_raw file.do, line 209 drop if companyname == "N/A"
  • drop if companytypeid == 3
    LMZ 2025 Code_raw file.do:210
    LMZ 2025 Code_raw file.do, line 210 drop if companytypeid == 3
  • first 8 of 23
indicator subsets ×15
  • keep if companytypeid == 1
    LMZ 2025 Code_raw file.do:61
    LMZ 2025 Code_raw file.do, line 61 keep if companytypeid == 1
  • keep if tag == 0
    LMZ 2025 Code_raw file.do:204
    LMZ 2025 Code_raw file.do, line 204 keep if tag == 0
  • drop if companytypeid == 1
    LMZ 2025 Code_raw file.do:205
    LMZ 2025 Code_raw file.do, line 205 drop if companytypeid == 1
  • drop if tag == 0
    LMZ 2025 Code_raw file.do:212
    LMZ 2025 Code_raw file.do, line 212 drop if tag == 0
  • keep if t == 1
    LMZ 2025 Code_raw file.do:215
    LMZ 2025 Code_raw file.do, line 215 keep if t == 1
  • drop if companytypeid == 1
    LMZ 2025 Code_raw file.do:216
    LMZ 2025 Code_raw file.do, line 216 drop if companytypeid == 1
  • drop if tag == 0
    LMZ 2025 Code_raw file.do:230
    LMZ 2025 Code_raw file.do, line 230 drop if tag == 0
  • drop if companytypeid == 1
    LMZ 2025 Code_raw file.do:237
    LMZ 2025 Code_raw file.do, line 237 drop if companytypeid == 1
  • first 8 of 15
geography ×1
  • keep if countryname == "United States"
    LMZ 2025 Code_raw file.do:63
    LMZ 2025 Code_raw file.do, line 63 keep if countryname == "United States"
row position (_n, first / last row) ×1
  • drop if n == 336
    LMZ 2025 Code_raw file.do:815
    LMZ 2025 Code_raw file.do, line 815 drop if n == 336 /*one fund has more than auditor, and keep the big-four auditor for this step*/
missing values ×29
  • drop if primarybusinessname == "" & legalname == ""
    LMZ 2025 Code_raw file.do:9
    LMZ 2025 Code_raw file.do, line 9 drop if primarybusinessname == "" & legalname == ""
  • keep if tass_statename == sec_mainofficestate| tass_statename == "" | sec_mainofficestate == ""
    LMZ 2025 Code_raw file.do:188
    LMZ 2025 Code_raw file.do, line 188 keep if tass_statename == sec_mainofficestate| tass_statename == "" | sec_mainofficestate == ""
  • drop if companyid == .
    LMZ 2025 Code_raw file.do:194
    LMZ 2025 Code_raw file.do, line 194 drop if companyid == .
  • drop if primarybusinessname == "" & legalname == ""
    LMZ 2025 Code_raw file.do:337
    LMZ 2025 Code_raw file.do, line 337 drop if primarybusinessname == "" & legalname == ""
  • keep if tass_countryname == sec_mainofficecountry | sec_mainofficecountry == ""
    LMZ 2025 Code_raw file.do:418
    LMZ 2025 Code_raw file.do, line 418 keep if tass_countryname == sec_mainofficecountry | sec_mainofficecountry == ""
  • drop if tass_countryname == "United States" & tass_statename != sec_mainofficestate & tass_statename != "" & sec_mainofficestate != ""
    LMZ 2025 Code_raw file.do:419
    LMZ 2025 Code_raw file.do, line 419 drop if tass_countryname == "United States" & tass_statename != sec_mainofficestate & tass_statename != "" & sec_mainofficestate != ""
  • drop if companyid == .
    LMZ 2025 Code_raw file.do:444
    LMZ 2025 Code_raw file.do, line 444 drop if companyid == .
  • keep if tass_countryname == sec_mainofficecountry | sec_mainofficecountry == "" | tass_countryname == "None"
    LMZ 2025 Code_raw file.do:606
    LMZ 2025 Code_raw file.do, line 606 keep if tass_countryname == sec_mainofficecountry | sec_mainofficecountry == "" | tass_countryname == "None"
  • first 8 of 29
drops after a merge (_merge) ×54
  • keep if _merge == 3
    LMZ 2025 Code_raw file.do:77
    LMZ 2025 Code_raw file.do, line 77 keep if _merge == 3
  • keep if _merge == 3
    LMZ 2025 Code_raw file.do:173
    LMZ 2025 Code_raw file.do, line 173 keep if _merge == 3
  • keep if _merge == 3
    LMZ 2025 Code_raw file.do:222
    LMZ 2025 Code_raw file.do, line 222 keep if _merge == 3
  • drop if _merge == 3
    LMZ 2025 Code_raw file.do:232
    LMZ 2025 Code_raw file.do, line 232 drop if _merge == 3
  • keep if _merge == 3
    LMZ 2025 Code_raw file.do:260
    LMZ 2025 Code_raw file.do, line 260 keep if _merge == 3
  • keep if _merge == 3
    LMZ 2025 Code_raw file.do:398
    LMZ 2025 Code_raw file.do, line 398 keep if _merge == 3
  • keep if _merge == 3
    LMZ 2025 Code_raw file.do:403
    LMZ 2025 Code_raw file.do, line 403 keep if _merge == 3
  • keep if _merge == 1
    LMZ 2025 Code_raw file.do:438
    LMZ 2025 Code_raw file.do, line 438 keep if _merge == 1
  • first 8 of 54
Outliers

No winsorizing or trimming recorded.

Missing values
set to zero ×34
  • difference → 0
    LMZ 2025 Code_raw file.do:46
    LMZ 2025 Code_raw file.do, line 46 replace difference = 0 if difference ==.
  • difference → 0
    LMZ 2025 Code_raw file.do:373
    LMZ 2025 Code_raw file.do, line 373 replace difference = 0 if difference ==.
  • december → 0
    LMZ 2025 Code_raw file.do:676
    LMZ 2025 Code_raw file.do, line 676 replace december = 0 if december == .
  • private → 0
    LMZ 2025 Code_raw file.do:678
    LMZ 2025 Code_raw file.do, line 678 replace private = 0 if private ==.
  • backfillbias → 0
    LMZ 2025 Code_raw file.do:691
    LMZ 2025 Code_raw file.do, line 691 replace backfillbias = 0 if backfillbias == .
  • largefamily → 0
    LMZ 2025 Code_raw file.do:751
    LMZ 2025 Code_raw file.do, line 751 replace largefamily = 0 if largefamily == .
dropped ×22
  • LMZ 2025 Code_main.do:75
    LMZ 2025 Code_main.do, line 75 drop if flow_new == .
  • LMZ 2025 Code_main.do:76
    LMZ 2025 Code_main.do, line 76 drop if logsize == .
  • LMZ 2025 Code_main.do:77
    LMZ 2025 Code_main.do, line 77 drop if inconsistent_risk1 == .
  • LMZ 2025 Code_main.do:78
    LMZ 2025 Code_main.do, line 78 drop if frank3 == .
  • LMZ 2025 Code_main.do:88
    LMZ 2025 Code_main.do, line 88 drop if `x' == .
  • LMZ 2025 Code_main.do:117
    LMZ 2025 Code_main.do, line 117 drop if lag_fr1 == .
filled with a value ×1
  • state → 12
    LMZ 2025 Code_raw file.do:780
    LMZ 2025 Code_raw file.do, line 780 replace state = 12 if state == .

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

Standard measures computed here: Big 4 Auditor (bigfour
LMZ 2025 Code_raw file.do:819
LMZ 2025 Code_raw file.do, line 819 gen bigfour = 1 if string5 == "Deloi" | string5 == "Ernst" | string5 == "KPMG " | string5 == "Price"
)
VariableUsed in models asBuilt by
excessfundrt outcome in 10
excessfundrt = rateofreturn - rf (gen)
LMZ 2025 Code_raw file.do:710
LMZ 2025 Code_raw file.do, line 710 gen excessfundrt = rateofreturn - rf
excessfundrt = rateofreturn - rf (gen)
LMZ 2025 Code_raw file.do:867
LMZ 2025 Code_raw file.do, line 867 gen excessfundrt = rateofreturn - rf
excessfundrt = rateofreturn - rf (gen)
LMZ 2025 Code_raw file.do:1281
LMZ 2025 Code_raw file.do, line 1281 gen excessfundrt = rateofreturn - rf
+1 more statements set it
flow_new outcome in 9
flow_new = [estimatedassets - (lag3a*rate_c)]/lag3a (gen)
LMZ 2025 Code_raw file.do:1441
LMZ 2025 Code_raw file.do, line 1441 by productreference: gen flow_new = [estimatedassets - (lag3a*rate_c)]/lag3a
flow_new = . (replace)
LMZ 2025 Code_main.do:70
LMZ 2025 Code_main.do, line 70 replace flow_new = . if flow_new >=0.5 | flow_new <= -0.5 /* to truncate extreme values */
performance4_7_percentage outcome in 9
performance4_7_percentage = performance4_7*100 (gen)
LMZ 2025 Code_raw file.do:887
LMZ 2025 Code_raw file.do, line 887 gen performance4_7_percentage = performance4_7*100
performance4_7 outcome in 3, regressor in 4
performance4_7 = excessfundrt - b_excesssprt * excesssprt - b_sc_lc * sc_lc - b_monthlychange * monthlychange - b_changeinspread * changeinspread - b_ptfsbd * ptfsbd - b_ptfsfx * ptfsfx - b_ptfscom * ptfscom (gen)
LMZ 2025 Code_raw file.do:737
LMZ 2025 Code_raw file.do, line 737 gen performance4_7 = excessfundrt - b_excesssprt * excesssprt - b_sc_lc * sc_lc - b_monthlychange * monthlychange - b_changeinspread * changeinspread - b_ptfsbd * ptfsbd - b_ptfsfx * ptfsfx - b_ptfscom * ptfscom
performance4_7 = excessfundrt - b_excesssprt * excesssprt - b_sc_lc * sc_lc - b_monthlychange * monthlychange - b_changeinspread * changeinspread - b_ptfsbd * ptfsbd - b_ptfsfx * ptfsfx - b_ptfscom * ptfscom (gen)
LMZ 2025 Code_raw file.do:876
LMZ 2025 Code_raw file.do, line 876 gen performance4_7 = excessfundrt - b_excesssprt * excesssprt - b_sc_lc * sc_lc - b_monthlychange * monthlychange - b_changeinspread * changeinspread - b_ptfsbd * ptfsbd - b_ptfsfx * ptfsfx - b_ptfscom * ptfscom
performance4_7 = excessfundrt - b_excesssprt * excesssprt - b_sc_lc * sc_lc - b_monthlychange * monthlychange - b_changeinspread * changeinspread - b_ptfsbd * ptfsbd - b_ptfsfx * ptfsfx - b_ptfscom * ptfscom (gen)
LMZ 2025 Code_raw file.do:1310
LMZ 2025 Code_raw file.do, line 1310 gen performance4_7 = excessfundrt - b_excesssprt * excesssprt - b_sc_lc * sc_lc - b_monthlychange * monthlychange - b_changeinspread * changeinspread - b_ptfsbd * ptfsbd - b_ptfsfx * ptfsfx - b_ptfscom * ptfscom
+1 more statements set it
f4_d1 outcome in 3
f4_d1 = f4.d1 (gen)
LMZ 2025 Code_main.do:703
LMZ 2025 Code_main.do, line 703 gen f4_d1 = f4.d1
tailrisk_4d1 outcome in 3
tailrisk_4d1 = (f.d1 == 1 | f2.d1 == 1 | f3.d1 ==1 | f4.d1==1) (gen)
LMZ 2025 Code_main.do:702
LMZ 2025 Code_main.do, line 702 gen tailrisk_4d1 = (f.d1 == 1 | f2.d1 == 1 | f3.d1 ==1 | f4.d1==1)
alive outcome in 1
alive = 1 - dead (gen)
LMZ 2025 Code_main.do:762
LMZ 2025 Code_main.do, line 762 gen alive = 1 - dead
alive2 outcome in 1
alive2 = 1 - dead2 (gen)
LMZ 2025 Code_main.do:763
LMZ 2025 Code_main.do, line 763 gen alive2 = 1 - dead2
alive3 outcome in 1
alive3 = 1 - dead3 (gen)
LMZ 2025 Code_main.do:764
LMZ 2025 Code_main.do, line 764 gen alive3 = 1 - dead3
alive4 outcome in 1
alive4 = 1- dead4 (gen)
LMZ 2025 Code_main.do:765
LMZ 2025 Code_main.do, line 765 gen alive4 = 1- dead4
pctgreturn outcome in 1
pctgreturn = rateofreturn * 100 (gen)
LMZ 2025 Code_raw file.do:899
LMZ 2025 Code_raw file.do, line 899 gen pctgreturn = rateofreturn * 100
logsize regressor in 34
logsize = ln(estimatedassets) (gen)
LMZ 2025 Code_raw file.do:752
LMZ 2025 Code_raw file.do, line 752 gen logsize = ln(estimatedassets)
logsize = log(lag3a) (gen)
LMZ 2025 Code_main.do:71
LMZ 2025 Code_main.do, line 71 gen logsize = log(lag3a)
logsize = ln(size) (gen)
LMZ 2025 Code_main.do:156
LMZ 2025 Code_main.do, line 156 gen logsize = ln(size)
+4 more statements set it
problem_fund regressor in 34
problem_fund = any_full (gen)
LMZ 2025 Code_raw file.do:1185
LMZ 2025 Code_raw file.do, line 1185 gen problem_fund = any_full
problem_fund = any_full (gen)
LMZ 2025 Code_main.do:68
LMZ 2025 Code_main.do, line 68 gen problem_fund = any_full
problem_fund = any_full (gen)
LMZ 2025 Code_main.do:154
LMZ 2025 Code_main.do, line 154 gen problem_fund = any_full
+2 more statements set it
inconsistent_any regressor in 25
inconsistent_any = anynondisasif_full (gen)
LMZ 2025 Code_raw file.do:1186
LMZ 2025 Code_raw file.do, line 1186 gen inconsistent_any = anynondisasif_full
inconsistent_any = anynondisasif_full (gen)
LMZ 2025 Code_main.do:63
LMZ 2025 Code_main.do, line 63 gen inconsistent_any = anynondisasif_full
inconsistent_any = anynondisasif_full (gen)
LMZ 2025 Code_main.do:153
LMZ 2025 Code_main.do, line 153 gen inconsistent_any = anynondisasif_full
+2 more statements set it
largefamily regressor in 25
largefamily = 1 (gen)
LMZ 2025 Code_raw file.do:750
LMZ 2025 Code_raw file.do, line 750 gen largefamily = 1 if numberoffunds > 10
largefamily = 1 (gen)
LMZ 2025 Code_raw file.do:1590
LMZ 2025 Code_raw file.do, line 1590 gen largefamily = 1 if numberoffunds > 10
largefamily = 0 (replace)
LMZ 2025 Code_raw file.do:751
LMZ 2025 Code_raw file.do, line 751 replace largefamily = 0 if largefamily == .
+1 more statements set it

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

Estimations not traced to a table or figure · 45
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
rangestat
rolling regression
excessfundrt excess_crsp — default
LMZ 2025 Code_raw file.do:725
LMZ 2025 Code_raw file.do, line 725 rangestat (reg) excessfundrt excess_crsp, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt mktrf smb hml umd — default
LMZ 2025 Code_raw file.do:730
LMZ 2025 Code_raw file.do, line 730 rangestat (reg) excessfundrt mktrf smb hml umd, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom — default
LMZ 2025 Code_raw file.do:735
LMZ 2025 Code_raw file.do, line 735 rangestat (reg) excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom — default
LMZ 2025 Code_raw file.do:874
LMZ 2025 Code_raw file.do, line 874 rangestat (reg) excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom, by(productreference) interval(yearmonth -24 -1)
reg
ols
pctgreturn lag_pctreturn — default
LMZ 2025 Code_raw file.do:907
LMZ 2025 Code_raw file.do, line 907 statsby _b, by(productreference) clear: reg pctgreturn lag_pctreturn
reghdfe
panel fe
performance4_7_percentage inconsistent_any problem_fund logsize largefamily style_month cluster: companyid
LMZ 2025 Code_raw file.do:1212
LMZ 2025 Code_raw file.do, line 1212 eststo sample: reghdfe performance4_7_percentage inconsistent_any problem_fund logsize largefamily , absorb(style_month) cluster(companyid )
rangestat
rolling regression
excessfundrt excess_crsp — default
LMZ 2025 Code_raw file.do:1295
LMZ 2025 Code_raw file.do, line 1295 rangestat (reg) excessfundrt excess_crsp, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt mktrf smb hml umd — default
LMZ 2025 Code_raw file.do:1301
LMZ 2025 Code_raw file.do, line 1301 rangestat (reg) excessfundrt mktrf smb hml umd, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom — default
LMZ 2025 Code_raw file.do:1307
LMZ 2025 Code_raw file.do, line 1307 rangestat (reg) excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt excess_crsp — default
LMZ 2025 Code_raw file.do:1558
LMZ 2025 Code_raw file.do, line 1558 rangestat (reg) excessfundrt excess_crsp, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt mktrf smb hml umd — default
LMZ 2025 Code_raw file.do:1564
LMZ 2025 Code_raw file.do, line 1564 rangestat (reg) excessfundrt mktrf smb hml umd, by(productreference) interval(yearmonth -24 -1)
rangestat
rolling regression
excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom — default
LMZ 2025 Code_raw file.do:1570
LMZ 2025 Code_raw file.do, line 1570 rangestat (reg) excessfundrt excesssprt sc_lc monthlychange changeinspread ptfsbd ptfsfx ptfscom, by(productreference) interval(yearmonth -24 -1)
reghdfe
panel fe
flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_flow +11 more style_qtr cluster: companyid
LMZ 2025 Code_main.do:120
LMZ 2025 Code_main.do, line 120 eststo G1: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 /// i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 $ … as we read it (macros filled in / loop expanded): eststo G1: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_flow stdev …
reghdfe
panel fe
performance4_7 inconsistent_any problem_fund logsize largefamily performance4_7_past_avg style_month cluster: companyid
LMZ 2025 Code_main.do:214
LMZ 2025 Code_main.do, line 214 eststo sample: reghdfe performance4_7 inconsistent_any problem_fund logsize largefamily performance4_7_past_avg, absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7 inconsistent_any problem_fund logsize largefamily style_month cluster: companyid
LMZ 2025 Code_main.do:256
LMZ 2025 Code_main.do, line 256 eststo sample: reghdfe performance4_7 inconsistent_any problem_fund logsize largefamily , absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7 i(1).inconsistent_any#i.year problem_fund logsize largefamily style_month cluster: companyid
LMZ 2025 Code_main.do:308
LMZ 2025 Code_main.do, line 308 eststo R3_year: reghdfe performance4_7 i(1).inconsistent_any#i.year problem_fund $controls if year > 2014, absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo R3_year: reghdfe performance4_7 i(1).inconsistent_any#i.year problem_fund logsize largefamily if year > 2014, absorb(style_month) cluster(companyid)
reghdfe
panel fe
flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_flow +11 more style_qtr cluster: companyid
LMZ 2025 Code_main.do:324
LMZ 2025 Code_main.do, line 324 eststo G1: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 /// i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 $ … as we read it (macros filled in / loop expanded): eststo G1: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_flow stdev …
reghdfe
panel fe
flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_fr1 +20 more style_qtr cluster: companyid
LMZ 2025 Code_main.do:334
LMZ 2025 Code_main.do, line 334 eststo G2: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 /// i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 /// i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_a …
xtfmb
fama macbeth
flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 +18 more — default
LMZ 2025 Code_main.do:349
LMZ 2025 Code_main.do, line 349 qui: eststo G1_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 /// lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_fr … as we read it (macros filled in / loop expanded): qui: eststo G1_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_fr2 lag_in …
xtfmb
fama macbeth
flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 +18 more — default
LMZ 2025 Code_main.do:372
LMZ 2025 Code_main.do, line 372 qui: eststo G2_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 /// lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_fr … as we read it (macros filled in / loop expanded): qui: eststo G2_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_fr2 lag_in …
reghdfe
panel fe
flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_flow +11 more style_qtr cluster: companyid
LMZ 2025 Code_main.do:402
LMZ 2025 Code_main.do, line 402 eststo G1b: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 /// i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 … as we read it (macros filled in / loop expanded): eststo G1b: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_flow stde …
reghdfe
panel fe
flow_new problem_fund inconsistent_any fr1 fr2 fr3 i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_any#c.fr3 lag_fr1 +20 more style_qtr cluster: companyid
LMZ 2025 Code_main.do:411
LMZ 2025 Code_main.do, line 411 eststo G2b: reghdfe flow_new problem_fund inconsistent_any fr1 fr2 fr3 /// i(1).problem_fund#c.fr1 i(1).problem_fund#c.fr2 i(1).problem_fund#c.fr3 /// i(1).inconsistent_any#c.fr1 i(1).inconsistent_any#c.fr2 i(1).inconsistent_ …
xtfmb
fama macbeth
flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 +18 more — default
LMZ 2025 Code_main.do:427
LMZ 2025 Code_main.do, line 427 qui: eststo G1b_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 /// lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_f … as we read it (macros filled in / loop expanded): qui: eststo G1b_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_fr2 lag_i …
xtfmb
fama macbeth
flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 +18 more — default
LMZ 2025 Code_main.do:454
LMZ 2025 Code_main.do, line 454 qui: eststo G2b_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 /// lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_f … as we read it (macros filled in / loop expanded): qui: eststo G2b_fmb: xtfmb flow_new problem_fund inconsistent_any fr1 fr2 fr3 problem_fr1 problem_fr2 problem_fr3 inconsis_fr1 inconsis_fr2 inconsis_fr3 lag_problem_fr1 lag_problem_fr2 lag_problem_fr3 lag_inconsis_fr1 lag_inconsis_fr2 lag_i …
reghdfe
panel fe
`y' inconsistent_any problem_fund logsize largefamily style robust
LMZ 2025 Code_main.do:485
LMZ 2025 Code_main.do, line 485 qui: eststo `y'_3: reghdfe `y' inconsistent_any problem_fund logsize largefamily , absorb(style) vce(robust)
run 5× in a loop (y=leverage; y=maxleverage; y=avgleverage…)
reg
ols
`y' inconsistent_any problem_fund logsize largefamily style1-style11 — robust
LMZ 2025 Code_main.do:534
LMZ 2025 Code_main.do, line 534 qui: eststo `y'_3: reg `y' inconsistent_any problem_fund logsize largefamily style1-style11, vce(robust)
run 8× in a loop (y=num_do; y=num_ido; y=num_co…)
reghdfe
panel fe
performance4_7_percentage inconsistent_risk problem_fund logsize largefamily style_month cluster: companyid
LMZ 2025 Code_main.do:561
LMZ 2025 Code_main.do, line 561 eststo Risk: reghdfe performance4_7_percentage inconsistent_risk problem_fund $controls, absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo Risk: reghdfe performance4_7_percentage inconsistent_risk problem_fund logsize largefamily, absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7_percentage inconsistent_coi problem_fund logsize largefamily style_month cluster: companyid
LMZ 2025 Code_main.do:566
LMZ 2025 Code_main.do, line 566 eststo COI: reghdfe performance4_7_percentage inconsistent_coi problem_fund $controls, absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo COI: reghdfe performance4_7_percentage inconsistent_coi problem_fund logsize largefamily, absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7_percentage inconsistent_history problem_fund logsize largefamily style_month cluster: companyid
LMZ 2025 Code_main.do:571
LMZ 2025 Code_main.do, line 571 eststo DH: reghdfe performance4_7_percentage inconsistent_history problem_fund $controls, absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo DH: reghdfe performance4_7_percentage inconsistent_history problem_fund logsize largefamily, absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7_percentage problem_fund logsize largefamily q5_i style_month cluster: companyid
LMZ 2025 Code_main.do:577
LMZ 2025 Code_main.do, line 577 eststo q5: reghdfe performance4_7_percentage problem_fund $controls q5_i, absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo q5: reghdfe performance4_7_percentage problem_fund logsize largefamily q5_i, absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7_percentage problem_fund logsize largefamily q6_i style_month cluster: companyid
LMZ 2025 Code_main.do:583
LMZ 2025 Code_main.do, line 583 eststo q6: reghdfe performance4_7_percentage problem_fund $controls q6_i , absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo q6: reghdfe performance4_7_percentage problem_fund logsize largefamily q6_i , absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7_percentage problem_fund logsize largefamily q7_i style_month cluster: companyid
LMZ 2025 Code_main.do:589
LMZ 2025 Code_main.do, line 589 eststo q7: reghdfe performance4_7_percentage problem_fund $controls q7_i , absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo q7: reghdfe performance4_7_percentage problem_fund logsize largefamily q7_i , absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7_percentage problem_fund logsize largefamily q9_i style_month cluster: companyid
LMZ 2025 Code_main.do:595
LMZ 2025 Code_main.do, line 595 eststo q8: reghdfe performance4_7_percentage problem_fund $controls q9_i , absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo q8: reghdfe performance4_7_percentage problem_fund logsize largefamily q9_i , absorb(style_month) cluster(companyid)
reghdfe
panel fe
performance4_7_percentage problem_fund logsize largefamily inconsistent_risk inconsistent_coi inconsistent_history q5_i q6_i q7_i q9_i style_month cluster: companyid
LMZ 2025 Code_main.do:600
LMZ 2025 Code_main.do, line 600 eststo all: reghdfe performance4_7_percentage problem_fund $controls inconsistent_risk inconsistent_coi inconsistent_history q5_i q6_i q7_i q9_i , absorb($fe2) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo all: reghdfe performance4_7_percentage problem_fund logsize largefamily inconsistent_risk inconsistent_coi inconsistent_history q5_i q6_i q7_i q9_i , absorb(style_month) cluster(companyid)
reg
ols
`y' inconsistent_any problem_fund logsize largefamily style1-style11 — robust
LMZ 2025 Code_main.do:642
LMZ 2025 Code_main.do, line 642 qui: eststo `y'_3: reg `y' inconsistent_any problem_fund logsize largefamily style1-style11, vce(robust)
run 8× in a loop (y=pct_finterms_negative; y=pct_finterms_positive; y=pct_finterms_uncertainty…)
reghdfe
panel fe
tailrisk_4d1 inconsistent_any problem_fund decile logsize largefamily style_qtr cluster: companyid
LMZ 2025 Code_main.do:709
LMZ 2025 Code_main.do, line 709 eststo seq1: reghdfe `dep' inconsistent_any problem_fund decile $controls2, abs(style_qtr) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo seq1: reghdfe tailrisk_4d1 inconsistent_any problem_fund decile logsize largefamily, abs(style_qtr) cluster(companyid)
reghdfe
panel fe
tailrisk_4d1 inconsistent_any problem_fund decile logsize largefamily style_qtr cluster: companyid
LMZ 2025 Code_main.do:712
LMZ 2025 Code_main.do, line 712 eststo seq2: reghdfe `dep' inconsistent_any problem_fund decile $controls2 if decile > 1, abs(style_qtr) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo seq2: reghdfe tailrisk_4d1 inconsistent_any problem_fund decile logsize largefamily if decile > 1, abs(style_qtr) cluster(companyid)
reghdfe
panel fe
tailrisk_4d1 inconsistent_any problem_fund decile logsize largefamily style_qtr cluster: companyid
LMZ 2025 Code_main.do:715
LMZ 2025 Code_main.do, line 715 eststo seq3: reghdfe `dep' inconsistent_any problem_fund decile $controls2 if decile > 2, abs(style_qtr) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo seq3: reghdfe tailrisk_4d1 inconsistent_any problem_fund decile logsize largefamily if decile > 2, abs(style_qtr) cluster(companyid)
reghdfe
panel fe
f4_d1 inconsistent_any problem_fund decile logsize largefamily style_qtr cluster: companyid
LMZ 2025 Code_main.do:720
LMZ 2025 Code_main.do, line 720 eststo seq4: reghdfe `dep' inconsistent_any problem_fund decile $controls2 , abs(style_qtr) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo seq4: reghdfe f4_d1 inconsistent_any problem_fund decile logsize largefamily , abs(style_qtr) cluster(companyid)
reghdfe
panel fe
f4_d1 inconsistent_any problem_fund decile logsize largefamily style_qtr cluster: companyid
LMZ 2025 Code_main.do:723
LMZ 2025 Code_main.do, line 723 eststo seq5: reghdfe `dep' inconsistent_any problem_fund decile $controls2 if decile > 1, abs(style_qtr) cluster($clustervar) as we read it (macros filled in / loop expanded): eststo seq5: reghdfe f4_d1 inconsistent_any problem_fund decile logsize largefamily if decile > 1, abs(style_qtr) cluster(companyid)
Tables and figures the code writes:

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

coefficient plot 1
commandlayersvariables optionssaved aswhere
coefplot
coefficient plot
coefplot estimates R3_year xtitle Year · ytitle Alpha (%) · yline 0 · ci coefplot default · vertical yes not saved
LMZ 2025 Code_main.do:310
LMZ 2025 Code_main.do, line 310 coefplot R3_year, baselevels drop(problem_fund $controls _cons) vertical yline(0) name(year_alpha, replace) /// xlabel(1 "2015" 2 "2016" 3 "2017" 4 "2018") ylabel(, angle(horizontal)) /// xsize(5.5) ysize(3) / …
–315