Panel fixed effects (no quasi-experimental design found)
This design across fields
| Field | packages | main clustering (of those that cluster) | winsorize / trim | checks |
|---|---|---|---|---|
| All fields | 2634 | author-named unit 37%; unspecified id (id, i, group...) 9%; firm 6%; county / city / district 5% (n=2056) | 26% | Oster 1%; multiple-testing correction 3% |
| Finance | 556 | author-named unit 22%; firm 12%; two-way: firm + time 6%; county / city / district 6% (n=509) | 48% | Oster 0%; multiple-testing correction 2% |
| Accounting | 86 | author-named unit 28%; firm 22%; two-way: firm + time 8%; industry 7% (n=76) | 76% | Oster 0%; multiple-testing correction 0% |
| Economics | 1976 | author-named unit 43%; unspecified id (id, i, group...) 11%; county / city / district 5%; state / province 5% (n=1460) | 17% | Oster 1%; multiple-testing correction 4% |
| Other fields | 16 | unspecified id (id, i, group...) 27%; author-named unit 18%; country 18%; firm 9% (n=11) | 25% | Oster 0%; multiple-testing correction 6% |
The typical package, and three that differ
Typical = the package that makes the most of this cell's modal choices
(reghdfe, clustered by firm, time fixed effects,
no winsorizing, drops missing rows) —
it matches 5 of 6. Each contrast takes the second most common choice on one dimension.
- commands
areg,reghdfe- clusters by
- firm
- fixed effects
- firm + time
- outliers
- no winsorizing / trimming found
- missing values
- replace missing with another value (imputation); drop rows with missing values
- screens
- NYSE / AMEX / Nasdaq only (exchcd 1-3); common shares only (shrcd 10/11)
- sample years
- 2012–… (as on the package page)
- checks
- none of the design's checks found
- commands
reghdfe- clusters by
- two-way: firm + time
- fixed effects
- time; industry + time
- outliers
- winsorize 1/99 by group
- missing values
- drop rows with missing values; interpolate missing values
- screens
- exclude financials; exclude utilities; low-price stocks dropped (price < $1-$10); NYSE / AMEX only (exchcd 1-2)
- sample years
- 1994–… (as on the package page)
- checks
- none of the design's checks found
- commands
reghdfe- clusters by
- firm
- fixed effects
- firm + time; time; firm + author-named unit + time
- outliers
- no winsorizing / trimming found
- missing values
- drop rows with missing values; replace missing with zero (imputation)
- checks
- none of the design's checks found
- commands
areg- clusters by
- firm
- fixed effects
- time
- outliers
- no winsorizing / trimming found
- missing values
- —
- sample years
- 1993–2002 (as on the package page)
- checks
- none of the design's checks found
Sample screens
-
exclude financials5% · 26
4 examples in the code
- Corporate Loan Spreads and Economic Activity
Review of Financial Studies 2025 · pkg 182
filter(!sic %in% c(6000:6999)) %>%
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
drop if sic>=6000 & sic<7000
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
drop if sic >= 6000 & sic <= 6999
- Public Firm Borrowers of the U.S. Paycheck Protection Program
Review of Corporate Finance Studies 2021 · pkg 7258
drop if naics2=="52"
- Corporate Loan Spreads and Economic Activity
Review of Financial Studies 2025 · pkg 182
-
common shares only (shrcd 10/11)4% · 21
4 examples in the code
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
keep if inlist(exchcd,1,2,3) & inlist(shrcd,10,11)
- Active Mutual Fund Common Owners’ Returns and Proxy Voting Behavior
Journal of Financial and Quantitative Analysis 2026 · pkg 14119
filter(SHRCD %in% c(10,11) & EXCHCD %in% c(1,2,3) ) %>%
- Corporate responses to stock price fragility
Journal of Financial Economics 2024 · pkg 15585
keep if (shrcd == 10) | (shrcd == 11)
- Labor‐Technology Substitution: Implications for Asset Pricing
The Journal of Finance 2019 · pkg 15679
qui keep if shrcd == 10 | shrcd == 11
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
-
NYSE / AMEX / Nasdaq only (exchcd 1-3)2% · 13
4 examples in the code
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
keep if inlist(exchcd,1,2,3) & inlist(shrcd,10,11)
- Active Mutual Fund Common Owners’ Returns and Proxy Voting Behavior
Journal of Financial and Quantitative Analysis 2026 · pkg 14119
filter(SHRCD %in% c(10,11) & EXCHCD %in% c(1,2,3) ) %>%
- Labor‐Technology Substitution: Implications for Asset Pricing
The Journal of Finance 2019 · pkg 15679
qui keep if exchcd == 1 | exchcd == 2 | exchcd == 3
- The Globalization Risk Premium
The Journal of Finance 2019 · pkg 15688
keep if exchcd==1|exchcd==2|exchcd==3
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
-
exclude utilities2% · 13
4 examples in the code
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
drop if sic>=4900 & sic<5000
- Decoding Momentum Spillover Effects
Journal of Financial and Quantitative Analysis 2026 · pkg 14153
rets_rep = rets_rep[(rets_rep.siccd<4900)|(rets_rep.siccd>4999)]
- Corporate responses to stock price fragility
Journal of Financial Economics 2024 · pkg 15585
drop if sic >= 4900 & sic <= 4999
- Cash Heterogeneity and the Payout Channel of Monetary Policy
The Journal of Finance 2026 · pkg 15637
stock.fund.filt=stock.fund.filt%>%filter(sic<4900|sic>4999)
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
-
low-price stocks dropped (price < $1-$10)1% · 7
4 examples in the code
- What Drives Momentum and Reversal? Evidence from Day and Night Signals
Review of Financial Studies 2026 · pkg 273
drop if lprc<5
- Star Firms, Information Spillovers, and Predictable Industry-Level Outcomes
Journal of Financial and Quantitative Analysis 2026 · pkg 14137
drop if price < 1
- Decoding Momentum Spillover Effects
Journal of Financial and Quantitative Analysis 2026 · pkg 14153
drop if price < 5
- Detecting Informed Trading Risk from Undercutting Activity
The Journal of Finance 2026 · pkg 15631
keep if prc>=5
- What Drives Momentum and Reversal? Evidence from Day and Night Signals
Review of Financial Studies 2026 · pkg 273
-
exclude public administration / unclassified1% · 5
4 examples in the code
- The Employment Effects of Faster Payment: Evidence from the Federal Quickpay Reform
The Journal of Finance 2020 · pkg 15639
drop if naics2=="92"
- Rents and Intangible Capital: A Q+ Framework
The Journal of Finance 2023 · pkg 15911
drop if sic_2d >= 90 & sic_2d <= 99
- Investor demand, firm investment, and capital misallocation
Journal of Financial Economics 2025 · pkg 96759
drop if sic2<=99 & sic2>=90
- Asset life, leverage, and debt maturity matching
Journal of Financial Economics 2024 · pkg 113129
drop if sic>=9000
- The Employment Effects of Faster Payment: Evidence from the Federal Quickpay Reform
The Journal of Finance 2020 · pkg 15639
-
NYSE / AMEX only (exchcd 1-2)1% · 3
3 examples in the code
- Decoding Momentum Spillover Effects
Journal of Financial and Quantitative Analysis 2026 · pkg 14153
data = data[data.exchcd <= 2] # Filter 4: Whether to drop NASDAQ stocks
- The Globalization Risk Premium
The Journal of Finance 2019 · pkg 15688
keep if exchcd==1|exchcd==2
- The Causal Effect of Limits to Arbitrage on Asset Pricing Anomalies
The Journal of Finance 2020 · pkg 15749
keep if exchcd>=1 & exchcd<=2
- Decoding Momentum Spillover Effects
Journal of Financial and Quantitative Analysis 2026 · pkg 14153
-
exclude financials + utilities1% · 3
3 examples in the code
- Labor‐Technology Substitution: Implications for Asset Pricing
The Journal of Finance 2019 · pkg 15679
drop if (sic >= 4900 & sic <= 4999) | (sic >= 6000 & sic <= 6999)
- Inalienable Customer Capital, Corporate Liquidity, and Stock Returns
The Journal of Finance 2021 · pkg 16149
drop if (sic >= 4900 & sic <= 4999) | (sic >= 6000 & sic <= 6999)
- Machine Forecast Disagreement
Review of Financial Studies 2026 · pkg 130571
usa_data = usa_data[(usa_data.SIC1 != '6') & (usa_data.SIC2 != '49')]
- Labor‐Technology Substitution: Implications for Asset Pricing
The Journal of Finance 2019 · pkg 15679
-
keep only manufacturing0% · 2
2 examples in the code
- The Globalization Risk Premium
The Journal of Finance 2019 · pkg 15688
keep if sic>=2000 & sic<4000
- Automation and the displacement of labor by capital: Asset pricing theory and empirical ev
Journal of Financial Economics 2023 · pkg 80967
indexing_temp = CCM_annual_v[(CCM_annual_v['sic']>=2000)&(CCM_annual_v['sic']<4000)].index
- The Globalization Risk Premium
The Journal of Finance 2019 · pkg 15688
-
NYSE / AMEX / Nasdaq / Arca only (exchcd 1-4)0% · 1
1 example in the code
- Social media as a bank run catalyst
Journal of Financial Economics 2026 · pkg 113827
filter(yyyy == 2022, SHRCD %in% c(10, 11, 12), EXCHCD %in% c(1,2,3,4)) |>
- Social media as a bank run catalyst
Journal of Financial Economics 2026 · pkg 113827
-
exclude manufacturing0% · 1
1 example in the code
- Automation and the displacement of labor by capital: Asset pricing theory and empirical ev
Journal of Financial Economics 2023 · pkg 80967
index = sic_df[(sic_df['SIC_3']<200)|(sic_df['SIC_3']>=400)].index
- Automation and the displacement of labor by capital: Asset pricing theory and empirical ev
Journal of Financial Economics 2023 · pkg 80967
-
keep only financials0% · 1
1 example in the code
- Automation and the displacement of labor by capital: Asset pricing theory and empirical ev
Journal of Financial Economics 2023 · pkg 80967
index = CRSP_monthly[(CRSP_monthly['SICCD']>=6000)&(CRSP_monthly['SICCD']<=6799)].index #find financials
- Automation and the displacement of labor by capital: Asset pricing theory and empirical ev
Journal of Financial Economics 2023 · pkg 80967
Share of 556 packages in the cell. Greyed: fewer than 10 packages.
Industry screens are read into whole SIC/NAICS sectors (Samples page); CRSP screens are share codes 10/11, exchange codes 1–3 and a price cut of $10 or less in a package that reads CRSP / Compustat / TAQ.
Outliers
266 of 556 packages (48%) winsorize or trim something: 258 winsorize, 22 trim, 50 by group (e.g. by year).
-
winsorize 1/9965% · 172
4 examples in the code
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
winsor underpricing, p(0.01) gen(under_winsor)
- The Cost of Bank Regulatory Capital
Review of Financial Studies 2024 · pkg 66
winsor `var', gen(`var'W) p(0.01);
- Financial Advisors and Investors’ Bias
Review of Financial Studies 2025 · pkg 111
replace perc_netflow_month_win = r(p99) if perc_netflow_month_win>r(p99)
- Inflation and Individual Investors’ Behavior: Evidence from the German Hyperinflation
Review of Financial Studies 2023 · pkg 119
winsor Inflation, gen(tmp) p(0.01)
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
-
winsorize 5/9514% · 37
4 examples in the code
- How Has COVID-19 Impacted Research Production in Economics and Finance?
Review of Financial Studies 2023 · pkg 69
winsor cites, p(.05) generate(cites_w)
- What Problem Do Intermediaries Solve? Evidence From Real Estate Markets
Review of Financial Studies 2026 · pkg 134
winsor sq_ft, generate(w_sq_ft) p(0.05)
- Corporate Loan Spreads and Economic Activity
Review of Financial Studies 2025 · pkg 182
mutate(ppegt_w = Winsorize(ppegt, na.rm = T, probs = c(0.05,0.95)))
- Build or Buy? Human Capital and Corporate Diversification
Review of Financial Studies 2025 · pkg 197
replace `x' = `r(p95)' if `x' > `r(p95)'
- How Has COVID-19 Impacted Research Production in Economics and Finance?
Review of Financial Studies 2023 · pkg 69
-
winsorize 1/99 by group12% · 33
4 examples in the code
- Competition for Attention in the ETF Space
Review of Financial Studies 2023 · pkg 110
winsor2 flows, by(year) cut(1 99) replace
- Gender Stereotypes and Entrepreneur Financing
Review of Financial Studies 2026 · pkg 171
winsor2 roa roe, replace cuts(1 99) by(Y)
- What Drives Momentum and Reversal? Evidence from Day and Night Signals
Review of Financial Studies 2026 · pkg 273
qui: winsor2 month_ret_lev, c(1 99) by(month) replace
- Blood in the water: The value of antitakeover provisions during market shocks
Journal of Financial Economics 2022 · pkg 12445
%WT(data = sample1, out=sample1, byvar=qobs, vars = rmba mbhp, type = W, pctl = 1 99, drop=N);
- Competition for Attention in the ETF Space
Review of Financial Studies 2023 · pkg 110
-
winsorize 0.5/99.57% · 19
4 examples in the code
- The True Colors of Money: Racial Representation and Asset Management
Review of Financial Studies 2026 · pkg 603
dt.firm.incl[,mv:=winsor(mv,0.005),by=time]
- Asset Prices When Investors Underestimate Discount Rate Dynamics
Review of Asset Pricing Studies 2026 · pkg 7236
merged_qtrly_dt[, paste0(winsorize_vars) := lapply(.SD, function(x){Winsorize(x, probs = c(0.005, 0.995), … - Retail option traders and the implied volatility surface
Journal of Financial Economics 2026 · pkg 14270
df2['NetRtlDvol'] = df2['NetRtlDvol'].clip(upper=q99net, lower=q1net)
- Paying Too Much? Borrower Sophistication and Overpayment in the U.S. Mortgage Market
The Journal of Finance 2026 · pkg 15598
winsor `x', gen(`x'_w) p(0.005)
- The True Colors of Money: Racial Representation and Asset Management
Review of Financial Studies 2026 · pkg 603
-
winsorize 2.5/97.57% · 19
4 examples in the code
- The Effect of Primary Dealer Constraints on Intermediation in the Treasury Market
Review of Financial Studies 2026 · pkg 282
winsor2 D_log_max_limit if $period & D_log_max_limit !=0, cuts(2.5 97.5)
- Do Security Analysts Discipline Credit Rating Agencies?
Review of Corporate Finance Studies 2022 · pkg 7278
winsor roe,gen(wroe3) p(0.025)
- Expansionary yet different: Credit supply and real effects of negative interest rate polic
Journal of Financial Economics 2022 · pkg 14161
winsor2 d_`x', cuts(2.5 97.5) replace
- Losing Control? The Two-Decade Decline in Loan Covenant Violations
The Journal of Finance 2026 · pkg 15603
winsor2 `v' lag1_`v' lag2_`v' lag3_`v' lag4_`v' lag5_`v' lag6_`v' lag7_`v' lag8_`v' lag9_`v' lag10_`v' lag11_`v', replace cuts(2.5 97.5)
- The Effect of Primary Dealer Constraints on Intermediation in the Treasury Market
Review of Financial Studies 2026 · pkg 282
-
winsorize none/996% · 15
4 examples in the code
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
winsor2 children, cuts(0 99) replace
- Product Innovation and Credit Market Disruptions
Review of Financial Studies 2023 · pkg 129
winsor2 `var' laglnrev hhi_product_it lagavrev, replace cuts(0 99)
- Credit Building or Credit Crumbling? A Credit Builder Loan's Effects on Consumer Behavior
Review of Financial Studies 2023 · pkg 181
winsor `var', p(0.05) highonly gen(`var'95)
- Build or Buy? Human Capital and Corporate Diversification
Review of Financial Studies 2025 · pkg 197
winsor2 log_sales, replace cuts(0 99) // Winsorize log_sales at 0 and 99 percentiles
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
-
trim 1/994% · 10
4 examples in the code
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
winsor2 net_rent, cuts(1 99) trim replace
- Size Discount and Size Penalty: Trading Costs in Bond Markets
Review of Financial Studies 2024 · pkg 163
winsor2 yy, replace cuts(1 99) trim
- Financial constraints, cash flow timing patterns, and asset prices
Journal of Financial Economics 2024 · pkg 12477
winsor2 year_exret ycc, replace cut(1 99) trim
- The Globalization Risk Premium
The Journal of Finance 2019 · pkg 15688
winsor2 fe, trim replace
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
-
winsorize, cut not stored: the call could not be read4% · 10
4 examples in the code
- Maximal extractable value and allocative inefficiencies in public blockchains
Journal of Financial Economics 2025 · pkg 14241
df = winsorize_and_bin(df, revenue_column, n_bins)
- Investment under Upstream and Downstream Uncertainty
The Journal of Finance 2026 · pkg 15608
INV(t,:) = winsor(INV(t,:),WINSOR_AMT/100);
- Stock Market Spillovers via the Global Production Network: Transmission of U.S. Monetary P
The Journal of Finance 2022 · pkg 15876
MEAN = [DecCons_all(1,:);std(winsorising(DecCons_all_bs(1,:,:),98),0,3); ... DecCons_int(1,:);std(winsorising(DecCons_int_bs(1,:,:),98),0,3)] - Informed Trading Intensity
The Journal of Finance 2024 · pkg 15970
winsorize(df, liqu_measure, 0.0005)
- Maximal extractable value and allocative inefficiencies in public blockchains
Journal of Financial Economics 2025 · pkg 14241
Share of the 266 packages that winsorize or trim (a package can use several cuts). Greyed: fewer than 10 packages.
Missing values
-
drop rows with missing values61% · 339
4 examples in the code
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
drop if missing(treatment)
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
keep if underpricing != .
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
drop if missing(disclosed_thisperiod)
- Exchange Rate Dynamics and Monetary Spillovers with Imperfect Financial Markets
Review of Financial Studies 2024 · pkg 45
drop if (lnrer_em == .)
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
-
replace missing with zero (imputation)39% · 219
4 examples in the code
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
replace dual_bd_scale = 0 if dual_bd_scale == .
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
replace ROIC_bondsoutstanding = 0 if missing(ROIC_bondsoutstanding)
- The Cost of Bank Regulatory Capital
Review of Financial Studies 2024 · pkg 66
replace lpc_sic=0 if lpc_sic==.;
- Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
replace amountissued=0 if amountissued==.
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
-
replace missing with another value (imputation)35% · 197
4 examples in the code
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
replace dswp1 = l.dswp1 if dswp1 == .
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
replace stock_par = par_Dec_1896_OLD if missing(stock_par)
- Firm-Level Exposure to Epidemic Diseases: COVID-19, SARS, and H1N1
Review of Financial Studies 2023 · pkg 83
by `sector': replace n = n[_n-1] - 0.2 if n == .
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):by economic: replace n = n[_n-1] - 0.2 if n == .
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
replace year_effective = year_passed if year_effective == .
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
-
interpolate missing values18% · 100
4 examples in the code
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
tsfill, full
- Narrative Asset Pricing: Interpretable Systematic Risk Factors from News Text
Review of Financial Studies 2023 · pkg 76
df = df.resample("M").interpolate(method="linear") - Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
tsfill
- Equity Return Expectations and Portfolios: Evidence from Large Asset Managers
Review of Financial Studies 2024 · pkg 99
tsfill
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
Share of 556 packages in the cell (a package can do several). Greyed: fewer than 10 packages.
Fills count only imputation of a measured variable (R&D set to 0 after a merge), not a dummy being completed.
Standard errors
- clusters in at least one estimation92% · 509
- default iid only4% · 24
- robust only (never clusters)2% · 12
- other (HAC, bootstrap) only2% · 9
Of the 554 packages with a model that shows the design.
Main clustering level
-
author-named unitnames the reader has no word for, commonest first:
mgmt_cd,call,issuer,issuer_id,st0_date,borrower_id,ci,comc22% · 1104 examples in the code
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
eststo: reghdfe apr_renfo_r0810_f `CONTROLS' `FCONTROLS', a(`FE') cl(`CL')
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe apr_renfo_r0810_f disfrontier dln_value1_22010 dln_value2_22010 dln_value4_22010 dln_value5_22010 dln_value6_22010 dln2_vaht_non_pme_pc_full dln …
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
reghdfe bid ib2011.year##c.dual_bd i.year i.year#c.(ln_size) dswp10 dswp1 SIFMA UR effective_rate ltotal_spend lgdp if bondfunding == "GO"& istaxable == 0 & re …
- Human Capital Portability and Careers in Finance
Review of Financial Studies 2024 · pkg 94
reghdfe delta_avg3 exit_from_bulge, a(bank_id year next_id) cl(people_id)
- Financial Advisors and Investors’ Bias
Review of Financial Studies 2025 · pkg 111
reghdfe ret_thismonth_perc b2.profile_c##post_platform_month if tag_individual_month==1 & profile!="Not Advised", absorb(numero_compte monthly_date ) cluster(nu …
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
-
firm12% · 59
4 examples in the code
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
eststo: reghdfe `outcome' L.(Burden $controls_firm), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe `outcome' L.(Burden Assets TobinQ CF MTB Leverage), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
- Firm-Level Exposure to Epidemic Diseases: COVID-19, SARS, and H1N1
Review of Financial Studies 2023 · pkg 83
statsby _b _se df=e(df_r) N=e(N), by(`sector') clear: /// reghdfe dlret USENTpredsp_demand_std SENTUNpredsp_supplys_std /// ${controls}, vce(cluster fir …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):statsby _b _se df=e(df_r) N=e(N), by(economic) clear: reghdfe dlret USENTpredsp_demand_std SENTUNpredsp_supplys_std _b_USindex_ret latpre, vce(cluster firm_id) …
- How Do Short-Term Incentives Affect Long-Term Productivity?
Review of Financial Studies 2026 · pkg 135
reghdfe change_tfp3W negative_eps sue_repo_adj_prcw sue_repo_adj_prcwXleft, a( year) vce(cluster gvkey)
- Cross-Subsidization of Bad Credit in a Lending Crisis
Review of Financial Studies 2025 · pkg 138
quietly reghdfe actual_rate c.theoretical_rate, /// abs(dateq) cluster(customerid)
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
-
two-way: firm + time6% · 32
4 examples in the code
- Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
eststo: reghdfe val_pledged_outst c.l_haircut_gap##1.bank_bond , /// absorb(ISIN mfi_id_pledger date) vce(cluster ISIN date ) - Joining Forces: The Spillover Effects of EPA Enforcement Actions and the Role of Socially
Review of Financial Studies 2023 · pkg 144
reghdfe sdonsite treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
- News Diffusion in Social Networks and Stock Market Reactions
Review of Financial Studies 2025 · pkg 145
eststo: quietly reghdfe `y' c.CEN#c.`s' c.CEN `s' `ctrlInteract' `attnInteract' `dummyInteract' `locbiasInteract' if `filter', noabsorb vce(cluster gvkey rdq …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: quietly reghdfe `y' c.CEN#c.sue_2_rknew c.CEN sue_2_rknew `ctrlInteract' c.`yvar'#c.sue_2_rknew `yvar' c.`yvar'#c.sue_2_rknew `yvar' c.`yvar'#c.sue_2_rk …
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
reghdfe exp_`var3' ps [aweight = weight], `con' `FE' cl(year firm)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe exp_`var3' ps [aweight = weight], `FE' cl(year firm)
- Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
-
county / city / district6% · 31
4 examples in the code
- The Impact of Crisis-Period Interest Rate Declines on Distressed Borrowers
Review of Financial Studies 2024 · pkg 59
DT.est.int.rate.algo.falsification <- feols( int.rate.algo.mod ~ NOARMLOOKBKDAYS + FICOSCOREORIGINATIONCALC + ##ORIGLTVRATIOCALC + COMBINEDLIENLTVCALC … - Reference Points Spillovers: Micro-Level Evidence from Real Estate
Review of Financial Studies 2023 · pkg 81
reghdfe $Y last_res_0500mls_`i' $Xctrls, absorb($FE) vce(cluster $FE)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe log_rent last_res_0500mls_`i' log_size age age2 log_days_on_zillow is_agent is_shared_laundry is_park_on_street is_1bdrm is_2bdrm is_4plusbdrm is_1bath …
- Desperate House Sellers: Distress among Developers
Review of Financial Studies 2024 · pkg 169
reghdfe time_mkt shockdelta1yrZIL sqfeet baths i.PROPERTY_INDICATOR_CODE loghpZIL_fips if !mi(lnsaleamt) & !mi(sqfeet) & !mi(baths) & !mi(PROPERTY_INDICATOR_COD …
- Financial Disruptions and the Organization of Innovation: Evidence from the Great Depressi
Review of Financial Studies 2023 · pkg 212
reghdfe lnind_numpat depsusp33_posXafter1929 if fdecade>=$shortterm_yr_start & fdecade<=$shortterm_yr_end, absorb(state_county_fips statefips_fdecade) vce(clust …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lnind_numpat depsusp33_posXafter1929 if fdecade>=1910 & fdecade<=1940, absorb(state_county_fips statefips_fdecade) vce(cluster state_county_fips)
- The Impact of Crisis-Period Interest Rate Declines on Distressed Borrowers
Review of Financial Studies 2024 · pkg 59
-
two-way: author-named unit + timenames the reader has no word for, commonest first:
mgmt_cd,call,issuer,issuer_id,st0_date,borrower_id,ci,comc6% · 314 examples in the code
- Equity Return Expectations and Portfolios: Evidence from Large Asset Managers
Review of Financial Studies 2024 · pkg 99
eststo: reghdfe US_Equity_premium log_LCAPE if sample==3 , absorb(Provider_Horizon) vce(cluster ym Provider)
- Managing Mental Accounts: Payment Cards and Consumption Expenditures
Review of Financial Studies 2024 · pkg 103
eststo: reghdfe log_tot_spnd_w treated , absorb(client_code year_month) vce(cluster client_code year_month)
- Competition for Attention in the ETF Space
Review of Financial Studies 2023 · pkg 110
reghdfe flows exp_ratio int_1 ret_rank int_2 q size age tvol, a(date) cluster(permno_etf date)
- What Private Equity Does Differently: Evidence from Life Insurance
Review of Financial Studies 2024 · pkg 143
reghdfe Bond_Yield EL_TAC EL_TAC_sq ln_Bond_FV, a(Year NAIC_Code) vce(cluster NAIC_Code Year)
- Equity Return Expectations and Portfolios: Evidence from Large Asset Managers
Review of Financial Studies 2024 · pkg 99
-
time6% · 28
4 examples in the code
- Investor Sentiment and the Pricing of Characteristics-Based Factors
Review of Financial Studies 2025 · pkg 126
xi: areg excessret factor if portfolio== `i', absorb(proxy) robust cluster(date)
- Ratings-Driven Demand and Systematic Price Fluctuations
Review of Financial Studies 2022 · pkg 179
summary(felm(ret ~ as.factor(post) * rank | yyyymm + category | 0 | yyyymm, data[yyyy == 2002]))
- Short-Term Reversals and Longer-Term Momentum around the World: Theory and Evidence
Review of Financial Studies 2025 · pkg 180
eststo: reghdfe rev mom, absorb(year#month) vce(cl year#month)
- Failure to Share Natural Disaster Risk
Review of Financial Studies 2026 · pkg 220
ols = PanelOLS.from_formula(formula, df2).fit(cov_type='clustered', cluster_time=True)
- Investor Sentiment and the Pricing of Characteristics-Based Factors
Review of Financial Studies 2025 · pkg 126
-
two-way: author-named unit + author-named unitnames the reader has no word for, commonest first:
mgmt_cd,call,issuer,issuer_id,st0_date,borrower_id,ci,comc5% · 254 examples in the code
- How Has COVID-19 Impacted Research Production in Economics and Finance?
Review of Financial Studies 2023 · pkg 69
reghdfe productivity post if main_sample==1, a(authorID month_posted) cluster(authorID date_posted_m)
- Size Discount and Size Penalty: Trading Costs in Bond Markets
Review of Financial Studies 2024 · pkg 163
reghdfe yy i.agency#c.xx if xxActive == 1 , absorb(st0_date#instrumentid#agency ) cluster(call st0_date)
- Build or Buy? Human Capital and Corporate Diversification
Review of Financial Studies 2025 · pkg 197
reghdfe buy HC_distance_s_brut_t1 /* */ diversity_t1 size_t1 immo_eff_t1 tresact_eff_t1 vaj_eff_t1 sal_eff_t1 if share > 0.01 & share < ., absorb(orig_dest_year …
- Informed Trading and the Dynamics of Client-Dealer Connections in Corporate Bond Markets
Review of Asset Pricing Studies 2026 · pkg 7232
reghdfe yy R_cent_ful R_size if active == 1 & transactionDaily > 0, /// absorb(mm#call instrumentid#dyear) vce(cluster call mm)
- How Has COVID-19 Impacted Research Production in Economics and Finance?
Review of Financial Studies 2023 · pkg 69
-
unspecified id (id, i, group...)5% · 25
4 examples in the code
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
qui reghdfe expected_type period if disclosure == 0, a(id) cluster(id)
- The Effect of Political Frictions on the Pricing and Supply of Insurance
Review of Financial Studies 2024 · pkg 213
eststo: reghdfe prem L.apply Lc.pct_approved i.year i.state_num i.co_code, absorb(id) vce(cluster double_cluster)
- The Core, the Periphery, and the Disaster: Corporate-Sovereign Nexus in COVID-19 Times
Review of Asset Pricing Studies 2026 · pkg 7234
xtreg dlogpremium dlogstock interactionstock dlogvix interactionlogvix dlogsovereign interactionlogsov E, fe vce(cluster id)
- Employer Dominance and Worker Earnings in Finance
Review of Corporate Finance Studies 2024 · pkg 7271
reghdfe `y' mkp_Q* `othercontrol' if `fin'==1 ,absorb(i.period#i.${firm_ind}`i') vce(cluster `cluster') keepsinAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe `y' mkp_Q* lag_lg_firmage_emp lag_male_shr lag_white_shr lag_college_shr if fin2emp==1 ,absorb(i.period#i.firm_indsic2_emp) vce(cluster id1) keepsin
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
-
industry4% · 18
4 examples in the code
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
reghdfe depvar rho sigma_P sigma_A $c if dummy1 == 1, a(fyear) vce(cluster sic3)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe depvar rho sigma_P sigma_A sd_indcf5_lagatl1 l_al1 cf5_lagatl1 mbresid5 if dummy1 == 1, a(fyear) vce(cluster sic3)
- Public Firm Borrowers of the U.S. Paycheck Protection Program
Review of Corporate Finance Studies 2021 · pkg 7258
reghdfe gro_yoy_assets ind_borrow_ppp_notret ln_assets ln_implied_firm_age_years ROA tobinsQ cash_to_assets book_leverage , absorb(naics2 county) vce(cluster na …
- Are Major Customers Friends or Masters? Evidence from Customer Fraud Revelations
Review of Corporate Finance Studies 2026 · pkg 7301
reghdfe rd treated_post, abs(tc ic) cluster(industry_code)
- The Disappearing IPO Puzzle and the Shift Toward Acquisitions: New Insights from Proprieta
Review of Corporate Finance Studies 2025 · pkg 7323
reghdfe tfp ipo_late ipo ma_late ma $control1, a(year) cluster(naics3) keepsingleton
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe tfp ipo_late ipo ma_late ma lnsales lnage capint capexratio mktshr whiteprop vc lnnnaics rd_naicsh3 outregion hind vcfracst vcfracnaic3, a(year) cluster …
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
-
two-way: unspecified id (id, i, group...) + time2% · 11
4 examples in the code
- More Risk, More Information: How Passive Ownership Can Improve Informational Efficiency
Review of Financial Studies 2023 · pkg 50
reghdfe ea1 ma ma_pass ma_act, absorb(id year) vce(cluster id year)
- Narrative Asset Pricing: Interpretable Systematic Risk Factors from News Text
Review of Financial Studies 2023 · pkg 76
mod = PanelOLS.from_formula(formula, df)
- Using Social Media to Identify the Effects of Congressional Viewpoints on Asset Prices
Review of Financial Studies 2024 · pkg 191
mod = PanelOLS(y, x , entity_effects=True)
- Man versus Machine Learning Revisited
Review of Financial Studies 2025 · pkg 271
mdl1 = PanelOLS.from_formula('EPS_true_q1~1 + EPS_ana_q1+EPS_ana_q2+Forecast_q1+Forecast_q2', data=df_.set_index(['permno','YearMon …
- More Risk, More Information: How Passive Ownership Can Improve Informational Efficiency
Review of Financial Studies 2023 · pkg 50
Share of the 509 packages that cluster: each package counted once, at the level most of its estimations use. Greyed: fewer than 10 packages.
Levels are read from variable names (gvkey, permno → firm; fips, county → county). "Author-named unit" is a name that does not reveal its level (fac_id, route, provider); "unspecified id" is id, i, group — never guessed.
Fixed effects
541 of 554 packages absorb fixed effects in at least one estimation (absorb(), i. dummies, xtreg, fe).
Main fixed-effect set
-
author-named unitnames the reader has no word for, commonest first:
call,itemonagendaid,rating,broker,edu,issuer,mgmt_cd,a21% · 1164 examples in the code
- The Impact of Crisis-Period Interest Rate Declines on Distressed Borrowers
Review of Financial Studies 2024 · pkg 59
DT.est.int.rate.algo.falsification <- feols( int.rate.algo.mod ~ NOARMLOOKBKDAYS + FICOSCOREORIGINATIONCALC + ##ORIGLTVRATIOCALC + COMBINEDLIENLTVCALC … - How Has COVID-19 Impacted Research Production in Economics and Finance?
Review of Financial Studies 2023 · pkg 69
reghdfe productivity post if main_sample==1, a(authorID month_posted) cluster(authorID date_posted_m)
- Equity Return Expectations and Portfolios: Evidence from Large Asset Managers
Review of Financial Studies 2024 · pkg 99
reghdfe US_Equity_premium if closest_to_10 == 1, absorb(Provider_Id) // adjusted R^2 is 78%
- Estimating Discount Functions with Consumption Choices over the Lifecycle
Review of Financial Studies 2026 · pkg 116
xtreg lny nkids nhead ndepadul urate cohd* age agesq agecu [aweight=avgwt], fe
- The Impact of Crisis-Period Interest Rate Declines on Distressed Borrowers
Review of Financial Studies 2024 · pkg 59
-
time8% · 45
4 examples in the code
- Competition for Attention in the ETF Space
Review of Financial Studies 2023 · pkg 110
reghdfe flows exp_ratio int_1 ret_rank int_2 q size age tvol, a(date) cluster(permno_etf date)
- Speculating on Higher-Order Beliefs
Review of Financial Studies 2025 · pkg 158
reg1b = smf.ols('valuation~{}+C(MTH)'.format(yvar), df).fit(cov_type='hac-groupsum', cov_kwds={'time': df['mth_num'].values, 'maxlags': 12}) - Failure to Share Natural Disaster Risk
Review of Financial Studies 2026 · pkg 220
ols = sm.ols(f'beta_sheet ~ expected_loss + attachment_prob + exhaustion_prob + lnsize + sheet_spread + bmk_yield + {indicators} + C(date)', data=df).fit(cov_kw … - Institutional Brokerage Networks: Facilitating Liquidity Provision
Review of Financial Studies 2024 · pkg 243
fit1[[2]] <- felm(std_cent ~ log(tna) + I(exp_ratio*100) + turn_ratio + logmktcap + btm + mom + lehman_q * post | date | 0 | mgmt_cd, data = funds)
- Competition for Attention in the ETF Space
Review of Financial Studies 2023 · pkg 110
-
firm + time8% · 43
4 examples in the code
- Regulating CEO Pay: Evidence from the Nonprofit Revitalization Act
Review of Financial Studies 2026 · pkg 259
reghdfe log_tdc1_z ib2014.fyear2##ny, abs(fyear2 ein) cluster(state)
- Too Many Managers: The Strategic Use of Titles to Avoid Overtime Payments
Review of Financial Studies 2026 · pkg 298
reghdfe salman inrange salary exp edu maxexp maxedu missexp missedu if flsa==1, absorb(employer year) cluster(employer)
- Firm Listing Status, Firm Size, and the Financing of Investment
Review of Corporate Finance Studies 2024 · pkg 7248
reghdfe D_credit_b_tta D_immo_net_tta D_net_WCR_tta D_res_actif_net_tta $control if D_immo_net_tta>0 [w= fl], vce(cl siren) abs(year siren)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe D_credit_b_tta D_immo_net_tta D_net_WCR_tta D_res_actif_net_tta sh_cash_net_div_tta sh_credit_b_tta sh_fp_tta sh_dividendes_ca tx_fl lntta if D_immo_net …
- Board Reforms, Stock Liquidity, and Stock Market Development
Review of Corporate Finance Studies 2025 · pkg 7249
reghdfe lnespread firstreform if baselinesamplen5p5==1, absorb(gvkey fyear) cluster(country)
- Regulating CEO Pay: Evidence from the Nonprofit Revitalization Act
Review of Financial Studies 2026 · pkg 259
-
author-named unit + timenames the reader has no word for, commonest first:
call,itemonagendaid,rating,broker,edu,issuer,mgmt_cd,a7% · 384 examples in the code
- Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
eststo: reghdfe val_pledged_outst c.l_haircut_gap##c.domestic /// l_log_resmat l_log_bondprice , /// absorb(ISIN_n#mfi_id_pledger_n date l_rating_gr) … - Managing Mental Accounts: Payment Cards and Consumption Expenditures
Review of Financial Studies 2024 · pkg 103
eststo: reghdfe log_tot_spnd_w treated , absorb(client_code year_month) vce(cluster client_code year_month)
- Financial Advisors and Investors’ Bias
Review of Financial Studies 2025 · pkg 111
reghdfe sell_dummy100 sell_signal_committee##b2.profile_c /// buy_signal_committee##b2.profile_c /// if profile!="Not Advised", absorb(numero_compte ass … - Inflation and Individual Investors’ Behavior: Evidence from the German Hyperinflation
Review of Financial Studies 2023 · pkg 119
reghdfe StockBuySellImbalancePerM /// InflationIHS /// , absorb(ClientID MonthID) cluster(TownID MonthID) keepsingletons
- Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
-
industry + time3% · 17
4 examples in the code
- Cross-Subsidization of Bad Credit in a Lending Crisis
Review of Financial Studies 2025 · pkg 138
quietly reghdfe actual_rate c.theoretical_rate $cvars $loanChars, /// abs(dateq Industry) cluster(customerid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance, abs(dateq Industry) …
- News Diffusion in Social Networks and Stock Market Reactions
Review of Financial Studies 2025 · pkg 145
eststo: quietly reghdfe `y' CEN `s' `ctrlList' `attnList' `dummyList' `locbiasList' if `filter', noabsorb vce(cluster gvkey rdq1)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: quietly reghdfe `y' CEN abs_sue_2_rknew logme logbm idvol ior urban ep2_winsor evol2_winsor nrdq_rk2 rptlag log_xad sp500 retail pop_density sind_p_ctex …
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
reghdfe depvar rho sigma_P sigma_A $c if dummy1 == 1, a(fyear sic2) vce(cluster sic3)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe depvar rho sigma_P sigma_A sd_indcf5_lagatl1 l_al1 cf5_lagatl1 mbresid5 if dummy1 == 1, a(fyear sic2) vce(cluster sic3)
- Asset Prices When Investors Underestimate Discount Rate Dynamics
Review of Asset Pricing Studies 2026 · pkg 7236
result_pred_bias_1 = felm(formula = fwd.1q.bias ~ beta.vol |Date + sich|0|Date + PERMNO, data = input_pred_bias_dt)
- Cross-Subsidization of Bad Credit in a Lending Crisis
Review of Financial Studies 2025 · pkg 138
-
firm3% · 15
4 examples in the code
- Countercyclical Liquidity Policy and Credit Cycles: Evidence from Macroprudential and Mone
Review of Corporate Finance Studies 2026 · pkg 7284
reghdfe `d' `v' $risk_controls $bank_controls4 if !mi(`t'), absorb(firm_id) vce(cluster $clusters)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe `d' `v' L3_collateral wL3_scline L3_foreign_currency wL3_ln_r_maturity wL3_total_interest $bank_controls4 if !mi(`t'), absorb(firm_id) vce(cluster bank …
- Can Banks Save Mountains?
Review of Corporate Finance Studies 2023 · pkg 7309
xtreg loans_mtr_ln treated log_assets asset_growth_3 loans_total_lag3_ln loans_related_lag3_ln y_* if year>=2000 & year<=2020, fe vce(cluster ultimateparentid …
- From Man vs. Machine to Man + Machine: The art and AI of stock analyses
Journal of Financial Economics 2024 · pkg 14206
xi: regress beat_ana illiquidity /// intang size_brokerage star logevents dtdn /// mve_f instown_perc fluidity flesch_kincaid_grade_level /// ind_rec time_t …
- Investing with Purpose: Evidence from Private Foundations
The Journal of Finance 2026 · pkg 15634
reghdfe equity_at c.lag_DGS10 $controls $lagdep1 $if1, $abs $vce
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe equity_at c.lag_DGS10 ln_invassetscash_colctm1_w0 invfees_w0 r010_to_diertz_w0 ln_age_alt_w0 ln_emppaid_filled_w0 missing_emppaid ln_boardsize_filled_w0 …
- Countercyclical Liquidity Policy and Credit Cycles: Evidence from Macroprudential and Mone
Review of Corporate Finance Studies 2026 · pkg 7284
-
unspecified id (id, i, group...)3% · 15
4 examples in the code
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
qui reghdfe expected_type period if disclosure == 0, a(id) cluster(id)
- Using Social Media to Identify the Effects of Congressional Viewpoints on Asset Prices
Review of Financial Studies 2024 · pkg 191
mod = PanelOLS(y, x , entity_effects=True)
- The Core, the Periphery, and the Disaster: Corporate-Sovereign Nexus in COVID-19 Times
Review of Asset Pricing Studies 2026 · pkg 7234
xtreg dlogpremium dlogstock interactionstock dlogvix interactionlogvix dlogsovereign interactionlogsov E, fe vce(cluster id)
- Deep surrogates for finance: With an application to option pricing
Journal of Financial Economics 2026 · pkg 14262
model_fe = lm.PanelOLS.from_formula( 'b_a ~ lnI + b_a_l + EntityEffects', data=df ).fit(cov_type='clustered', cluster_entity=True)
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
-
unspecified id (id, i, group...) + time2% · 13
4 examples in the code
- More Risk, More Information: How Passive Ownership Can Improve Informational Efficiency
Review of Financial Studies 2023 · pkg 50
reghdfe ea1 ma ma_pass ma_act, absorb(id year) vce(cluster id year)
- Debt and Taxes: The Role of Tax Avoidance
Journal of Financial and Quantitative Analysis 2026 · pkg 14120
reghdfe ebitratio C logfixed loglabour ownGDPpercapita owninterest , absorb(identifier year) cluster( identifier )
- Retail trader sophistication and stock market quality: Evidence from brokerage outages
Journal of Financial Economics 2022 · pkg 14169
mod = PanelOLS( dependent = df[y], exog = df[x_vec], entity_effects = True, time_effects = True, drop_absorbed = True) - Maximal extractable value and allocative inefficiencies in public blockchains
Journal of Financial Economics 2025 · pkg 14241
panel_model_no_controls = PanelOLS( panel_df[y], panel_df[interaction_vars], entity_effects=True, time_effects=True )
- More Risk, More Information: How Passive Ownership Can Improve Informational Efficiency
Review of Financial Studies 2023 · pkg 50
-
firm + industry × time2% · 10
4 examples in the code
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
eststo: reghdfe `outcome' L.(Burden $controls_firm), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe `outcome' L.(Burden Assets TobinQ CF MTB Leverage), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
- Skilled Immigration, R&D Concentration, and Industry Consolidation
Review of Corporate Finance Studies 2024 · pkg 7242
reghdfe `y' foreignempdumcon##ydum `cont'
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe `y' foreignempdumcon##ydum llsale_w llemp_w lage_w lconglo_w lsalemep_w , absorb(naics3#year firmid) vce(cluster firmid year ) keepsingleton
- Credit Supply Shocks: Financing Real Growth or Takeovers?
Review of Corporate Finance Studies 2024 · pkg 7263
Replication package/Code/05 Loan supply tests (Tables 1 & 2, Table 4 (col 1-2), and Figure 3).do:208
qui: eststo m1: reghdfe loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 $ContrLev if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluster(gvkey fye …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui: eststo m1: reghdfe loan_amt_LN Sec_Active_FE switch num_lender_LN bankFE2 ln_at_lag prof_lag tang_lag if JUNK_95_FE == 1, absorb(gvkey sic1_time_fe) cluste …
- Activity Shocks and Corporate Liquidity: the Role of Trade Credit
Review of Corporate Finance Studies 2024 · pkg 7287
reghdfe firm_with_ip cie_std cie_std_post , $regspec_c
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe firm_with_ip cie_std cie_std_post , absorb (siren ind_month) vce (cluster i.siren)
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
-
bank + time1% · 7
4 examples in the code
- Watch What They Do, Not What They Say: Estimating Regulatory Costs from Revealed Preferenc
Review of Financial Studies 2023 · pkg 224
eststo: xtreg `VAR'_temp i.datequarter ln_branchnumber Post_X_Treat, vce(cluster rssdid) fe
- The Effect of Primary Dealer Constraints on Intermediation in the Treasury Market
Review of Financial Studies 2026 · pkg 282
qui reghdfe D.log_max_limit L(1/20).c.(log_max_limit perc_limit_use) f(1/20).c.(log_max_limit perc_limit_use) if $period, absorb(time id_rssd)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui reghdfe D.log_max_limit L(1/20).c.(log_max_limit perc_limit_use) f(1/20).c.(log_max_limit perc_limit_use) if wdate>tw(2015w52) & wdate<=tw(2023w52), absorb( …
- Understanding Bank Payouts during the Crisis of 2007–2009
Review of Corporate Finance Studies 2024 · pkg 7310
quietly reghdfe `y' `rhs6' if year < 2007, absorb(instkey year) vce(cluster instkey) residuals
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):quietly reghdfe `y' L.avg_logassetsY L.sizesq_orth L.avg_mtbWY L.avg_roaaWY L.lev_fps L.reteY growth2WY L.avg_tieroneratioWY if year < 2007, absorb(instkey year …
- Why do bank boards have risk committees?
Journal of Financial and Quantitative Analysis 2026 · pkg 14150
reghdfe roa lrisk_committee_after_2010 lrisk_committee_before_2010 lcomplexity lln_real_at ltier1r lmtb lpct_dir_after_ceo lceo_duality lInstOwn_Perc lpct_fine …
- Watch What They Do, Not What They Say: Estimating Regulatory Costs from Revealed Preferenc
Review of Financial Studies 2023 · pkg 224
Share of the 541 packages that absorb fixed effects, each at the set most of its estimations use. Greyed: fewer than 10 packages.
Any estimation absorbs…
-
author-named unitnames the reader has no word for, commonest first:
call,itemonagendaid,rating,broker,edu,issuer,mgmt_cd,a67% · 3694 examples in the code
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
eststo: reghdfe apr_renfo_r0810_f `CONTROLS' `FCONTROLS', a(`FE') cl(`CL')
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe apr_renfo_r0810_f disfrontier dln_value1_22010 dln_value2_22010 dln_value4_22010 dln_value5_22010 dln_value6_22010 dln2_vaht_non_pme_pc_full dln …
- Are Bankruptcy Professional Fees Excessively High?
Review of Financial Studies 2024 · pkg 17
eststo: reghdfe `depvar' comp_per_trust, absorb(i.state_num i.year_closed) cluster(state_num)
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
reghdfe bid i.year i.year#c.dual_bd if bondfunding == "GO"& istaxable == 0, a(issuer)
- When Financial Advice Leads to Positive Performance: Evidence from Repeated Client–Advisor
Review of Financial Studies 2025 · pkg 32
reghdfe mean_follow_buy2 excess_return_recom_ind excess_returnsd_ind returnr_ma240_perc return_wfollow_perc ln_portval hhi if include_24 == 1 , absorb …
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
-
time65% · 361
4 examples in the code
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
reghdfe bid i.year i.year#c.dual_bd if bondfunding == "GO"& istaxable == 0, a(issuer)
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
qui reghdfe ln_capital pre_event_2 pre_event_1 event post_event_1 post_event_2 post_event_3, a(supp_id_consol period) cluster(supp_id_consol)
- More Risk, More Information: How Passive Ownership Can Improve Informational Efficiency
Review of Financial Studies 2023 · pkg 50
reghdfe ea1 ma ma_pass ma_act, absorb(id year) vce(cluster id year)
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
reghdfe `yvar' /// reform_F* reform_L* i.agehgroup i.tincgroups i.numkids, /// absorb(state id `fe') vce(cluster state id)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe `yvar' reform_F* reform_L* i.agehgroup i.tincgroups i.numkids, absorb(state id year) vce(cluster state id)
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
-
firm28% · 153
4 examples in the code
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
eststo: reghdfe `outcome' L.(Burden $controls_firm), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe `outcome' L.(Burden Assets TobinQ CF MTB Leverage), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
- Firm-Level Exposure to Epidemic Diseases: COVID-19, SARS, and H1N1
Review of Financial Studies 2023 · pkg 83
reghdfe lrevtq_w time demand ${controls} /// , vce(cluster firm_id) absorb(i.firm_id)As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lrevtq_w time demand latpre , vce(cluster firm_id) absorb(i.firm_id)
- Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
eststo: reghdfe val_pledged_outst c.l_haircut_gap##1.bank_bond , /// absorb(ISIN mfi_id_pledger date) vce(cluster ISIN date ) - Product Innovation and Credit Market Disruptions
Review of Financial Studies 2023 · pkg 129
eststo: reghdfe entryrate c.share_exp_short#c.crisis , absorb(firm year nprod) vce(cl st2 )
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
-
unspecified id (id, i, group...)15% · 83
4 examples in the code
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
qui reghdfe expected_type period if disclosure == 0, a(id) cluster(id)
- More Risk, More Information: How Passive Ownership Can Improve Informational Efficiency
Review of Financial Studies 2023 · pkg 50
reghdfe ea1 ma ma_pass ma_act, absorb(id year) vce(cluster id year)
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
eststo: reghdfe `yvar' c.`incvar'_share_wife71##i.post71 i.agehgroup i.tincgroups /// i.numkids, absorb(id state_year) cluster(id state)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe `yvar' c.tinc_share_wife71##i.post71 i.agehgroup i.tincgroups i.numkids, absorb(id state_year) cluster(id state)
- Equity Return Expectations and Portfolios: Evidence from Large Asset Managers
Review of Financial Studies 2024 · pkg 99
eststo: reghdfe STOCK10_over_10y_yield log_LCAPE, absorb(ID) vce(cluster ID Date)
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
-
industry15% · 82
4 examples in the code
- Firm-Level Exposure to Epidemic Diseases: COVID-19, SARS, and H1N1
Review of Financial Studies 2023 · pkg 83
statsby _b _se df=e(df_r) N=e(N), by(`sector') clear: /// reghdfe dlret USENTpredsp_demand_std SENTUNpredsp_supplys_std /// ${controls}, vce(cluster fir …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):statsby _b _se df=e(df_r) N=e(N), by(economic) clear: reghdfe dlret USENTpredsp_demand_std SENTUNpredsp_supplys_std _b_USindex_ret latpre, vce(cluster firm_id) …
- Cross-Subsidization of Bad Credit in a Lending Crisis
Review of Financial Studies 2025 · pkg 138
quietly reghdfe actual_rate c.theoretical_rate $cvars $loanChars, /// abs(dateq Industry) cluster(customerid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):quietly reghdfe actual_rate c.theoretical_rate OROA lDeposits lTotalAssets ratio_CurrentLiabilities maturity_range has_coll_m_any lbalance, abs(dateq Industry) …
- Joining Forces: The Spillover Effects of EPA Enforcement Actions and the Role of Socially
Review of Financial Studies 2023 · pkg 144
reghdfe dweight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows, absorb …
- News Diffusion in Social Networks and Stock Market Reactions
Review of Financial Studies 2025 · pkg 145
eststo: quietly reghdfe `y' CEN `s' `ctrlList' `attnList' `dummyList' `locbiasList' if `filter', noabsorb vce(cluster gvkey rdq1)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: quietly reghdfe `y' CEN abs_sue_2_rknew logme logbm idvol ior urban ep2_winsor evol2_winsor nrdq_rk2 rptlag log_xad sp500 retail pop_density sind_p_ctex …
- Firm-Level Exposure to Epidemic Diseases: COVID-19, SARS, and H1N1
Review of Financial Studies 2023 · pkg 83
-
author-named unit × timenames the reader has no word for, commonest first:
call,itemonagendaid,rating,broker,edu,issuer,mgmt_cd,a12% · 644 examples in the code
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
reghdfe bid ib2011.year##c.dual_bd i.year i.year#c.(ln_size) dswp10 dswp1 SIFMA UR effective_rate ltotal_spend lgdp if bondfunding == "GO"& istaxable == 0 & re …
- Systemic Risk and Monetary Policy: The Haircut Gap Channel of the Lender of Last Resort
Review of Financial Studies 2024 · pkg 91
eststo: reghdfe val_pledged_outst c.l_haircut_gap##c.domestic /// l_log_resmat l_log_bondprice , /// absorb(ISIN mfi_id_pledger issuer_country_n#dat … - Human Capital Portability and Careers in Finance
Review of Financial Studies 2024 · pkg 94
reghdfe delta_avg3 exit##c.r4_covered_flag5yr, a(bank_id year#next_id) cl(people_id)
- Financial Advisors and Investors’ Bias
Review of Financial Studies 2025 · pkg 111
reghdfe sell_dummy100 sell_signal_committee##b2.profile_c /// buy_signal_committee##b2.profile_c /// if profile!="Not Advised", absorb(numero_compte#dai …
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
-
industry × time11% · 63
4 examples in the code
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
eststo: reghdfe `outcome' L.(Burden $controls_firm), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe `outcome' L.(Burden Assets TobinQ CF MTB Leverage), absorb(i.year#i.ff48 i.gvkey) vce(cluster gvkey)
- How Do Short-Term Incentives Affect Long-Term Productivity?
Review of Financial Studies 2026 · pkg 135
reghdfe change_tfp3W negative_eps size age sue_repo_adj_prcw sue_repo_adj_prcwXleft, a( state#year ind#year) vce(cluster gvkey)
- Quick or Broad Patents? Evidence from U.S. Startups
Review of Financial Studies 2022 · pkg 153
xi: reghdfe pat_clm_ct instrument_ind_claims, absorb(ind_year_fe state_num) vce(cluster gau)
- Remotely Productive: The Efficacy of Remote Work for Executives
Review of Financial Studies 2026 · pkg 295
reghdfe emp_approval_rate remote, absorb(gvkey ceo_id industry_year) cluster(gvkey)
- Regulatory Intensity and Firm-Specific Exposure
Review of Financial Studies 2023 · pkg 47
-
county / city / district11% · 59
4 examples in the code
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
eststo reg: reghdfe bid dual_bd t?dual t?shock i.post##i.(type_?) c.ln_size##i.year dswp10 dswp1 SIFMA UR effective_rate ltotal_spend lgdp if bondfunding == " …
- Reference Points Spillovers: Micro-Level Evidence from Real Estate
Review of Financial Studies 2023 · pkg 81
reghdfe $Y last_res_0500mls_`i' $Xctrls, absorb($FE) vce(cluster $FE)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe log_rent last_res_0500mls_`i' log_size age age2 log_days_on_zillow is_agent is_shared_laundry is_park_on_street is_1bdrm is_2bdrm is_4plusbdrm is_1bath …
- Inflation and Individual Investors’ Behavior: Evidence from the German Hyperinflation
Review of Financial Studies 2023 · pkg 119
reghdfe InflationIHS /// Occupied /// UnemploymentRateImputed /// , absorb(TownID MonthID) cluster(TownID MonthID)
- Product Innovation and Credit Market Disruptions
Review of Financial Studies 2023 · pkg 129
reghdfe delta_amount2 if year==2007,absorb(rssd9001 stcntybr, savefe)
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
-
state / province8% · 42
4 examples in the code
- Are Bankruptcy Professional Fees Excessively High?
Review of Financial Studies 2024 · pkg 17
eststo: reghdfe `depvar' comp_per_trust, absorb(i.state_num i.year_closed) cluster(state_num)
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
reghdfe `yvar' /// reform_F* reform_L* i.agehgroup i.numkids i.tincgroups, /// absorb(state id reg_trend) vce(cluster id state)
- News Diffusion in Social Networks and Stock Market Reactions
Review of Financial Studies 2025 · pkg 145
eststo: quietly reghdfe `y' CEN `s' `ctrlList' `attnList' `dummyList' `locbiasList' if `filter', absorb(state) vce(cluster gvkey rdq1)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: quietly reghdfe `y' CEN abs_sue_2_rknew logme logbm idvol ior urban ep2_winsor evol2_winsor nrdq_rk2 rptlag log_xad sp500 retail pop_density sind_p_ctex …
- Quick or Broad Patents? Evidence from U.S. Startups
Review of Financial Studies 2022 · pkg 153
xi: reghdfe pat_clm_ct instrument_ind_claims, absorb(ind_year_fe state_num) vce(cluster gau)
- Are Bankruptcy Professional Fees Excessively High?
Review of Financial Studies 2024 · pkg 17
-
bank6% · 33
4 examples in the code
- Human Capital Portability and Careers in Finance
Review of Financial Studies 2024 · pkg 94
reghdfe people_dealnum people_dealnum_past12, a(year bank_id people_id)
- Product Innovation and Credit Market Disruptions
Review of Financial Studies 2023 · pkg 129
reghdfe delta_amount2 if year==2007,absorb(rssd9001 stcntybr, savefe)
- Capital Flows, Real Estate, and Local Cycles: Evidence from German Cities, Banks, and Firm
Review of Financial Studies 2021 · pkg 214
reghdfe foreignassets spread, absorb(bank) cluster(bank)
- Watch What They Do, Not What They Say: Estimating Regulatory Costs from Revealed Preferenc
Review of Financial Studies 2023 · pkg 224
eststo: xtreg `VAR'_temp i.datequarter ln_branchnumber Post_X_Treat, vce(cluster rssdid) fe
- Human Capital Portability and Careers in Finance
Review of Financial Studies 2024 · pkg 94
Share of 554 packages with a model that shows the design. Greyed: fewer than 10 packages.
Estimator commands
-
reghdfe76% · 421
3 examples in the code
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
eststo: reghdfe apr_renfo_r0810_f `CONTROLS' `FCONTROLS', a(`FE') cl(`CL')
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe apr_renfo_r0810_f disfrontier dln_value1_22010 dln_value2_22010 dln_value4_22010 dln_value5_22010 dln_value6_22010 dln2_vaht_non_pme_pc_full dln …
- Are Bankruptcy Professional Fees Excessively High?
Review of Financial Studies 2024 · pkg 17
eststo: reghdfe `depvar' comp_per_trust, absorb(i.state_num i.year_closed) cluster(state_num)
- Conflicts of Interest in Municipal Bond Advising and Underwriting
Review of Financial Studies 2024 · pkg 19
reghdfe bid i.year i.year#c.dual_bd if bondfunding == "GO"& istaxable == 0, a(issuer)
- The Labor Market Effects of Loan Guarantee Programs
Review of Financial Studies 2024 · pkg 16
-
areg16% · 87
3 examples in the code
- Investor Sentiment and the Pricing of Characteristics-Based Factors
Review of Financial Studies 2025 · pkg 126
xi: areg excessret factor if portfolio== `i', absorb(proxy) robust cluster(date)
- Rating Agency Fees: Pay to Play in Public Finance?
Review of Financial Studies 2023 · pkg 151
areg rating_num sdrating_fee_residual paidprev moodys moodyspost051007 if insured == 0 , a(issue_id) cluster(cusip)
- Quick or Broad Patents? Evidence from U.S. Startups
Review of Financial Studies 2022 · pkg 153
xi: areg instrument_ind_claims if sample==1, absorb(ind_year_fe) robust cluster(gau)
- Investor Sentiment and the Pricing of Characteristics-Based Factors
Review of Financial Studies 2025 · pkg 126
-
xtreg8% · 43
3 examples in the code
- Estimating Discount Functions with Consumption Choices over the Lifecycle
Review of Financial Studies 2026 · pkg 116
xtreg lny nkids nhead ndepadul urate cohd* age agesq agecu [aweight=avgwt], fe
- Decision Weights for Experimental Asset Prices Based on Visual Salience
Review of Financial Studies 2022 · pkg 122
xtreg inv corr_VS, robust cluster(user_id) fe //Naked model
- Watch What They Do, Not What They Say: Estimating Regulatory Costs from Revealed Preferenc
Review of Financial Studies 2023 · pkg 224
eststo: xtreg `VAR'_temp i.datequarter ln_branchnumber Post_X_Treat, vce(cluster rssdid) fe
- Estimating Discount Functions with Consumption Choices over the Lifecycle
Review of Financial Studies 2026 · pkg 116
-
felm6% · 32
3 examples in the code
- Mortgage Finance and Climate Change: Securitization Dynamics in the Aftermath of Natural D
Review of Financial Studies 2022 · pkg 162
print(summary(felm(log(count) ~ log_distanceXabove_limit + log_distanceXbelow_limit + below_limit | year + zip | 0 | year + zip, data= bk_by_bin)) … - Ratings-Driven Demand and Systematic Price Fluctuations
Review of Financial Studies 2022 · pkg 179
summary(felm(ret ~ as.factor(post) * rank | yyyymm + category | 0 | yyyymm, data[yyyy == 2002]))
- Institutional Brokerage Networks: Facilitating Liquidity Provision
Review of Financial Studies 2024 · pkg 243
fit1[[2]] <- felm(std_cent ~ log(tna) + I(exp_ratio*100) + turn_ratio + logmktcap + btm + mom + lehman_q * post | date | 0 | mgmt_cd, data = funds)
- Mortgage Finance and Climate Change: Securitization Dynamics in the Aftermath of Natural D
Review of Financial Studies 2022 · pkg 162
-
panelols4% · 20
3 examples in the code
- Narrative Asset Pricing: Interpretable Systematic Risk Factors from News Text
Review of Financial Studies 2023 · pkg 76
mod = PanelOLS.from_formula(formula, df)
- Using Social Media to Identify the Effects of Congressional Viewpoints on Asset Prices
Review of Financial Studies 2024 · pkg 191
mod = PanelOLS(y, x , entity_effects=True)
- Failure to Share Natural Disaster Risk
Review of Financial Studies 2026 · pkg 220
ols = PanelOLS.from_formula(formula, df2).fit(cov_type='clustered', cluster_time=True)
- Narrative Asset Pricing: Interpretable Systematic Risk Factors from News Text
Review of Financial Studies 2023 · pkg 76
-
feols3% · 17
3 examples in the code
- The Impact of Crisis-Period Interest Rate Declines on Distressed Borrowers
Review of Financial Studies 2024 · pkg 59
DT.est.int.rate.algo.falsification <- feols( int.rate.algo.mod ~ NOARMLOOKBKDAYS + FICOSCOREORIGINATIONCALC + ##ORIGLTVRATIOCALC + COMBINEDLIENLTVCALC … - Corporate Loan Spreads and Economic Activity
Review of Financial Studies 2025 · pkg 182
mod1 <- feols(loan_spread_w ~ sum_issuer_og_exposure*post | Issuer + date_m, data = data_panel_elp, cluster = c( "LIN"))
- Bond Convenience Yields in the Eurozone Currency Union
Review of Financial Studies 2026 · pkg 277
f1a <- feols(cy.spread ~ cds.spread | country, panel.id = ~ country + yearmon, m[lubridate::year(yearmon) < 2008])
- The Impact of Crisis-Period Interest Rate Declines on Distressed Borrowers
Review of Financial Studies 2024 · pkg 59
-
xtscc2% · 11
3 examples in the code
- Exchange Rate Dynamics and Monetary Spillovers with Imperfect Financial Markets
Review of Financial Studies 2024 · pkg 45
eststo: xtscc qD_ rdiffD_ ibn.id_num if sD_ != . , lag(4) //, cluster(id_num)
- Does Finance Benefit Society? A Language Embedding Approach
Review of Financial Studies 2026 · pkg 193
eststo: xtscc all_stdscore `varn' `cont'
- Cross-Border M&A Flows, Economic Growth, and Foreign Exchange Rates
Review of Financial Studies 2025 · pkg 254
quietly xtscc lagm`w'_macromomb12 p1 i.modate
- Exchange Rate Dynamics and Monetary Spillovers with Imperfect Financial Markets
Review of Financial Studies 2024 · pkg 45
-
ols1% · 6
3 examples in the code
- Rating Agency Fees: Pay to Play in Public Finance?
Review of Financial Studies 2023 · pkg 151
reg1 = smf.ols(formula="diff_ln_fee ~ C(week_diff) + moodys_first + C(issuer_name)-1 ", data=dfs).fit(cov_type='cluster', cov_kwds={'groups': dfs[['week_diff' … - Speculating on Higher-Order Beliefs
Review of Financial Studies 2025 · pkg 158
reg1b = smf.ols('valuation~{}+C(MTH)'.format(yvar), df).fit(cov_type='hac-groupsum', cov_kwds={'time': df['mth_num'].values, 'maxlags': 12}) - Failure to Share Natural Disaster Risk
Review of Financial Studies 2026 · pkg 220
ols = sm.ols(f'beta_sheet ~ expected_loss + attachment_prob + exhaustion_prob + lnsize + sheet_spread + bmk_yield + {indicators} + C(date)', data=df).fit(cov_kw …
- Rating Agency Fees: Pay to Play in Public Finance?
Review of Financial Studies 2023 · pkg 151
-
reg1% · 5
3 examples in the code
- Don’t Take Their Word for It: The Misclassification of Bond Mutual Funds
The Journal of Finance 2021 · pkg 15795
reg misstate_hold if official<=5 & !missing(family_fe), absorb(yq) cluster(yq)
- The Narrow Channel of Quantitative Easing: Evidence from YCC Down Under
The Journal of Finance 2024 · pkg 15958
eststo: reg sy_agb mfbuy ycbuy qebuy, cluster(mdy) absorb(mdy)
- The “Actual Retail Price” of Equity Trades
The Journal of Finance 2025 · pkg 16060
reg pipercent i.venue_dum2 ib4.oib_dum, cluster(stk_dum) absorb(stk_dum)
- Don’t Take Their Word for It: The Misclassification of Bond Mutual Funds
The Journal of Finance 2021 · pkg 15795
-
feglm1% · 4
3 examples in the code
- Securing technological leadership? The cost of export controls on firms
Journal of Financial Economics 2026 · pkg 14263
dynamic_m1<-feglm(dep_var~i(year_diff,treat_supplier,ref=c(-1))|cusip+sic_custnum_size_time, vcov=~cusip+year,family = "poisson",data=twfe_dt) - Cash Heterogeneity and the Payout Channel of Monetary Policy
The Journal of Finance 2026 · pkg 15637
repur.regex<-alpaca::feglm(ifREP~lagcash:ns_acosta2+lagcash|idf+industrytime|date, data=as.data.table(repur.pass.baseline), family = binomial("logit")) - Call Me Maybe: Corporate Bond Prices Upon Missed Call Opportunities
Financial Management 2026 · pkg 39398
m[[3]] <- feglm(event_call ~ calliv_mkt_pre + dts|year|issuer, data=extradf, family = binomial('logit'), control = list(drop.pc = F))
- Securing technological leadership? The cost of export controls on firms
Journal of Financial Economics 2026 · pkg 14263
Share of 554 packages with a model that shows the design (a package runs several). Greyed: fewer than 10 packages.
Validation checks
-
Oster (2019) selection bounds (psacalc)0% · 2
2 examples in the code
- Funding Black High‐Growth Startups
The Journal of Finance 2026 · pkg 15629
psacalc beta `indvar', rmax(`rmax')
- The rise of decentralized cryptocurrency exchanges: Evaluating the role of airdrops and go
Journal of Corporate Finance 2023 · pkg 130764
psacalc delta decentralize // assume the selection on unobservables = selection on observables
- Funding Black High‐Growth Startups
The Journal of Finance 2026 · pkg 15629
-
multiple-testing correction (FDR, Romano-Wolf, ...)2% · 10
4 examples in the code
- Credit Building or Credit Crumbling? A Credit Builder Loan's Effects on Consumer Behavior
Review of Financial Studies 2023 · pkg 181
qui gen fdr_temp = `qval' * rank / count
- What Drives Momentum and Reversal? Evidence from Day and Night Signals
Review of Financial Studies 2026 · pkg 273
global fdr "path\Replication"
- The Effect of Primary Dealer Constraints on Intermediation in the Treasury Market
Review of Financial Studies 2026 · pkg 282
import delimited "$data_rep_path/fdr-GSWA-query_2860a2af8fc417b50cbbff6d602e8dbc87e2ac82.txt", encoding(ISO-8859-9) clear
- Detecting Informed Trading Risk from Undercutting Activity
The Journal of Finance 2026 · pkg 15631
global fdr "path\Replication"
- Credit Building or Credit Crumbling? A Credit Builder Loan's Effects on Consumer Behavior
Review of Financial Studies 2023 · pkg 181
Share of 556 packages in the cell. A check run under a macro or in a file we could not read is missed, so these are lower bounds. Greyed: fewer than 10 packages.