Matching
This design across fields
| Field | packages | main clustering (of those that cluster) | winsorize / trim | checks |
|---|---|---|---|---|
| All fields | 309 | author-named unit 40%; firm 14%; unspecified id (id, i, group...) 10%; county / city / district 5% (n=58) | 36% | balance table / standardised differences 4%; multiple-testing correction 5% |
| Finance | 74 | author-named unit 18%; firm 18%; industry 18%; firm × time 9% (n=11) | 61% | balance table / standardised differences 4%; multiple-testing correction 0% |
| Accounting | 17 | firm 50%; author-named unit 25%; unspecified id (id, i, group...) 25% (n=4) | 76% | balance table / standardised differences 0%; multiple-testing correction 0% |
| Economics | 211 | author-named unit 47%; firm 9%; unspecified id (id, i, group...) 9%; county / city / district 7% (n=43) | 25% | balance table / standardised differences 4%; multiple-testing correction 8% |
| Other fields | 7 thin | (n=0) | 0% | balance table / standardised differences 0%; multiple-testing correction 0% |
The typical package, and three that differ
Typical = the package that makes the most of this cell's modal choices
(psmatch2, clustered by firm, industry + 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
psmatch2,reg- clusters by
- does not cluster
- fixed effects
- industry + time
- outliers
- no winsorizing / trimming found
- missing values
- replace missing with zero (imputation); drop rows with missing values; replace missing with another value (imputation)
- sample years
- 1994–2009 (as on the package page)
- checks
- none of the design's checks found
- commands
psmatch2,reghdfe,reg,ivreghdfe- clusters by
- county / city / district; unexpanded macro
- fixed effects
- time
- outliers
- no winsorizing / trimming found
- missing values
- replace missing with zero (imputation); replace missing with another value (imputation); drop rows with missing values
- sample years
- 1990–2016 (as on the package page)
- checks
- none of the design's checks found
- commands
psmatch2- clusters by
- does not cluster
- fixed effects
- time
- outliers
- no winsorizing / trimming found
- missing values
- drop rows with missing values
- checks
- none of the design's checks found
- commands
etregress,teffects- clusters by
- loan
- fixed effects
- industry + time; industry
- outliers
- no winsorizing / trimming found
- missing values
- —
- checks
- none of the design's checks found
Sample screens
-
exclude financials3% · 9
4 examples in the code
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
drop if sic4 >= 6000 & sic4 <= 6999
- The Determinants of ESG Ratings: Rater Ownership Matters
Journal of Accounting Research 2026 · pkg 12763
drop if substr(sic,1,1)=="6"
- The Unintended Impact of R&D Tax Credits on Innovative Search
Review of Economics and Statistics 2024 · pkg 13800
drop if sic >= 6000 & sic <= 6999 // drop financials
- Poison Pills in the Shadow of the Law
Journal of Financial and Quantitative Analysis 2025 · pkg 14105
drop if sich1==6
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
-
common shares only (shrcd 10/11)2% · 5
4 examples in the code
- Product Market Competition, Mergers and Acquisitions, and Covenant Redesign
Review of Corporate Finance Studies 2025 · pkg 7313
keep if (shrcd)==10 | (shrcd)==11
- Does Stakeholder Outrage Determine Executive Pay?
Review of Corporate Finance Studies 2026 · pkg 7322
keep if inrange(shrcd,10,11)
- Corporate Litigation, Governance, and the Role of Law Firms
Journal of Accounting Research 2026 · pkg 12758
keep if count==1 | ( count > 1 & (shrcd==10 | shrcd==11) )
- Can Social Media Inform Corporate Decisions? Evidence from Merger Withdrawals
The Journal of Finance 2026 · pkg 15597
filter(., EXCHCD %in% c(1,2,3), SHRCD %in% c(10,11,12,31)) %>%
- Product Market Competition, Mergers and Acquisitions, and Covenant Redesign
Review of Corporate Finance Studies 2025 · pkg 7313
-
exclude utilities1% · 3
3 examples in the code
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
drop if sic4 >= 4900 & sic4 <= 4999
- Poison Pills in the Shadow of the Law
Journal of Financial and Quantitative Analysis 2025 · pkg 14105
drop if sich2==49
- Navigating through cyberattacks: The role of tax aggressiveness
Journal of Corporate Finance 2024 · pkg 113335
drop if inrange(sic2, 49, 49)
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
-
exclude financials + utilities1% · 2
2 examples in the code
- CEO turnover and director reputation
Journal of Financial Economics 2025 · pkg 14217
drop if (sic_interlock >= 60 & sic_interlock < 70) | sic_interlock == 49
- Cushioning the Blow: How Firms Target Credit Ratings
Review of Corporate Finance Studies 2026 · pkg 252692
drop if (sic>="6000" & sic<="6999") | (sic>="4900" & sic<="4999")
- CEO turnover and director reputation
Journal of Financial Economics 2025 · pkg 14217
-
exclude public administration / unclassified1% · 2
2 examples in the code
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
drop if sic4 >= 9000 & sic4 <= 9999
- Trade Credit and the Transmission of Unconventional Monetary Policy
Review of Financial Studies 2023 · pkg 160603
drop if sic2>=90 & sic2<=99
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
-
low-price stocks dropped (price < $1-$10)1% · 2
2 examples in the code
- A Catering Theory of Earnings Guidance: Empirical Evidence and Stock Market Implications
Journal of Financial and Quantitative Analysis 2026 · pkg 14132
guidance <- subset(guidance, price_prev >= 10)
- Inalienable Human Capital and Inevitable Corporate Payouts
Financial Management 2026 · pkg 39511
keep if fyear>=1993 & $SampSelect
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):keep if fyear>=1993 & misstate!=1 & misincorp!=1 & prcc_f>=1 & at>=1 & utf!=1
- A Catering Theory of Earnings Guidance: Empirical Evidence and Stock Market Implications
Journal of Financial and Quantitative Analysis 2026 · pkg 14132
-
NYSE / AMEX / Nasdaq only (exchcd 1-3)0% · 1
1 example in the code
- Can Social Media Inform Corporate Decisions? Evidence from Merger Withdrawals
The Journal of Finance 2026 · pkg 15597
filter(., !is.na(permno_acq), # keep mergers where acquirer has permno exchcd_acq >= 1, exchcd_acq <= 3, # acquirer on NYSE, AMEX, NASDAQ s …
- Can Social Media Inform Corporate Decisions? Evidence from Merger Withdrawals
The Journal of Finance 2026 · pkg 15597
Share of 309 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
110 of 309 packages (36%) winsorize or trim something: 103 winsorize, 15 trim, 11 by group (e.g. by year).
-
winsorize 1/9968% · 75
4 examples in the code
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
winsor2 leverage_net, replace cuts(1 99)
- The Effects of Going Public on Firm Profitability and Strategy
Review of Financial Studies 2025 · pkg 203
winsor new_var, p(0.01) gen(new_var_w)
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
winsor2 unemployment_rate , cuts(1 99)
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
winsor2 dealvalue_rd a_car0101_r a_mktcap_rd a_q a_lvb a_amihudliq a_roa rel_size, replace cuts(1 99) replace
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
-
winsorize 5/9518% · 20
4 examples in the code
- Index Creation, Information Changes, and Financing
Journal of Accounting Research 2025 · pkg 12741
winsor spread_median, p(0.05) gen(w_spread)
- Poison Pills in the Shadow of the Law
Journal of Financial and Quantitative Analysis 2025 · pkg 14105
winsor2 q totq eret4f roa1 at, cuts(5 95) suffix(_w5)
- Collateral eligibility of corporate debt in the Eurosystem
Journal of Financial Economics 2024 · pkg 14193
winsor2 YieldSpread if wind_hc_imp_dt == 1, replace cuts(5 95)
- Can Social Media Inform Corporate Decisions? Evidence from Merger Withdrawals
The Journal of Finance 2026 · pkg 15597
~winsor1(., 0.05), # winsorize at 5%
- Index Creation, Information Changes, and Financing
Journal of Accounting Research 2025 · pkg 12741
-
winsorize none/9913% · 14
4 examples in the code
- Violence against Women at Work
Quarterly Journal of Economics 2024 · pkg 7406
replace share_fswitch3=`top1' if share_fswitch3>`top1'
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):replace share_fswitch3=r(p99) if share_fswitch3>r(p99)
- The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
replace L =r(p99) if L>r(p99) & L!=.
- Housing Discrimination and the Toxics Exposure Gap in the United States: Evidence from the
Review of Economics and Statistics 2022 · pkg 13623
winsor2 rent, suffix(_w) cuts(0 99)
- Optimal Ownership and Firm Performance: An Analysis of China’s FDI Liberalization
Review of Economics and Statistics 2026 · pkg 13924
winsor2 ipweight, cuts(0 99) replace
- Violence against Women at Work
Quarterly Journal of Economics 2024 · pkg 7406
-
trim 1/9910% · 11
4 examples in the code
- Collateral Effects: The Role of FinTech in Small Business Lending
Review of Financial Studies 2026 · pkg 205
winsor2 `x', suffix(_trim) cut(1 99) trim
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
winsor2 d_cash_rd_s lag1_cash_rd_s d_earnings_rd_s d_net_assets_rd_s d_rd_rd_s d_interest_exp_rd_s d_dividends_rd_s leverage_mkt net_financing_rd_s stock_purcha …
- Major Reforms in Electricity Pricing: Evidence from a Quasi-Experiment
The Economic Journal 2022 · pkg 17877
keep if inrange(c_ele, r(p1), r(p99))
- On Target? Sanctions and the Economic Interests of Elite Policymakers in Iran
The Economic Journal 2022 · pkg 73903
drop if (return <= r(p1) | return >= r(p99))
- Collateral Effects: The Role of FinTech in Small Business Lending
Review of Financial Studies 2026 · pkg 205
-
winsorize 1/99 by group6% · 7
4 examples in the code
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
winsor2 oibdp_at, cuts(1 99) by(fyear)
- Corporate Litigation, Governance, and the Role of Law Firms
Journal of Accounting Research 2026 · pkg 12758
winsor2 lnlen_case_summary flesch_reading_ease type_token_ratio, cuts(1 99) replace by(year_s)
- AI Democratization and Trading Inequality
Journal of Accounting Research 2026 · pkg 12765
winsor2 `var', cuts(1 99) replace by(dq)
- Export shocks and banks’ domestic credit: Balancing liquidity provision and risk mitigatio
Journal of International Economics 2025 · pkg 14414
winsor2 `x', cuts(1 99) by(foreign_fil)
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
-
winsorize 0.5/99.54% · 4
4 examples in the code
- Does Stakeholder Outrage Determine Executive Pay?
Review of Corporate Finance Studies 2026 · pkg 7322
winsor2 `yvar', cuts(.5 99.5) suffix(_w)
- The Real Effects of Environmental Activist Investing
Review of Financial Studies 2026 · pkg 39598
abnormal_return_market_w = winsorize(abnormal_return_market),
- Behavioral Responses to State Income Taxation of High Earners: Evidence from California
American Economic Journal: Economic Policy 2024 · pkg 89728
winsor ca_agi, p(0.005) gen(ca_agi_w)
- The Unequal Consequences of Job Loss across Countries
American Economic Review: Insights 2023 · pkg 155454
winsor2 daily_wages , cuts(0.5 99.5) replace
- Does Stakeholder Outrage Determine Executive Pay?
Review of Corporate Finance Studies 2026 · pkg 7322
-
winsorize 0.1/99.93% · 3
3 examples in the code
- Can Social Media Inform Corporate Decisions? Evidence from Merger Withdrawals
The Journal of Finance 2026 · pkg 15597
tar_spread = DescTools::Winsorize( tar_spread, val = quantile(tar_spread, probs = c(.001, .999), na.rm = T)),
- Bank Competition Amid Digital Disruption: Implications for Financial Inclusion
The Journal of Finance 2026 · pkg 15636
winsor2 branch_dep, c(0.1 99.9) s(_w)
- The Unequal Consequences of Job Loss across Countries
American Economic Review: Insights 2023 · pkg 155454
winsor2 dailyWage, cuts(.1 99.9) replace
- Can Social Media Inform Corporate Decisions? Evidence from Merger Withdrawals
The Journal of Finance 2026 · pkg 15597
-
winsorize 5/993% · 3
3 examples in the code
- Index Creation, Information Changes, and Financing
Journal of Accounting Research 2025 · pkg 12741
winsor cumulative_abnormal_return4, p(0.01) gen(w_car4)
- You can’t always get what you want (where you want it): Cross-border effects of the US mon
Journal of International Economics 2024 · pkg 14352
winsor2 `var', suffix(W) cuts(1 99)
- Profiting from Most-Favored-Customer Procurement Rules: Evidence from Medicaid
American Economic Journal: Economic Policy 2023 · pkg 16936
winsor noM_discount2, gen(noM_discount2_wins) p(0.01)
- Index Creation, Information Changes, and Financing
Journal of Accounting Research 2025 · pkg 12741
Share of the 110 packages that winsorize or trim (a package can use several cuts). Greyed: fewer than 10 packages.
Missing values
-
drop rows with missing values78% · 241
4 examples in the code
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
drop if amb_rating == .
- Adjusting to Macroprudential Policies: Loan-to-Value Limits and Housing Choice
Review of Financial Studies 2023 · pkg 80
drop if yeshuv_memuman_id==. | val_neches_memuman==. | dt_buy_neches_memuman==.
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
drop if synremote==.
- The Effects of Going Public on Firm Profitability and Strategy
Review of Financial Studies 2025 · pkg 203
drop if post==.
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
-
replace missing with zero (imputation)59% · 181
4 examples in the code
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
replace notional_amt = 0 if notional_amt == .
- Collateral Effects: The Role of FinTech in Small Business Lending
Review of Financial Studies 2026 · pkg 205
replace outsideloan = 0 if outsideloan == .
- The Broader Role of Venture Capital Due Diligence
Review of Financial Studies 2026 · pkg 279
replace f=0 if f==.
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
replace rnd_w=0 if rnd_w==.
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
-
replace missing with another value (imputation)55% · 171
4 examples in the code
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
replace acc_count = seq - event if acc_count == .
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
replace `i'gr=1 if `i'<=0.25&`i'gr==.
- Collateral Effects: The Role of FinTech in Small Business Lending
Review of Financial Studies 2026 · pkg 205
replace ratings = 99 if missing(ratings)
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
replace xlr2 = xsga3* sic2_year_mean_xlr_xsga if xlr2==.
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
-
interpolate missing values25% · 77
4 examples in the code
- Collateral Effects: The Role of FinTech in Small Business Lending
Review of Financial Studies 2026 · pkg 205
by siren: carryforward scoredeltap2p, replace
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
carryforward
- Energy Transitions and Household Finance: Evidence from U.S. Coal Mining
Review of Corporate Finance Studies 2023 · pkg 7279
carryforward `v'_2001, replace
- Product Market Competition, Mergers and Acquisitions, and Covenant Redesign
Review of Corporate Finance Studies 2025 · pkg 7313
bysort issuer_id: ipolate atq_ef calYrQtr, g(atq_ipo)
- Collateral Effects: The Role of FinTech in Small Business Lending
Review of Financial Studies 2026 · pkg 205
Share of 309 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
- default iid only73% · 214
- clusters in at least one estimation20% · 58
- robust only (never clusters)6% · 19
- other (HAC, bootstrap) only1% · 4
Of the 295 packages with a model that shows the design.
Main clustering level
-
author-named unitnames the reader has no word for, commonest first:
rezfe_num,a7,bgkeynum,boardid,cluster_municipality_bracket,countyn,ct,eid40% · 234 examples in the code
- Local Elites as State Capacity: How City Chiefs Use Local Information to Increase Tax Comp
American Economic Review 2022 · pkg 3482
eststo: reg taxes_paid t_l i.house i.stratum [iw=cem_w],cl(a7)
- Black Empowerment and White Mobilization: The Effects of the Voting Rights Act
Journal of Political Economy 2025 · pkg 7727
xi: reg ch_ln_votreg_black_pct_pres black_share60_lit_nc black_share60 $controls_int ibn.STATE [aweight=pop1960] if cem_matched == 1 , nocon robust cluster(judi …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi: reg ch_ln_votreg_black_pct_pres black_share60_lit_nc black_share60 c.family_less_3000#literacy_nc c.unemp60#literacy_nc c.rural_farm60#literacy_nc c.cotton_ …
- Labor Supply Responses and Adjustment Frictions: A Tax-Free Year in Iceland
American Economic Journal: Economic Policy 2025 · pkg 11642
reg log_laun_heild_SGS post_87_treatment_3_0 bracket3 bracket2 bracket1 bracket0 i.ar /// i.lag_occupation i.capital_area [aw=cem_weight] if ar >= 1986 & ar <= …
- Disrupting Drug Markets: The Effects of Crackdowns on Rogue Opioid Suppliers
American Economic Journal: Economic Policy 2025 · pkg 11658
countyimpact <- feols(MME_PC ~ treatment | county_fips + state^year, data = matchedNNPS, weights = matchedNNPS$weights, cluster = ~subclass)
- Local Elites as State Capacity: How City Chiefs Use Local Information to Increase Tax Comp
American Economic Review 2022 · pkg 3482
-
firm14% · 8
4 examples in the code
- Corporate Litigation, Governance, and the Role of Law Firms
Journal of Accounting Research 2026 · pkg 12758
reghdfe lnsettle_ins star10 $controls [aweight = nmatches], a($fe_s) cluster($clustering)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lnsettle_ins star10 lnat_r_w sale_growth_w liabilities_assets_w bm_w return1_w return_std_dev1_w return_skewness1_w turnover1_w [aweight = nmatches], a( …
- Optimal Ownership and Firm Performance: An Analysis of China’s FDI Liberalization
Review of Economics and Statistics 2026 · pkg 13924
qui reghdfe `y' 1.lib1_full01##after01 c.TPU_1996#ib2000.year c.AHS_simple98#ib2000.year [pw=ipweight], cluster(firm_id) absorb(firm_id cic2#year)
- Currency flotation and dividend policies: Evidence from China's central parity reform
Financial Management 2024 · pkg 34364
reghdfe div_yield fx_beta_post fx_beta $cv /// if _weight != .& hedge==1, absorb(year firm) vce(cluster firm) keepsingletonsAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe div_yield fx_beta_post fx_beta size roe lev asset_growth ocf tangible capex admin_rev seo if _weight != .& hedge==1, absorb(year firm) vce(cluster firm) …
- Financial debt contracting and managerial agency problems
Financial Management 2024 · pkg 39084
qui: eststo m1: reg d_cov treat if matched == 1, vce(cluster gvkey)
- Corporate Litigation, Governance, and the Role of Law Firms
Journal of Accounting Research 2026 · pkg 12758
-
unspecified id (id, i, group...)10% · 6
4 examples in the code
- The Effects of Going Public on Firm Profitability and Strategy
Review of Financial Studies 2025 · pkg 203
eststo:qui xtivreg2 wroa (IPO=instrument) deventyear2 deventyear3 deventyear4 deventyear5 dsic1year* dmonth* [aweight = cem_weights], fe first cluster(id) parti …
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
reghdfe log_salary p_b [aweight= cem] if d_dept`i'==1, absorb(i.age_bins#i.b id year) vce(cluster id)
- Do Engagement Quality Reviewers’ Workplace Ties with Engagement Partners Influence Audit Q
Journal of Accounting Research 2026 · pkg 12788
eststo:qui reghdfe ABSDA $x $controls if !missing(_weight), absorb(ind year InstitutionID) vce(cluster code) keepsingletons
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo:qui reghdfe ABSDA WORKTIE WORKTIE_ENG1_ENG2 ALUM_TIE SIZE LEV ROA LOSS BM CFO SUBS AGE TURNOVER SOE TENURE SIZE_AF DSPEC_ENG DSPEC_EQR SAMEGEN CI LOCAL C …
- Vertical Integration and Cream Skimming of Profitable Referrals: The Case of Hospital-Owne
American Economic Journal: Economic Policy 2026 · pkg 17500
capture noisily: reghdfe `depvar' c.pred_change_ind##ib201.real_quarter `depvar'_pred `depvar'_pred* [aw = `depvar'_weight], /// absorb(i.hospital##c.pred_c …
- The Effects of Going Public on Firm Profitability and Strategy
Review of Financial Studies 2025 · pkg 203
-
county / city / district5% · 3
3 examples in the code
- The economic consequences of being widowed by war: A life-cycle perspective
Journal of Public Economics 2024 · pkg 14681
teffects ipw (`y') (d_warwidow d_houseowner_1939 d_expellee d_SBZ siblings i.years_education i.occ_cat10_1939 i.sector_cat6_1939 i.birth_year), atet vce(cluster …
- Clean Energy Access: Gender Disparity, Health and Labour Supply
The Economic Journal 2023 · pkg 73916
reghdfe lung i.treat##ib0.post i.treat##ib0.pre height7 age7 [aw=cem_weights] if cem_matched==1, absorb(dist) cl(district)
- Clean Identification? The Effects of the Clean Air Act on Air Pollution, Exposure Disparit
American Economic Journal: Economic Policy 2025 · pkg 155452
reghdfe pm25_`pmdatasource' ib2005.yearnon i.year [aweight=matchweight] , noabsorb cluster(countyid)
- The economic consequences of being widowed by war: A life-cycle perspective
Journal of Public Economics 2024 · pkg 14681
-
industry5% · 3
3 examples in the code
- Shareholder-Creditor Conflict and the Resolution of Financial Distress
Review of Corporate Finance Studies 2025 · pkg 7318
quietly reghdfe out1 MAdummy [fweight=_weight], cluster (sic2)
- Shareholder-Creditor Conflict and the Resolution of Financial Distress
Review of Corporate Finance Studies 2025 · pkg 39107
quietly reghdfe out1 MAdummy [fweight=_weight], cluster (sic2)
- The Peer Effect on Future Wages in the Workplace
Journal of Applied Econometrics 2025 · pkg 46684
reg `var' treated if matched==1, cluster(sector_num)
- Shareholder-Creditor Conflict and the Resolution of Financial Distress
Review of Corporate Finance Studies 2025 · pkg 7318
-
geography (other)3% · 2
2 examples in the code
- Improving Women’s Mental Health during a Pandemic
American Economic Journal: Applied Economics 2024 · pkg 155073
teffects ipw (end_pss_score_sdidx) (treat pss_d age_respondent Edu_respondent i.occ_respondent i.income_loss nmember nchild household_head i.occ_husband chores …
- Who Watches the Watchmen? Local News and Police Behavior in the United States
American Economic Journal: Economic Policy 2025 · pkg 155497
eststo: reghdfe clr_rate_violent_99_w i.ownedby_sinclair##i.covered_p50 /// i.ownedby_sinclair##c.($population $demogr …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe clr_rate_violent_99_w i.ownedby_sinclair##i.covered_p50 i.ownedby_sinclair##c.(ln_pop share_male share_black share_hispanic share_2yrscollege sh …
- Improving Women’s Mental Health during a Pandemic
American Economic Journal: Applied Economics 2024 · pkg 155073
-
school / class3% · 2
2 examples in the code
- What’s in a Job? Evaluating the Effect of Private Sector Employment Experience on Student
AEA Papers and Proceedings 2022 · pkg 84658
capture reg $Y T i.GENDER i.RACE FREEorREDLUNCH ELL SPEC_ED_6to21 i.GRADE_1415 $Y_pre i.SCHOOL missing_${Y} missing_${Y_pre} [iweight = cem_weights] if cem_weig …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):capture reg ${y`n'} T i.GENDER i.RACE FREEorREDLUNCH ELL SPEC_ED_6to21 i.GRADE_1415 ${y`n'_pre} i.SCHOOL missing_${y`n'} missing_${y`n'_pre} [iweight = cem_weig … - Police Violence, Student Protests, and Educational Performance
Review of Economics and Statistics 2024 · pkg 159590
reghdfe MissingSchool $T [aw=cem_weights], abs(mrun protest_day cem_strata#i.protest_day) vce(cluster rbd)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe MissingSchool d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 [aw=cem_weights], abs(mrun protest_day cem_strata#i.protest_day) vce(cluster rbd)
- What’s in a Job? Evaluating the Effect of Private Sector Employment Experience on Student
AEA Papers and Proceedings 2022 · pkg 84658
-
state / province3% · 2
2 examples in the code
- The Birth of a Nation: Media and Racial Hate
American Economic Review 2023 · pkg 154904
kmatch ps BON $ctrls, ematch(state_fips) vce(cluster state_fips) replace keepall generate(all_*)
- Natural Disasters, Technology Diversity, and Operating Performance
Review of Economics and Statistics 2018 · pkg 156418
areg roa inno_dis hit_ratio hi_tech_div_dm $xclist i.year if _weight~=.,a(gvkey) cluster(state)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):areg roa inno_dis hit_ratio hi_tech_div_dm size size2 age page tang s_hhi rdc sum5yr sga ad ind_year state_year i.year if _weight~=.,a(gvkey) cluster(state)
- The Birth of a Nation: Media and Racial Hate
American Economic Review 2023 · pkg 154904
-
firm × time2% · 1
1 example in the code
- J’Accuse! Antisemitism and financial markets in the time of the Dreyfus Affair
Journal of Financial Economics 2024 · pkg 14199
eststo: reghdfe return_i treat if m_matched==1 & period2==0 & period1==0, a(i.m_strata) cluster(firmperiod)
- J’Accuse! Antisemitism and financial markets in the time of the Dreyfus Affair
Journal of Financial Economics 2024 · pkg 14199
-
loan2% · 1
1 example in the code
- Are syndicated loans truly less expensive? ✩
Journal of Banking & Finance 2020 · pkg 12309
quietly /// etregress tot_spread /// synd##i.dA_Size /// c.log_dlLD##i.dA_Size /// c.log_trPP c.SyndLeadRatio c.SyndLeadReputation /// c.log_ …
- Are syndicated loans truly less expensive? ✩
Journal of Banking & Finance 2020 · pkg 12309
Share of the 58 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
63 of 295 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:
cem_strata,eduyear,ev,account_age,account_age#first_year,age_bin#i.black,age_bins#i.b,age_bins#i.black16% · 104 examples in the code
- Labor Supply Responses and Adjustment Frictions: A Tax-Free Year in Iceland
American Economic Journal: Economic Policy 2025 · pkg 11642
reghdfe `x' d1984_treatment d1985_treatment treatment d1987_treatment /// if ar >= 1984 & ar <= 1987 [aw=cem_weights], /// absorb(ar cem_strata) cluster(cluster …
- Baby Bumps in the Road: The Impact of Parenthood on Job Performance, Human Capital, and Ca
Review of Economics and Statistics 2026 · pkg 13098
eststo: reghdfe level mean_fit* L34age L34black L34hisp L34other L34ability_z L34married L34milspouse L34educ L34Other_mos L34Combat_mos L34AVN_mos L34C …
- J’Accuse! Antisemitism and financial markets in the time of the Dreyfus Affair
Journal of Financial Economics 2024 · pkg 14199
eststo: reghdfe return_i treat if m_matched==1 & period2==0 & period1==0, a(i.m_strata) cluster(firmperiod)
- Vertical Integration and Cream Skimming of Profitable Referrals: The Case of Hospital-Owne
American Economic Journal: Economic Policy 2026 · pkg 17500
capture noisily: reghdfe `depvar' c.pred_change_ind##ib201.real_quarter `depvar'_pred `depvar'_pred* [aw = `depvar'_weight], /// absorb(i.hospital##c.pred_c …
- Labor Supply Responses and Adjustment Frictions: A Tax-Free Year in Iceland
American Economic Journal: Economic Policy 2025 · pkg 11642
-
industry + time13% · 8
4 examples in the code
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
xi:psmatch2 synremote $c_matching i.year i.ind i.month, out(attendper) logit neighbor(1) noreplacement caliper(0.0001)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:psmatch2 synremote performdrop interval avginddiflc avgindtenure boardsize propnum annmt bmnum roa lev size state instratio i.year i.ind i.month, out(attendp …
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
psmatch2 treatment ln_mveq_rd leverage_mkt cbdefml ceoownership activeownership5 div busseg cown_mean i.lstateFE i.fyear i.sic2, n(1)
- Are syndicated loans truly less expensive? ✩
Journal of Banking & Finance 2020 · pkg 12309
quietly /// etregress tot_spread /// synd##i.dA_Size /// c.log_dlLD##i.dA_Size /// c.log_trPP c.SyndLeadRatio c.SyndLeadReputation /// c.log_ … - Do Engagement Quality Reviewers’ Workplace Ties with Engagement Partners Influence Audit Q
Journal of Accounting Research 2026 · pkg 12788
eststo:qui etregress ABSDA $controls i.ind i.year i.InstitutionID, treat($x = SHOCK_PROMOTE $controls2 i.ind i.year i.fensuo) twostep first
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo:qui etregress ABSDA WORKTIE_ENG1_ENG2 ALUM_TIE SIZE LEV ROA LOSS BM CFO SUBS AGE TURNOVER SOE TENURE SIZE_AF DSPEC_ENG DSPEC_EQR SAMEGEN CI LOCAL COREVIE …
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
-
time13% · 8
4 examples in the code
- Cadasters and Economic Growth: A Long-Run Cross-Country Panel
Journal of Political Economy 2024 · pkg 7714
qui teffects ipw (y2dep`n') (tcad lag1y2 lag2y2 lag3y2 lag4y2 i.year, noconstant probit) if year>=1900&cname!="Kuwait"&cname!="Qatar", atet iterate(7)
- Pension Benefit Insurance And Pension Plan Portfolio Choice
Review of Economics and Statistics 2013 · pkg 13000
xi: psmatch2 ins l_tot_asset l_tot_asset_sq l_tot_asset_cub l_memb l_memb_sq l_memb_cub l_assetXl_memb share_retired l_assetXsh_ret /* */ master_alt i.year, ker …
- Offshoring and job polarisation between firms
Journal of International Economics 2024 · pkg 14361
cap eststo b`1'17: cap etregress dges i.time i.`4'#c.`3' sroutine [aw=`2'] if `5'==1, treat(`4' =gz9699 i.time) cluster(wz93)
- Price and Probability: Decomposing the Takeover Effects of Anti‐Takeover Provisions
The Journal of Finance 2020 · pkg 15747
xi: nnmatch postmergSDC yesSimple lnsale2 profmargin_2 lnmk2 cashliquid_2 instown_perc2 indav_tq2 indav_lnmk2 eindexi_2 i.year, m(2)
- Cadasters and Economic Growth: A Long-Run Cross-Country Panel
Journal of Political Economy 2024 · pkg 7714
-
author-named unit + timenames the reader has no word for, commonest first:
cem_strata,eduyear,ev,account_age,account_age#first_year,age_bin#i.black,age_bins#i.b,age_bins#i.black5% · 33 examples in the code
- Climate Risk and Preferences over the Size of Government: Evidence from California Wildfir
Review of Economics and Statistics 2025 · pkg 14070
reghdfe biggovshare bigfire [fweight=match], absorb(i.bgkeynum i.yearfe) vce(cluster bgkeynum)
- The death of a regulator: Strict supervision, bank lending, and business activity
Journal of Financial Economics 2024 · pkg 113270
eststo: reghdfe lnamount c.OTS##c.post c.nbranches##c.nbranches c.lndep##c.lndep [aweight=cem_weights], absorb(ctyr bkct) vce(cl ct) tolerance(0.0000001)
- The Corporatization of Independent Hospitals
Journal of Political Economy Microeconomics 2024 · pkg 129738
xtreg `var' bought_1`is' `hospcontrol' `ptntcontrol' `drg' `fe' if (`treat' | `control') `WT', fe vce(cluster num_prv)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xtreg `var' bought_1ss bdtot teach mcare mcaid type_gac rural white college unempl poverty elderly state_exp_status hhi female age utilm90 fullyinsured tot_drgw …
- Climate Risk and Preferences over the Size of Government: Evidence from California Wildfir
Review of Economics and Statistics 2025 · pkg 14070
-
region / MSA / CZ5% · 3
3 examples in the code
- Effects of Parental Death on Labor Market Outcomes
American Economic Review 2026 · pkg 17512
teffects nnmatch (outcome i.earnlevel_0 i.ageg i.child2 i.cohabitation2 i.region2 i.public2 i.educ_level_num2 i.age_of_youngest_int_cat i.father_ageg i.mother_a …
- Inalienable Human Capital and Inevitable Corporate Payouts
Financial Management 2026 · pkg 39511
xi:psmatch2 iddrt $control i.region i.cohort_iddr if fyear>=1994 & misstate!=1 & misincorp!=1 & prcc_f>=1 & at>=1 & utf!=1,outcome(divy_t) n(1) ate ties logit c …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:psmatch2 iddrt llogasset lleverage llogage lmb lgsale lopcfasset2 learn_vol lcheat lroa i.region i.cohort_iddr if fyear>=1994 & misstate!=1 & misincorp!=1 & …
- Interest Rate Pass-Through and Consumption Response: The Deposit Channel
Review of Economics and Statistics 2021 · pkg 159554
qui xi: psmatch2 treat age married male domresi native college wealth i.region, logit common neighbor(1) noreplacement
- Effects of Parental Death on Labor Market Outcomes
American Economic Review 2026 · pkg 17512
-
state / province5% · 3
3 examples in the code
- Black Empowerment and White Mobilization: The Effects of the Voting Rights Act
Journal of Political Economy 2025 · pkg 7727
xi: reg ch_ln_votreg_black_pct_pres black_share60_lit_nc black_share60 $controls_int ibn.STATE [aweight=pop1960] if cem_matched == 1 , nocon robust cluster(judi …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi: reg ch_ln_votreg_black_pct_pres black_share60_lit_nc black_share60 c.family_less_3000#literacy_nc c.unemp60#literacy_nc c.rural_farm60#literacy_nc c.cotton_ …
- COVID-19 and Its Impact on Minority-Owned Banks
AEA Papers and Proceedings 2022 · pkg 154849
psmatch2 non_minority $x2 i.st if tin(2019q1,2019q1), logit neighbor(1) noreplacement
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):psmatch2 non_minority l_pop minority_shr l_hispanic l_black l_asian l_ur l_asset2 l_npl l_liquidity l_rbc1aaj l_eeffr i.st if tin(2019q1,2019q1), logit neighbor …
- Outside Income as a Signal: Evidence from Politicians and Voters
Review of Economics and Statistics 2026 · pkg 253058
psmatch2 treat_npol_p1 i.state gender splitting age if public == 0
- Black Empowerment and White Mobilization: The Effects of the Voting Rights Act
Journal of Political Economy 2025 · pkg 7727
-
demographic group + unspecified id (id, i, group...) + author-named unit + timenames the reader has no word for, commonest first:
cem_strata,eduyear,ev,account_age,account_age#first_year,age_bin#i.black,age_bins#i.b,age_bins#i.black3% · 22 examples in the code
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 96983
reghdfe fertility c.ry1#c.diff_birth_rate c.ry2#c.diff_birth_rate es1 c.ry4#c.diff_birth_rate c.ry5#c.diff_birth_rate c.ry6#c.diff_birth_rate c.ry7#c.diff_birth …
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 102508
reghdfe fertility c.ry1#c.diff_birth_rate c.ry2#c.diff_birth_rate es1 c.ry4#c.diff_birth_rate c.ry5#c.diff_birth_rate c.ry6#c.diff_birth_rate c.ry7#c.diff_birth …
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 96983
-
firm3% · 2
2 examples in the code
- Finance And Green Growth
The Economic Journal 2023 · pkg 81199
eststo table7a_col3: reghdfe equity_share post_2006 post_2006_be [pw = psmw] /// if year>=2001 & year<=2010 & (country=="BE" | c … - Good for the environment, good for business: Foreign acquisitions and energy intensity
Journal of International Economics 2019 · pkg 101526
xtreg `var' i.FA i.post_dummy i.fe1 /// if ((t -1 == year) | (t == year)) [pw=ipw], /// fe i(firmid2) vce(cluster firmid2)
- Finance And Green Growth
The Economic Journal 2023 · pkg 81199
-
firm + author-named unit × timenames the reader has no word for, commonest first:
cem_strata,eduyear,ev,account_age,account_age#first_year,age_bin#i.black,age_bins#i.b,age_bins#i.black3% · 22 examples in the code
- Optimal Ownership and Firm Performance: An Analysis of China’s FDI Liberalization
Review of Economics and Statistics 2026 · pkg 13924
qui reghdfe `y' 1.lib1_full01##after01 c.TPU_1996#ib2000.year c.AHS_simple98#ib2000.year [pw=ipweight], cluster(firm_id) absorb(firm_id cic2#year)
- Keeping up with the Joneses: FDI, supply chain linkages, and industrial emissions
Journal of International Economics 2026 · pkg 254445
reghdfe lnso2_intensity treat [aweight=cem_weights], a(firmid pollution_industry#year i.lnk5#c.year i.lnl5#c.year) cluster(firmid)
- Optimal Ownership and Firm Performance: An Analysis of China’s FDI Liberalization
Review of Economics and Statistics 2026 · pkg 13924
-
firm + time3% · 2
2 examples in the code
- Currency flotation and dividend policies: Evidence from China's central parity reform
Financial Management 2024 · pkg 34364
reghdfe div_yield fx_beta_post fx_beta $cv /// if _weight != .& hedge==1, absorb(year firm) vce(cluster firm) keepsingletonsAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe div_yield fx_beta_post fx_beta size roe lev asset_growth ocf tangible capex admin_rev seo if _weight != .& hedge==1, absorb(year firm) vce(cluster firm) …
- Pushed Past the Limit? How Japanese Banks Reacted to Negative Rates
Journal of Money, Credit and Banking 2022 · pkg 49217
qui areg `dv' post_treated i.time post_roaa post_div_yield post_car post_loans_assets post_manuf post_services post_mining post_transport post_retail post_fina …
- Currency flotation and dividend policies: Evidence from China's central parity reform
Financial Management 2024 · pkg 34364
Share of the 63 packages that absorb fixed effects, each at the set most of its estimations use. Greyed: fewer than 10 packages.
Any estimation absorbs…
-
time11% · 31
4 examples in the code
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
xi:psmatch2 synremote $c_matching i.year i.ind i.month, out(attendper) logit neighbor(1) noreplacement caliper(0.0001)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:psmatch2 synremote performdrop interval avginddiflc avgindtenure boardsize propnum annmt bmnum roa lev size state instratio i.year i.ind i.month, out(attendp …
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
psmatch2 treatment ln_mveq_rd leverage_mkt cbdefml ceoownership activeownership5 div busseg cown_mean i.lstateFE i.fyear i.sic2, n(1)
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
reghdfe log_salary p_b [aweight= cem] if d_dept`i'==1, absorb(i.age_bins#i.b id year) vce(cluster id)
- Cadasters and Economic Growth: A Long-Run Cross-Country Panel
Journal of Political Economy 2024 · pkg 7714
qui teffects ipw (y2dep`n') (tcad lag1y2 lag2y2 lag3y2 lag4y2 i.year, noconstant probit) if year>=1900&cname!="Kuwait"&cname!="Qatar", atet iterate(7)
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
-
author-named unitnames the reader has no word for, commonest first:
cem_strata,eduyear,ev,account_age,account_age#first_year,age_bin#i.black,age_bins#i.b,age_bins#i.black8% · 234 examples in the code
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
reghdfe log_salary d_a1_b d_a2_b d_a4_b-d_a8_b [aweight=cem] if w==1, absorb(around id i.age_bins#i.b ) vce(cluster eid)
- Labor Supply Responses and Adjustment Frictions: A Tax-Free Year in Iceland
American Economic Journal: Economic Policy 2025 · pkg 11642
reghdfe `x' d1984_treatment d1985_treatment treatment d1987_treatment /// if ar >= 1984 & ar <= 1987 [aw=cem_weights], /// absorb(ar cem_strata) cluster(cluster …
- Corporate Litigation, Governance, and the Role of Law Firms
Journal of Accounting Research 2026 · pkg 12758
reghdfe lnsettle_ins star10 $controls [aweight = nmatches], a($fe_s) cluster($clustering)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lnsettle_ins star10 lnat_r_w sale_growth_w liabilities_assets_w bm_w return1_w return_std_dev1_w return_skewness1_w turnover1_w [aweight = nmatches], a( …
- Do Engagement Quality Reviewers’ Workplace Ties with Engagement Partners Influence Audit Q
Journal of Accounting Research 2026 · pkg 12788
eststo:qui reghdfe ABSDA $x $controls if !missing(_weight), absorb(ind year InstitutionID) vce(cluster code) keepsingletons
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo:qui reghdfe ABSDA WORKTIE WORKTIE_ENG1_ENG2 ALUM_TIE SIZE LEV ROA LOSS BM CFO SUBS AGE TURNOVER SOE TENURE SIZE_AF DSPEC_ENG DSPEC_EQR SAMEGEN CI LOCAL C …
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
-
industry4% · 12
4 examples in the code
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
xi:psmatch2 synremote $c_matching i.year i.ind i.month, out(attendper) logit neighbor(1) noreplacement caliper(0.0001)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:psmatch2 synremote performdrop interval avginddiflc avgindtenure boardsize propnum annmt bmnum roa lev size state instratio i.year i.ind i.month, out(attendp …
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
psmatch2 treatment ln_mveq_rd leverage_mkt cbdefml ceoownership activeownership5 div busseg cown_mean i.lstateFE i.fyear i.sic2, n(1)
- The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
xi: psmatch2 treated_ndr_cal i.isic i.cod_pro F PR LE R S, neighbor(1) noreplacement
- Are syndicated loans truly less expensive? ✩
Journal of Banking & Finance 2020 · pkg 12309
quietly /// etregress tot_spread /// synd##i.dA_Size /// c.log_dlLD##i.dA_Size /// c.log_trPP c.SyndLeadRatio c.SyndLeadReputation /// c.log_ …
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
-
firm3% · 10
4 examples in the code
- Corporate Litigation, Governance, and the Role of Law Firms
Journal of Accounting Research 2026 · pkg 12758
reghdfe lnsettle_ins star10 $controls [aweight = nmatches], a($fe_s) cluster($clustering)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lnsettle_ins star10 lnat_r_w sale_growth_w liabilities_assets_w bm_w return1_w return_std_dev1_w return_skewness1_w turnover1_w [aweight = nmatches], a( …
- Optimal Ownership and Firm Performance: An Analysis of China’s FDI Liberalization
Review of Economics and Statistics 2026 · pkg 13924
qui reghdfe `y' 1.lib1_full01##after01 c.TPU_1996#ib2000.year c.AHS_simple98#ib2000.year [pw=ipweight], cluster(firm_id) absorb(firm_id cic2#year)
- Currency flotation and dividend policies: Evidence from China's central parity reform
Financial Management 2024 · pkg 34364
reghdfe div_yield fx_beta_post fx_beta $cv /// if _weight != .& hedge==1, absorb(year firm) vce(cluster firm) keepsingletonsAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe div_yield fx_beta_post fx_beta size roe lev asset_growth ocf tangible capex admin_rev seo if _weight != .& hedge==1, absorb(year firm) vce(cluster firm) …
- Pushed Past the Limit? How Japanese Banks Reacted to Negative Rates
Journal of Money, Credit and Banking 2022 · pkg 49217
qui areg `dv' post_treated i.time post_roaa post_div_yield post_car post_loans_assets post_manuf post_services post_mining post_transport post_retail post_fina …
- Corporate Litigation, Governance, and the Role of Law Firms
Journal of Accounting Research 2026 · pkg 12758
-
author-named unit × timenames the reader has no word for, commonest first:
cem_strata,eduyear,ev,account_age,account_age#first_year,age_bin#i.black,age_bins#i.b,age_bins#i.black2% · 74 examples in the code
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
reghdfe home d_year1_black d_year3_black-d_year5_black [aweight=cem] , absorb( linkedID year i.cstate#i.year i.age_bin#i.black) vce(cluster linkedID)
- Optimal Ownership and Firm Performance: An Analysis of China’s FDI Liberalization
Review of Economics and Statistics 2026 · pkg 13924
qui reghdfe `y' 1.lib1_full01##after01 c.TPU_1996#ib2000.year c.AHS_simple98#ib2000.year [pw=ipweight], cluster(firm_id) absorb(firm_id cic2#year)
- J’Accuse! Antisemitism and financial markets in the time of the Dreyfus Affair
Journal of Financial Economics 2024 · pkg 14199
eststo: reghdfe return_i treat1 treat2 if m_matched==1, a(i.firmn i.m_strata##i.daten i.sectorn##i.yearmonth) cluster(firmperiod)
- When Individual Politics Become Public: Do Civil Service Protections Insulate Government W
American Economic Journal: Applied Economics 2024 · pkg 17175
reghdfe log_gross sign_T1-sign_T5 sign_T7-sign_T12 [aweight=cem_weights], a(job_2011#year exp_cat10#year id_gov) cluster(id_gov)
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
-
state / province1% · 4
4 examples in the code
- Black Empowerment and White Mobilization: The Effects of the Voting Rights Act
Journal of Political Economy 2025 · pkg 7727
xi: reg ch_ln_votreg_black_pct_pres black_share60_lit_nc black_share60 $controls_int ibn.STATE [aweight=pop1960] if cem_matched == 1 , nocon robust cluster(judi …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi: reg ch_ln_votreg_black_pct_pres black_share60_lit_nc black_share60 c.family_less_3000#literacy_nc c.unemp60#literacy_nc c.rural_farm60#literacy_nc c.cotton_ …
- Financial spillovers of foreign direct investment: Evidence from China
Journal of International Economics 2024 · pkg 113116
psmatch2 Supply_FIE_HMT logage logta profitability dm_tfp_opacf i.ind i.provid Supply_SOE if year==`j', out(loan_ta)
- COVID-19 and Its Impact on Minority-Owned Banks
AEA Papers and Proceedings 2022 · pkg 154849
psmatch2 non_minority $x2 i.st if tin(2019q1,2019q1), logit neighbor(1) noreplacement
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):psmatch2 non_minority l_pop minority_shr l_hispanic l_black l_asian l_ur l_asset2 l_npl l_liquidity l_rbc1aaj l_eeffr i.st if tin(2019q1,2019q1), logit neighbor …
- Outside Income as a Signal: Evidence from Politicians and Voters
Review of Economics and Statistics 2026 · pkg 253058
psmatch2 treat_npol_p1 i.state gender splitting age if public == 0
- Black Empowerment and White Mobilization: The Effects of the Voting Rights Act
Journal of Political Economy 2025 · pkg 7727
-
unspecified id (id, i, group...)1% · 4
4 examples in the code
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
reghdfe log_salary d_a1_b d_a2_b d_a4_b-d_a8_b [aweight=cem] if w==1, absorb(around id i.age_bins#i.b ) vce(cluster eid)
- Baby Bumps in the Road: The Impact of Parenthood on Job Performance, Human Capital, and Ca
Review of Economics and Statistics 2026 · pkg 13098
reghdfe level m_pregdrop m_pregnancy m_birthjump m_recov_1_level m_recov_2 pregdrop pregnancy birthjump recov_1_level recov_2 if female==1 [aw=match_wt], absor …
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 96983
reghdfe fertility c.ry1#c.diff_birth_rate c.ry2#c.diff_birth_rate es1 c.ry4#c.diff_birth_rate c.ry5#c.diff_birth_rate c.ry6#c.diff_birth_rate c.ry7#c.diff_birth …
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 102508
reghdfe fertility c.ry1#c.diff_birth_rate c.ry2#c.diff_birth_rate es1 c.ry4#c.diff_birth_rate c.ry5#c.diff_birth_rate c.ry6#c.diff_birth_rate c.ry7#c.diff_birth …
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
-
region / MSA / CZ1% · 3
3 examples in the code
- Effects of Parental Death on Labor Market Outcomes
American Economic Review 2026 · pkg 17512
teffects nnmatch (outcome i.earnlevel_0 i.ageg i.child2 i.cohabitation2 i.region2 i.public2 i.educ_level_num2 i.age_of_youngest_int_cat i.father_ageg i.mother_a …
- Inalienable Human Capital and Inevitable Corporate Payouts
Financial Management 2026 · pkg 39511
xi:psmatch2 iddrt $control i.region i.cohort_iddr if fyear>=1994 & misstate!=1 & misincorp!=1 & prcc_f>=1 & at>=1 & utf!=1,outcome(divy_t) n(1) ate ties logit c …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:psmatch2 iddrt llogasset lleverage llogage lmb lgsale lopcfasset2 learn_vol lcheat lroa i.region i.cohort_iddr if fyear>=1994 & misstate!=1 & misincorp!=1 & …
- Interest Rate Pass-Through and Consumption Response: The Deposit Channel
Review of Economics and Statistics 2021 · pkg 159554
qui xi: psmatch2 treat age married male domresi native college wealth i.region, logit common neighbor(1) noreplacement
- Effects of Parental Death on Labor Market Outcomes
American Economic Review 2026 · pkg 17512
-
demographic group1% · 2
2 examples in the code
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 96983
reghdfe fertility c.ry1#c.diff_birth_rate c.ry2#c.diff_birth_rate es1 c.ry4#c.diff_birth_rate c.ry5#c.diff_birth_rate c.ry6#c.diff_birth_rate c.ry7#c.diff_birth …
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 102508
reghdfe fertility c.ry1#c.diff_birth_rate c.ry2#c.diff_birth_rate es1 c.ry4#c.diff_birth_rate c.ry5#c.diff_birth_rate c.ry6#c.diff_birth_rate c.ry7#c.diff_birth …
- Geographic variation in fertility: evidence from mover design
Labour Economics 2026 · pkg 96983
-
occupation × time1% · 2
2 examples in the code
- Managing Inequality: Manager-Specific Wage Premiums and Selection in the Managerial Labor
Review of Economics and Statistics 2025 · pkg 13928
eststo: reghdfe log_income post post_t exper_educ1-exper_fem if tau>=-3&tau<=5&age_event>20&age_event<60 & nmatched==1&nmatched_s==1, absorb(pnr#lbnr i.ind36#i. …
- When Individual Politics Become Public: Do Civil Service Protections Insulate Government W
American Economic Journal: Applied Economics 2024 · pkg 17175
reghdfe log_gross sign_T1-sign_T5 sign_T7-sign_T12 [aweight=cem_weights], a(job_2011#year exp_cat10#year id_gov) cluster(id_gov)
- Managing Inequality: Manager-Specific Wage Premiums and Selection in the Managerial Labor
Review of Economics and Statistics 2025 · pkg 13928
Share of 295 packages with a model that shows the design. Greyed: fewer than 10 packages.
Estimator commands
-
psmatch254% · 160
3 examples in the code
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
xi:psmatch2 synremote $c_matching i.year i.ind i.month, out(attendper) logit neighbor(1) noreplacement caliper(0.0001)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:psmatch2 synremote performdrop interval avginddiflc avgindtenure boardsize propnum annmt bmnum roa lev size state instratio i.year i.ind i.month, out(attendp …
- Collateral Effects: The Role of FinTech in Small Business Lending
Review of Financial Studies 2026 · pkg 205
capture noisily psmatch2 p2p loan0 loan1 loan2 loan3 loan4 loan5 $xlist /// if cell == `i', out(loan6) noreplacement common
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):capture noisily psmatch2 p2p loan0 loan1 loan2 loan3 loan4 loan5 outsideloan i.outloanyear i.codummy ageatevent i.rating r3filled i.m_r3filled r13filled i.m_r13 …
- Disloyal Managers and Shareholders’ Wealth
Review of Financial Studies 2023 · pkg 305
psmatch2 treatment ln_mveq_rd leverage_mkt cbdefml ceoownership activeownership5 div busseg cown_mean i.lstateFE i.fyear i.sic2, n(1)
- Remote Board Meetings and Board Monitoring Effectiveness: Evidence from China
Review of Financial Studies 2023 · pkg 156
-
teffects17% · 49
3 examples in the code
- Adjusting to Macroprudential Policies: Loan-to-Value Limits and Housing Choice
Review of Financial Studies 2023 · pkg 80
teffects nnmatch price treated##after aveAge sum_incom, vce{iid} - Product Market Competition, Mergers and Acquisitions, and Covenant Redesign
Review of Corporate Finance Studies 2025 · pkg 7313
capture teffects nnmatch (ret1Qtr lnAtq lev cash_at tobinsq) (acq), control(0) e(indCode calYrQtr openMrkt) caliper(0.5) biasadj(lnAtq lev cash_at tobinsq) osa …
- Credit Union and Bank Subprime Lending in the Great Recession
Review of Corporate Finance Studies 2024 · pkg 7321
teffects psmatch (pct_subprime) (bank log_assets_04 numState_04 roa_04 avg_income pct_male pct_white pct_black $State), caliper(0.07) osample(violate)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):teffects psmatch (pct_subprime) (bank log_assets_04 numState_04 roa_04 avg_income pct_male pct_white pct_black avgSaHPI unemployment hpiGrowth), caliper(0.07) o …
- Adjusting to Macroprudential Policies: Loan-to-Value Limits and Housing Choice
Review of Financial Studies 2023 · pkg 80
-
cem13% · 39
3 examples in the code
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
cem
- Local Elites as State Capacity: How City Chiefs Use Local Information to Increase Tax Comp
American Economic Review 2022 · pkg 3482
cem today_alt,treatment(t_l)
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
cem count_banks GRAPROES sPEA sVPH_CEL sVPH_INTER sVPH_AUTOM, treatment(treatment) showbreaks
- Firm-Level Labor Shortage Exposure
Review of Financial Studies 2026 · pkg 303
-
reghdfe12% · 35
3 examples in the code
- Shareholder-Creditor Conflict and the Resolution of Financial Distress
Review of Corporate Finance Studies 2025 · pkg 7318
quietly reghdfe out1 MAdummy [fweight=_weight], cluster (sic2)
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
reghdfe log_salary d_a1_b d_a2_b d_a4_b-d_a8_b [aweight=cem] if w==1, absorb(around id i.age_bins#i.b ) vce(cluster eid)
- Labor Supply Responses and Adjustment Frictions: A Tax-Free Year in Iceland
American Economic Journal: Economic Policy 2025 · pkg 11642
reghdfe `x' d1984_treatment d1985_treatment treatment d1987_treatment /// if ar >= 1984 & ar <= 1987 [aw=cem_weights], /// absorb(ar cem_strata) cluster(cluster …
- Shareholder-Creditor Conflict and the Resolution of Financial Distress
Review of Corporate Finance Studies 2025 · pkg 7318
-
matchit9% · 26
3 examples in the code
- The Disparate Effect of Nudges on Minority Groups
Review of Corporate Finance Studies 2022 · pkg 7296
feb_nearest_main_t <- matchit(sms_feb ~ child_male++ mother_academic+father_academic+parents_num_childre … - Disrupting Drug Markets: The Effects of Crackdowns on Rogue Opioid Suppliers
American Economic Journal: Economic Policy 2025 · pkg 11658
m.out1 <- matchit(treat ~ PCT_BLACK + unemploymentrate + withoutcare_per + PCT_MEDICARE + manufacture_per + pop + POP_DENSITY + MD_PC, data = … - Real Effects of Hedge Accounting Standards: Evidence from ASU 2017‐12
Journal of Accounting Research 2025 · pkg 12733
match_out <- matchit(treat ~ 1, data = pre_matching_data, method = "nearest", ratio = 1, …
- The Disparate Effect of Nudges on Minority Groups
Review of Corporate Finance Studies 2022 · pkg 7296
-
reg8% · 23
3 examples in the code
- Local Elites as State Capacity: How City Chiefs Use Local Information to Increase Tax Comp
American Economic Review 2022 · pkg 3482
eststo: reg taxes_paid t_l i.house i.stratum [iw=cem_w],cl(a7)
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
reg d_trips treatment [iweight=cem_weights]
- The Costs of Employment Segregation: Evidence from the Federal Government Under Woodrow Wi
Quarterly Journal of Economics 2022 · pkg 7455
reg `var' b if b!=. & year==1911 [aweight=cem], robust
- Local Elites as State Capacity: How City Chiefs Use Local Information to Increase Tax Comp
American Economic Review 2022 · pkg 3482
-
nnmatch6% · 18
3 examples in the code
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
nnmatch pseudo_snl_key Target net_income inverse_assets if (year==2014), keep(Prem_life_v1) replace
- Adjusting to Macroprudential Policies: Loan-to-Value Limits and Housing Choice
Review of Financial Studies 2023 · pkg 80
nnmatch dist_from_tlv after sum_incom aveAge , tc(ate) bias(bias) keep(H:\u23y\Research\Data\data_mortgage\WorkData\matching\dist_from_tlv.dta) replace
- Bowling for Fascism: Social Capital and the Rise of the Nazi Party
Journal of Political Economy 2017 · pkg 7853
/*1*/eststo: nnmatch pcNSentry_std clubs_pc_AM lnpop25, m(1) robust(1) tc(att)
- Hedging, Contract Enforceability, and Competition
Review of Financial Studies 2025 · pkg 36
-
match3% · 9
3 examples in the code
- Comparing Experimental and Nonexperimental Methods: What Lessons Have We Learned Four Deca
Journal of Economic Perspectives 2025 · pkg 3708
m.out <- Match(Y = data[, Y], Tr = data[, treat], X = data[, covar], Z = data[, covar], estimand = "ATT", M = 5, replace = TRUE, ties = TRUE, BiasAdjust = TRU …
- Environmental Policy And Directed Technological Change: Evidence From The European Carbon
Review of Economics and Statistics 2016 · pkg 13186
m <- Match(Y=Y, Tr=zs, X=Xs, Weight.matrix=gen, exact = exact)
- Genetic Matching For Estimating Causal Effects: A General Multivariate Matching Method For
Review of Economics and Statistics 2013 · pkg 13770
logit.m1 <- Match(Y=sdta$y.a, Tr=sdta$z.a, X=logit.pscore[[s]], estimand="ATT", M=1)
- Comparing Experimental and Nonexperimental Methods: What Lessons Have We Learned Four Deca
Journal of Economic Perspectives 2025 · pkg 3708
-
kmatch2% · 7
3 examples in the code
- Direct and Indirect Effects of Investment Tax Incentives
American Economic Review 2025 · pkg 11712
quietly kmatch md eastwoB emp9598 wage9598 gr_emp_pre gr_wage_pre avg_size9598 (employee) if year==1998, att nn(1) wor generate(kmatch_*)
- The Local Economic Impacts of Prisons
Review of Economics and Statistics 2024 · pkg 13963
kmatch md copri `linear', /// `exactmatchstr' nn(`ii') `replacestringmaha' metric(mahalanobis) generate idgenerate idvar(countystr) dxgenerate wgenerate at …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):kmatch md copri `r(K_b)' `r(K_l)', nn(`ii') wor metric(mahalanobis) generate idgenerate idvar(countystr) dxgenerate wgenerate att
- How Market Prices React to Information: Evidence from Binary Options Markets
The Economic Journal 2026 · pkg 18908
kmatch md postin absx2 absy2 (`outvar'), metric(euclidean)
- Direct and Indirect Effects of Investment Tax Incentives
American Economic Review 2025 · pkg 11712
-
etregress2% · 6
3 examples in the code
- Information Asymmetry, Financial Intermediation, and Wealth Effects of Project Finance Loa
Review of Corporate Finance Studies 2023 · pkg 7285
etregress CAR loan_ta syndic lender_eq eq_raise offtake lnmve volatility /// top20 mgnt_shdg crbret gpu nonbank spbank1, /// treat(hedging = precious … - Are syndicated loans truly less expensive? ✩
Journal of Banking & Finance 2020 · pkg 12309
quietly /// etregress tot_spread /// synd##i.dA_Size /// c.log_dlLD##i.dA_Size /// c.log_trPP c.SyndLeadRatio c.SyndLeadReputation /// c.log_ … - Do Engagement Quality Reviewers’ Workplace Ties with Engagement Partners Influence Audit Q
Journal of Accounting Research 2026 · pkg 12788
eststo:qui etregress ABSDA $controls i.ind i.year i.InstitutionID, treat($x = SHOCK_PROMOTE $controls2 i.ind i.year i.fensuo) twostep first
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo:qui etregress ABSDA WORKTIE_ENG1_ENG2 ALUM_TIE SIZE LEV ROA LOSS BM CFO SUBS AGE TURNOVER SOE TENURE SIZE_AF DSPEC_ENG DSPEC_EQR SAMEGEN CI LOCAL COREVIE …
- Information Asymmetry, Financial Intermediation, and Wealth Effects of Project Finance Loa
Review of Corporate Finance Studies 2023 · pkg 7285
Share of 295 packages with a model that shows the design (a package runs several). Greyed: fewer than 10 packages.
Validation checks
-
balance table / standardised differences4% · 12
4 examples in the code
- Local Elites as State Capacity: How City Chiefs Use Local Information to Increase Tax Comp
American Economic Review 2022 · pkg 3482
balancetable chief_dummy ${demographics} ${math} ${read} ${trust} ${gov} ${redistribution} ${redistribtion2} using "$reploutdir/collector_summary.tex", replace … - The Disparate Effect of Nudges on Minority Groups
Review of Corporate Finance Studies 2022 · pkg 7296
outm <-bal.tab(feb_nearest_main_t_data1,treat = feb_nearest_main_t_data1$treat,weights = feb_nearest_main_t_data1$weights,disp=c("means","sds"), stats=c("mean.d … - What Is the US Comparative Advantage in Entrepreneurship? Evidence from Israeli Migration
Review of Economics and Statistics 2023 · pkg 13269
balancetable us_hq univ_tto univ_spin has_pat has_trademark us_vc_r1 if (strategic | us_hq == 1) & in_p_move_range using "tex/balancetable.tex" , cti …
- Vertical Integration and Cream Skimming of Profitable Referrals: The Case of Hospital-Owne
American Economic Journal: Economic Policy 2026 · pkg 17500
iebaltab snf_ref stay_3, /// grpvar(group) control(0) /// grplabels("0 Integrated hospitals @ 2 Unintegrated hospitals") /// onerow rowvarlabels std …
- Local Elites as State Capacity: How City Chiefs Use Local Information to Increase Tax Comp
American Economic Review 2022 · pkg 3482
-
multiple-testing correction (FDR, Romano-Wolf, ...)5% · 16
4 examples in the code
- ’Til Dowry Do Us Part: Bargaining and Violence in Indian Families
Review of Economics and Statistics 2026 · pkg 13443
rwolf $dow, indepvar(dowTreat ) controls(hindu1 dow_cohort $cov $fe2) seed(2000) reps(500) vce(cl state )
- Split Decisions: Household Finance When a Policy Discontinuity Allocates Overseas Work
Review of Economics and Statistics 2017 · pkg 13577
gen fdr_temp1 = `qval_adj'*rank/`totalpvals'
- What’s Behind Her Smile? Health, Looks, and Self-Esteem
American Economic Journal: Applied Economics 2024 · pkg 17110
xi: rwolf $all_FU1 , indepvar(treatment) reps(200) seed(456) strata(n_estrato) controls($controls_unb) bl(_bl)
- When Individual Politics Become Public: Do Civil Service Protections Insulate Government W
American Economic Journal: Applied Economics 2024 · pkg 17175
replace maiden_name = "LIND" if (last_name == "LIND" | last_name == "HOLM" | last_name == "TESSARO") & first_name == "BONNIE"
- ’Til Dowry Do Us Part: Bargaining and Violence in Indian Families
Review of Economics and Statistics 2026 · pkg 13443
Share of 309 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.