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
reghdfe- clusters by
- does not cluster
- fixed effects
- time
- outliers
- no winsorizing / trimming found
- missing values
- replace missing with zero (imputation); drop rows with missing values; replace missing with another value (imputation)
- checks
- none of the design's checks found
- commands
reghdfe- clusters by
- county / city / district
- fixed effects
- county / city / district; author-named unit; time; county / city / district + time
- outliers
- no winsorizing / trimming found
- missing values
- —
- checks
- none of the design's checks found
- 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
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 financials2% · 42
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)1% · 28
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)
- Common Ownership and Entrepreneurship
AEA Papers and Proceedings 2021 · pkg 11142
keep if shrcd==10|shrcd==11|shrcd==12;
- The Decline of Too Big to Fail
American Economic Review 2025 · pkg 11582
keep if shrcd==10 | shrcd==11
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
keep if shrcd == 10|shrcd == 11|shrcd == 12
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
-
exclude utilities1% · 21
4 examples in the code
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
drop if sic>=4900 & sic<5000
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
drop if sic2==49
- Do Managers of U.S. Defined Benefit Pension Plan Sponsors Use Regulatory Freedom Strategic
Journal of Accounting Research 2017 · pkg 12524
drop if sic > 4899 & 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)]
- Understanding Cash Flow Risk
Review of Financial Studies 2022 · pkg 228
-
NYSE / AMEX / Nasdaq only (exchcd 1-3)1% · 17
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)
- Common Ownership and Entrepreneurship
AEA Papers and Proceedings 2021 · pkg 11142
keep if exchcd==1|exchcd==2|exchcd==3|exchcd==31|exchcd==32|exchcd==33;
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
keep if exchcd == 1|exchcd == 2|exchcd == 3
- 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) ) %>%
- The Present Value of Future Market Power
Review of Financial Studies 2026 · pkg 257
-
exclude public administration / unclassified1% · 14
4 examples in the code
- The Economic Impacts of COVID-19: Evidence from a New Public Database Built Using Private
Quarterly Journal of Economics 2024 · pkg 7415
drop if naics == 92 // drop those working in public sector to match CES (Total Private Employment)
- IT and Urban Polarization
American Economic Journal: Macroeconomics 2026 · pkg 11720
drop if naics3>=920 /* dropping either unspecified industries or government */
- The comparative advantage of cities
Journal of International Economics 2020 · pkg 12222
drop if naics==92 //County Business Patterns don't include public administration or armed forces, so we drop them here
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
drop if sic1==9
- The Economic Impacts of COVID-19: Evidence from a New Public Database Built Using Private
Quarterly Journal of Economics 2024 · pkg 7415
-
keep only manufacturing0% · 9
4 examples in the code
- Labor Market Power
American Economic Review 2022 · pkg 11191
keep if substr(naics_old,1,2)=="31" | substr(naics_old,1,2)=="32" |substr(naics_old,1,2)=="33"
- Input Linkages and the Transmission of Shocks: Firm-Level Evidence from the 2011 Tōhoku Ea
Review of Economics and Statistics 2019 · pkg 13882
drop if substr(naics_code,1,1)~="3"
- The Globalization Risk Premium
The Journal of Finance 2019 · pkg 15688
keep if sic>=2000 & sic<4000
- Distorted Innovation: Does the Market Get the Direction of Technology Right?
AEA Papers and Proceedings 2023 · pkg 16960
keep if naics_2g=="31"|naics_2g=="32"|naics_2g=="33" // Keep the manufacturing industries
- Labor Market Power
American Economic Review 2022 · pkg 11191
-
low-price stocks dropped (price < $1-$10)0% · 8
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
- Freedom of Expression Protection and Corporate Concealment of Bad News: Evidence from Stat
Journal of Accounting Research 2026 · pkg 12751
drop if prcc_f < 1
- 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
- What Drives Momentum and Reversal? Evidence from Day and Night Signals
Review of Financial Studies 2026 · pkg 273
-
keep only financials0% · 4
4 examples in the code
- Inflation Risk and the Finance-Growth Nexus
Review of Economic Studies 2026 · pkg 19083
keep if Fin == 1
- Plants in Space
Journal of Political Economy 2024 · pkg 80723
keep if sic2>=60 & sic2<=67
- 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
- Sources and Transmission of Country Risk
Review of Economic Studies 2024 · pkg 126860
keep if fin == 1
- Inflation Risk and the Finance-Growth Nexus
Review of Economic Studies 2026 · pkg 19083
-
NYSE / AMEX only (exchcd 1-2)0% · 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 + utilities0% · 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
-
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 financials + public administration / unclassified0% · 1
1 example in the code
- Firm Inattention and the Efficacy of Monetary Policy: A Text-Based Approach
Review of Economic Studies 2025 · pkg 18695
drop if inlist(naics2, 52, 92)
- Firm Inattention and the Efficacy of Monetary Policy: A Text-Based Approach
Review of Economic Studies 2025 · pkg 18695
Share of 2634 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
678 of 2,634 packages (26%) winsorize or trim something: 629 winsorize, 85 trim, 108 by group (e.g. by year).
-
winsorize 1/9954% · 369
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 none/9913% · 85
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
-
winsorize 5/9512% · 84
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 group10% · 67
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
- From Public Labs to Private Firms: Magnitude And Channels of Local R&D Spillovers
Quarterly Journal of Economics 2025 · pkg 7361
winsor2 tx, by(year) cuts(1 99) replace
- Competition for Attention in the ETF Space
Review of Financial Studies 2023 · pkg 110
-
trim 1/996% · 43
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
- Gambling, Saving, and Lumpy Liquidity Needs
American Economic Journal: Applied Economics 2021 · pkg 3475
drop if resids4 <r(p1) | resids4 > r(p99)
- Capitalists in the Twenty-First Century
Quarterly Journal of Economics 2019 · pkg 7496
trim_tails `v', level(.01)
- It Takes Two to Borrow: The Effects of the Equal Credit Opportunity Act on Housing, Credit
Review of Financial Studies 2023 · pkg 84
-
winsorize none/955% · 35
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
winsor `var'b, p(0.05) highonly gen(`var'b95)
- Understanding Bank Payouts during the Crisis of 2007–2009
Review of Corporate Finance Studies 2024 · pkg 7310
winsor `j'growthY1, generate(helper) p(0.05) highonly
- Discrimination in Multiphase Systems: Evidence from Child Protection
Quarterly Journal of Economics 2024 · pkg 7491
replace pre_n_prior_inv=r(p95) if pre_n_prior_inv>r(p95)
- The Psychosocial Value of Employment: Evidence from a Refugee Camp
American Economic Review 2022 · pkg 11252
winsor2 financial_3b, cuts(0 95)
- Credit Building or Credit Crumbling? A Credit Builder Loan's Effects on Consumer Behavior
Review of Financial Studies 2023 · pkg 181
-
winsorize 0.5/99.55% · 32
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), … - Permanent Capital Losses after Banking Crises
Quarterly Journal of Economics 2026 · pkg 7416
winsor2 Rtot_bank_excess Rtot_nonfin_excess, cuts(0.5 99.5) replace
- Labor Market Power
American Economic Review 2022 · pkg 11191
winsor direct_elast5_inv, p(.005) gen(direct_elast5_inv_wins)
- The True Colors of Money: Racial Representation and Asset Management
Review of Financial Studies 2026 · pkg 603
-
winsorize 2.5/97.55% · 32
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)
- Do Banks Pass through Credit Expansions to Consumers Who want to Borrow?
Quarterly Journal of Economics 2018 · pkg 7529
qui winsor2 lhs, cuts(2.5 97.5)
- Rising Markups and the Role of Consumer Preferences
Journal of Political Economy 2025 · pkg 7745
markup.rel.lerner.median = Winsorize(markup.rel.lerner.median, probs = c(0.025,0.975))
- The Effect of Primary Dealer Constraints on Intermediation in the Treasury Market
Review of Financial Studies 2026 · pkg 282
Share of the 678 packages that winsorize or trim (a package can use several cuts). Greyed: fewer than 10 packages.
Missing values
-
drop rows with missing values68% · 1795
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)50% · 1306
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)47% · 1248
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 values17% · 454
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 2634 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 estimation78% · 2056
- default iid only12% · 319
- robust only (never clusters)8% · 220
- other (HAC, bootstrap) only1% · 33
Of the 2,628 packages with a model that shows the design.
Main clustering level
-
author-named unitnames the reader has no word for, commonest first:
cc,dyad,mgmt_cd,cn,issuer_id,uniqid,border,call37% · 7544 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
-
unspecified id (id, i, group...)9% · 186
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)
- Gambling, Saving, and Lumpy Liquidity Needs
American Economic Journal: Applied Economics 2021 · pkg 3475
reghdfe btm ct ct0 ih_inc betprop lmeaninc if srvrd>2, a(srvrd week ntx) vce(cluster id)
- 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)
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
-
firm6% · 119
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
-
county / city / district5% · 107
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
-
state / province4% · 85
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)
- Product Innovation and Credit Market Disruptions
Review of Financial Studies 2023 · pkg 129
eststo: reghdfe lnrev c.std#c.crisis_cohort if survival1yr==1, absorb(g firm) vce(cl st)
- 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)
- Hidden Performance: Salary History Bans and the Gender Pay Gap
Review of Corporate Finance Studies 2022 · pkg 7281
reghdfe log_salary_annual treatment female, absorb(state year soc) cluster(state) keepsingletons
- Are Bankruptcy Professional Fees Excessively High?
Review of Financial Studies 2024 · pkg 17
-
two-way: author-named unit + author-named unitnames the reader has no word for, commonest first:
cc,dyad,mgmt_cd,cn,issuer_id,uniqid,border,call3% · 664 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
-
person3% · 62
4 examples in the code
- 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
- Disability Insurance: Error Rates and Gender Differences
Journal of Political Economy 2025 · pkg 7796
qui reghdfe earn_sga_3 rejected rejected_limited cantwork_notemp_appl female college racex2 experience /// doctor* ssi_only ssi_and_di m … - German Long-Term Health Insurance: Theory Meets Evidence
Journal of Political Economy 2025 · pkg 7804
xi: xtreg topublic age CurrentlyUnemployed civilservant selfemployed whitecollar hospitalnights doctorvisits fulltimeemployed parttimeemployed jobtraining Haup …
- Monitoring in Small Firms: Experimental Evidence from Kenyan Public Transit
American Economic Review 2024 · pkg 11500
reghdfe revenue mileage treat miles_treat if ed < 186 & mileage > 0 , a(d rid) cl(pid)
- Decision Weights for Experimental Asset Prices Based on Visual Salience
Review of Financial Studies 2022 · pkg 122
-
country3% · 60
4 examples in the code
- 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)
- Growth Experiences and Trust in Government
Quarterly Journal of Economics 2026 · pkg 7441
qui reghdfe trust_govt wgrowth_rate_1 yob_ln_gdppc if sample==1 & survey_year!=`x', absorb(ccode subregion_yob svy_survey_year age $basic) cluster(ccode) level( …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui reghdfe trust_govt wgrowth_rate_1 yob_ln_gdppc if sample==1 & survey_year!=`x', absorb(ccode subregion_yob svy_survey_year age sex marital religion edu) clu …
- Global Firms in Large Devaluations
Quarterly Journal of Economics 2024 · pkg 7625
xi: xtreg ratio`i' dlRER i.year i.ccode, fe cluster(id)
- Firm-Embedded Productivity and Cross-Country Income Differences
Journal of Political Economy 2023 · pkg 7812
reghdfe `var_dep' `variablelist' if year==`yy', abs(`abslist') vce(cluster `clusterlist')
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_ctfp k_y ln_hc if year==`yy', abs(year) vce(cluster isocode)
- Board Reforms, Stock Liquidity, and Stock Market Development
Review of Corporate Finance Studies 2025 · pkg 7249
-
time3% · 57
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 + timenames the reader has no word for, commonest first:
cc,dyad,mgmt_cd,cn,issuer_id,uniqid,border,call3% · 524 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
Share of the 2056 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
2529 of 2,628 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:
a,agebin,cs,s,cty,d,dist,dyad29% · 7294 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
-
author-named unit + timenames the reader has no word for, commonest first:
a,agebin,cs,s,cty,d,dist,dyad9% · 2364 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
-
time6% · 146
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
-
unspecified id (id, i, group...)5% · 131
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)
- Grantmaking, Grading on a Curve, and the Paradox of Relative Evaluation in Nonmarkets
Quarterly Journal of Economics 2024 · pkg 7666
areg ratio devPctAgree,a(grp)
- Learning to Disclose: Disclosure Dynamics in the 1890s Streetcar Industry
Review of Financial Studies 2025 · pkg 43
-
firm + time3% · 67
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
-
unspecified id (id, i, group...) + time2% · 62
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)
- Union Reform, Performance Pay, and New Teacher Supply: Evidence from Wisconsin's Act 10
AEA Papers and Proceedings 2021 · pkg 11130
areg perc_teach c_7 c_6 c_5 c_4 c_3 c_2 c c1 c2 c3 c4 c5 i.year [aw=tot], absorb(id) cluster(id)
- The Effects of Analyst‐Country Institutions on Biased Research: Evidence from Target Price
Journal of Accounting Research 2019 · pkg 12555
eststo: xi: xtreg `depvar3' `control', fe vce(cluster headqctry)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: xi: xtreg `depvar3' gdpp commonlaw logmv mb revt_growth intangible nanalyst turnoverpre12 retstd12 deltatp2tp return_rev optimism_eps firmex genex ntick …
- Public Attention and Auditor Behavior: The Case of Hurun Rich List in China
Journal of Accounting Research 2020 · pkg 12591
eststo: quietly xi:xtreg lognews_neg list logta lev roa tobinq i.indd i.year,robust fe i(code) cl(code)
- More Risk, More Information: How Passive Ownership Can Improve Informational Efficiency
Review of Financial Studies 2023 · pkg 50
-
country2% · 58
4 examples in the code
- 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])
- Banking Crises Without Panics
Quarterly Journal of Economics 2021 · pkg 7386
reghdfe Fd`i'`LHS' $RHS `X`j'' if smp_`LHS'==1 , absorb( ccode ) cluster(ccode year)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe Fd`i'`LHS' B1_R_B B2_R_B B3_R_B B4_R_B B6_R_B B7_R_B B8_R_B B1_R_N B2_R_N B3_R_N B4_R_N B6_R_N B7_R_N B8_R_N `X`j'' if smp_`LHS'==1 , absorb( ccode ) cl …
- The Mission: Human Capital Transmission, Economic Persistence, and Culture in South Americ
Quarterly Journal of Economics 2019 · pkg 7444
qui: xtreg popd mission temp_avg rainfall alti landlocked altisq tempsq rainsq , r fe
- Fiscal Stimulus under Sovereign Risk
Journal of Political Economy 2023 · pkg 7826
cap reghdfe dlogG dlogY L.dlogG if (year >= 1980), absorb(country) vce(cl country year)
- Bond Convenience Yields in the Eurozone Currency Union
Review of Financial Studies 2026 · pkg 277
-
firm2% · 45
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 …
- Endogenous Liquidity and Capital Reallocation
Journal of Political Economy 2025 · pkg 7751
qui:xtreg aqcdummy l.cheat l.ebitat l.logat_cpi_final l.lratio_c l.lratio_l l.capxat l.relative_size if l.at>=0 &aqc>=0 & l.lratio>=0, fe vce(robust)
- The employment consequences of private equity acquisitions: The case of institutional buy
European Economic Review 2014 · pkg 11864
xtreg lemployees l.lemployees lremuneration_over_employees l.lremuneration_over_employees lturnover_over_employees l.lturnover_over_employees post_acquisition a …
- Countercyclical Liquidity Policy and Credit Cycles: Evidence from Macroprudential and Mone
Review of Corporate Finance Studies 2026 · pkg 7284
-
person1% · 34
4 examples in the code
- 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
- What do Consumers Consider Before They Choose? Identification from Asymmetric Demand Respo
Quarterly Journal of Economics 2021 · pkg 7453
areg switch def_* diffmin_* yeardum*, absorb(bene_id) cluster(cont_plan_seg) robust;
- German Long-Term Health Insurance: Theory Meets Evidence
Journal of Political Economy 2025 · pkg 7804
areg lwage age age_2 age_b1 age_b1_sq age_b2 age_b2_sq if maxEd==10 & age>=25, abs(pid)
- Wealth and health behavior: Testing the concept of a health cost
European Economic Review 2014 · pkg 11971
xtreg logwealth inheritance age age2 sex drace* l.dcenreg1 l.dcenreg2 l.dcenreg3 l.dcenreg4 l.hhres l.child raedyrs l.loginc l.dsah* l.dmstat1 l.dmstat2 l.dmsta …
- Decision Weights for Experimental Asset Prices Based on Visual Salience
Review of Financial Studies 2022 · pkg 122
-
industry + time1% · 29
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
Share of the 2529 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:
a,agebin,cs,s,cty,d,dist,dyad66% · 17414 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
-
time52% · 1364
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
-
unspecified id (id, i, group...)16% · 422
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
-
firm13% · 330
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
-
county / city / district9% · 249
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
-
author-named unit × timenames the reader has no word for, commonest first:
a,agebin,cs,s,cty,d,dist,dyad9% · 2474 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
-
state / province7% · 192
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
-
industry7% · 188
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
-
country7% · 174
4 examples in the code
- Does Finance Benefit Society? A Language Embedding Approach
Review of Financial Studies 2026 · pkg 193
eststo: xtscc all_stdscore `varn' `cont' i.year, fe
- 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])
- Creditor-Control Rights and the Nonsynchronicity of Global CDS Markets
Review of Corporate Finance Studies 2025 · pkg 7243
reghdfe cdsns reform vix assetsus markettobook leverage recoveryrate jumprisk if baselinesample==1, absorb(country yearsic2) cluster(countrysic2)
- Board Reforms, Stock Liquidity, and Stock Market Development
Review of Corporate Finance Studies 2025 · pkg 7249
reghdfe stockvaluetraded firstreform lngdp gdpgrowth fdi domesticcredittoprivatesector grosssaving if reform55country==1, absorb(country fyear) vce(robust)
- Does Finance Benefit Society? A Language Embedding Approach
Review of Financial Studies 2026 · pkg 193
-
industry × time5% · 137
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
Share of 2628 packages with a model that shows the design. Greyed: fewer than 10 packages.
Estimator commands
-
reghdfe56% · 1475
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
-
areg30% · 795
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
-
xtreg21% · 559
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
-
felm4% · 94
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
-
feols3% · 91
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
-
reg2% · 49
3 examples in the code
- Implicit Stereotypes: Evidence From Teachers’ Gender Bias
Quarterly Journal of Economics 2019 · pkg 7410
reg d_score_gender olympics olympics_miss if mate==`i', robust cluster(school_id) absorb(school_id)
- The Economic Impacts of COVID-19: Evidence from a New Public Database Built Using Private
Quarterly Journal of Economics 2024 · pkg 7415
reg wins_revenue_ med_2br_2018 [w = pop_2018], absorb(sector)
- Sequential Bargaining in the Field: Evidence from Millions of Online Bargaining Interactio
Quarterly Journal of Economics 2020 · pkg 7459
eststo photo_new_leaf: reg rrat log_photo_count if used==0, absorb(anon_leaf_categ_id)robust
- Implicit Stereotypes: Evidence From Teachers’ Gender Bias
Quarterly Journal of Economics 2019 · pkg 7410
-
xtscc2% · 45
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
-
panelols1% · 31
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
-
plm1% · 31
3 examples in the code
- The Hedging Channel of Exchange Rate Determination
Review of Financial Studies 2025 · pkg 3901
plm.F3D = plm(F3D.fx ~ fxvol.std * debt_usd_gdp, dat.plm, model='within')
- Tax evasion in new disguise? Examining tax havens' international bank deposits
Journal of Public Economics 2019 · pkg 12142
outbound <- plm(log(lbs.l.all.nonbanks)~ treaty.signed+ as.factor(time), data=Data[country%in%taxhavenslarge & … - Challenging Encounters and Within-Physician Practice Variability
Review of Economics and Statistics 2025 · pkg 14024
Reg1 <-plm(formula = paste(outcome, "~TBI_Pre_6+TBI_Pre_5+TBI_Pre_4+TBI_Pre_3+TBI_Pre_2+TBI_1+TBI_2+TBI_3+TBI_4+TBI_5+TBI_6+TBI_7+TBI …
- The Hedging Channel of Exchange Rate Determination
Review of Financial Studies 2025 · pkg 3901
-
feglm1% · 14
3 examples in the code
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
mod_fe_tment_iacted <- feglm( veggie ~ delta_c02e_tment | day, data = smp %>% mutate(delta_c02e_tment = delta_co2e*tment), family = binomial(link = "logit …
- 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) - Governments’ home bias and efficiency losses: Evidence from national and subnational gover
Journal of International Economics 2026 · pkg 14433
feglm( s_odg ~ nonlocal:SUBNAT + nonlocal + SUBNAT|buyer_reg_gov_type +g_j +or_dest_id, cluster=firm_gov_reg_3digit$buyer_reg_gov_type,data=firm_gov_reg_3dig …
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
Share of 2628 packages with a model that shows the design (a package runs several). Greyed: fewer than 10 packages.
Validation checks
-
Oster (2019) selection bounds (psacalc)1% · 27
4 examples in the code
- The Quality and Efficiency of Public and Private Firms: Evidence from Ambulance Services
Quarterly Journal of Economics 2022 · pkg 7381
psacalc delta q_private, beta(0) rmax(0.247)
- Regressive Sin Taxes, with an Application to the Optimal Soda Tax
Quarterly Journal of Economics 2019 · pkg 7396
psacalc beta Knowledge, mcontrol(SelfControl $PVControls lnIncome lnEduc) rmax(`Rmax')
- Scooped! Estimating Rewards for Priority in Science
Journal of Political Economy 2025 · pkg 7682
cap psacalc beta scooped // beta star
- Soil Heterogeneity, Social Learning, and the Formation of Close-Knit Communities
Journal of Political Economy 2025 · pkg 7820
o_delta(y = dep.var.name, x = "SHI25", con = paste0("+ factor(", FEs, ")"), beta = 0, R2max = min(1, 1.3*summary(m6)$r2), …
- The Quality and Efficiency of Public and Private Firms: Evidence from Ambulance Services
Quarterly Journal of Economics 2022 · pkg 7381
-
multiple-testing correction (FDR, Romano-Wolf, ...)3% · 82
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
- Building Resilient Health Systems: Experimental Evidence from Sierra Leone and The 2014 Eb
Quarterly Journal of Economics 2021 · pkg 7365
if `index' noisily dis "`index' is FDR adjusted."
- Credit Building or Credit Crumbling? A Credit Builder Loan's Effects on Consumer Behavior
Review of Financial Studies 2023 · pkg 181
Share of 2634 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.