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, firm + time fixed effects,
winsorizes, drops missing rows) —
it matches 4 of 5. Each contrast takes the second most common choice on one dimension.
- commands
xtreg,reghdfe- clusters by
- firm
- fixed effects
- firm + time
- outliers
- winsorize, cut not stored: the call could not be read (by group); winsorize 1/99 by group
- missing values
- replace missing with zero (imputation); replace missing with another value (imputation)
- sample years
- 2007–2010 (as on the package page)
- checks
- none of the design's checks found
- commands
reghdfe- clusters by
- two-way: firm + time
- fixed effects
- firm + time
- outliers
- winsorize 1/99
- missing values
- drop rows with missing values
- checks
- none of the design's checks found
- commands
reghdfe,areg,reg- clusters by
- firm; industry
- fixed effects
- firm + author-named unit; firm + time; author-named unit; industry + author-named unit
- outliers
- winsorize 1/99
- missing values
- replace missing with another value (imputation); replace missing with zero (imputation)
- screens
- common shares only (shrcd 10/11)
- sample years
- 2000–2020 (as on the package page)
- checks
- none of the design's checks found
- commands
areg- clusters by
- does not cluster
- fixed effects
- firm + time
- outliers
- winsorize 1/99
- missing values
- drop rows with missing values; replace missing with another value (imputation); replace missing with zero (imputation)
- sample years
- 1996–2009 (as on the package page)
- checks
- none of the design's checks found
Sample screens
-
exclude financials6% · 5
4 examples in the code
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
drop if sic1==6
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
drop if naics2=="52"
- Do Managers of U.S. Defined Benefit Pension Plan Sponsors Use Regulatory Freedom Strategic
Journal of Accounting Research 2017 · pkg 12524
drop if sic > 5999 & sic < 7000
- Does Access to Patent Information Help Technological Acquisitions? Evidence from Patent Li
Journal of Accounting Research 2025 · pkg 12718
drop if inrange(sic_his,6000,6999)
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
-
common shares only (shrcd 10/11)5% · 4
4 examples in the code
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
keep if shrcd == 10|shrcd == 11|shrcd == 12
- Company Websites: A New Measure of Disclosure
Journal of Accounting Research 2026 · pkg 12745
keep if shrcd == 10 | shrcd == 11
- Paving the Road to the Buy‐Side
Journal of Accounting Research 2026 · pkg 12754
keep if inlist(shrcd,10,11)
- Do Earnings Announcements Affect Employee Spending? Evidence from Transaction Data
Journal of Accounting Research 2026 · pkg 12761
keep if shrcd == 10 | shrcd == 11
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
-
exclude utilities2% · 2
2 examples in the code
- 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
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
-
NYSE / AMEX / Nasdaq only (exchcd 1-3)1% · 1
1 example in the code
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
keep if exchcd == 1|exchcd == 2|exchcd == 3
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
-
exclude public administration / unclassified1% · 1
1 example in the code
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
drop if sic1==9
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
-
low-price stocks dropped (price < $1-$10)1% · 1
1 example in the code
- 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
- Freedom of Expression Protection and Corporate Concealment of Bad News: Evidence from Stat
Journal of Accounting Research 2026 · pkg 12751
Share of 86 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
65 of 86 packages (76%) winsorize or trim something: 61 winsorize, 6 trim, 13 by group (e.g. by year).
-
winsorize 1/9978% · 51
4 examples in the code
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
replace `1'=p99 if `1'>p99&`1'~=.
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
%Winsorize_Truncate(dsetin = comp_cust_guidance3 ,dsetout = comp_cust_guidance3, byvar = none, vars = log_analyst replag volatility persist turn instown , t … - Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
winsor log_assets if fyear == `span', p(0.01) gen(temp_var)
- CFO Narcissism and Financial Reporting Quality
Journal of Accounting Research 2017 · pkg 12521
winsor `i', gen(`i'_w) p(0.01)
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
-
winsorize 1/99 by group18% · 12
4 examples in the code
- Show Me the Money! Dividend Policy in Countries with Weak Institutions
Journal of Accounting Research 2021 · pkg 12607
%winsor (dsetin = div.dataset, dsetout = div.dataset_w, byvar = FF_FYR, vars = dni dcf acc cfoa ret retx … - The Innovation and Reporting Consequences of Financial Regulation for Young Life-Cycle Fir
Journal of Accounting Research 2022 · pkg 12622
winsor2 tot_claim_ct_mean_log forcites_s_mean_log forcites_s_sd numpat_log breadth_subclass orig_mean gen_mean citesmade_s_mean_log, by(fyear) replace
- Do Managers Issue More Voluntary Disclosure When GAAP Limits Their Reporting Discretion in
Journal of Accounting Research 2022 · pkg 12624
%WT(data=comp29c, out=comp29d, byvar=d, vars=n_guid dscore size adjroa leverage special mtb nguid1 dscore1 size1 adjroa1 leverage1 special1 mtb1, type = W, pc …
- Flu Fallout: Information Production Constraints and Corporate Disclosure
Journal of Accounting Research 2023 · pkg 12656
winsor2 Flu_CG, c(1 99) s(_w) by(Year)
- Show Me the Money! Dividend Policy in Countries with Weak Institutions
Journal of Accounting Research 2021 · pkg 12607
-
trim 1/995% · 3
3 examples in the code
- Relative Target Setting and Cooperation
Journal of Accounting Research 2019 · pkg 12557
winsor2 `var' , trim cuts(1 99) suffix(_t1)
- The Effect of Firms' Information Exposure on Safeguarding Employee Health: Evidence from C
Journal of Accounting Research 2023 · pkg 12653
winsor2 exposure_total_scaled, trim
- What Role Do Boards Play in Companies with Visionary CEOs?
Journal of Accounting Research 2024 · pkg 12685
%winsor(dsetin=main, dsetout=main, vars=epspx epspx_lag1 prcd_y, byvar=none, type=delete, pctl=1 99);
- Relative Target Setting and Cooperation
Journal of Accounting Research 2019 · pkg 12557
-
winsorize, cut not stored: the call could not be read3% · 2
2 examples in the code
- Earnings News and Over‐the‐Counter Markets
Journal of Accounting Research 2024 · pkg 12680
corp_data_ea[,(sel_liq):=lapply(.SD,winsorize),.SDcols=sel_liq]
- Listen Closely: Measuring Vocal Tone in Corporate Disclosures
Journal of Accounting Research 2026 · pkg 12748
calldf = reg.winsorize_dataframe(calldf, exclude=reg.exclude_from_winsorization)# + ['car_0_1', 'car_2_61']) NOTE: robust to not winsorizing CARs
- Earnings News and Over‐the‐Counter Markets
Journal of Accounting Research 2024 · pkg 12680
-
trim 2.5/97.52% · 1
1 example in the code
- Do Strict Regulators Increase the Transparency of Banks?
Journal of Accounting Research 2019 · pkg 12565
winsor2 prov_ratio coratio ALLLratio, replace cuts(2.5 97.5) trim
- Do Strict Regulators Increase the Transparency of Banks?
Journal of Accounting Research 2019 · pkg 12565
-
trim none/95 by group2% · 1
1 example in the code
- The Impact of Open Data on Public Procurement
Journal of Accounting Research 2023 · pkg 12658
winsor2 NUMBER_BIDS, replace cuts(0 95) by(COUNTRY TED_CONTRACT) trim
- The Impact of Open Data on Public Procurement
Journal of Accounting Research 2023 · pkg 12658
-
trim none/992% · 1
1 example in the code
- The Role of Information in Building a More Sustainable Economy: A Supply and Demand Perspe
Journal of Accounting Research 2024 · pkg 12692
winsor2 Ln`var', replace trim cut(0 99)
- The Role of Information in Building a More Sustainable Economy: A Supply and Demand Perspe
Journal of Accounting Research 2024 · pkg 12692
-
winsorize 2/982% · 1
1 example in the code
- Monitoring Quality of Mafia‐Connected Accountants
Journal of Accounting Research 2026 · pkg 12779
winsor compenso_collegio_sindacale, gen(compenso_bsa) p(0.02)
- Monitoring Quality of Mafia‐Connected Accountants
Journal of Accounting Research 2026 · pkg 12779
Share of the 65 packages that winsorize or trim (a package can use several cuts). Greyed: fewer than 10 packages.
Missing values
-
drop rows with missing values73% · 63
4 examples in the code
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
keep if mob_natbirth != . & mob_natbirth_chg != .
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
drop if atq ==.
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
drop if news_dummy == .
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
drop if missing( perc_unqual)
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
-
replace missing with zero (imputation)62% · 53
4 examples in the code
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
replace pstkq=0 if pstkq==.
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
replace f1120=0 if f1120==.
- CFO Narcissism and Financial Reporting Quality
Journal of Accounting Research 2017 · pkg 12521
replace xrd = 0 if xrd == . & xsga != .
- Do Managers of U.S. Defined Benefit Pension Plan Sponsors Use Regulatory Freedom Strategic
Journal of Accounting Research 2017 · pkg 12524
replace RTD_SEP_PARTCP_RCVG_CNT= 0 if RTD_SEP_PARTCP_RCVG_CNT ==.
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
-
replace missing with another value (imputation)50% · 43
4 examples in the code
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
replace GDPgrowth=GDPgrowth2 if missing(GDPgrowth)
- Do Managers of U.S. Defined Benefit Pension Plan Sponsors Use Regulatory Freedom Strategic
Journal of Accounting Research 2017 · pkg 12524
replace max_manip = max_manip[_n-1] if id==id[_n-1] & max_manip ==.
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
replace year = 1910 if year==.
- Trade Secrets Law and Corporate Disclosure: Causal Evidence on the Proprietary Cost Hypoth
Journal of Accounting Research 2018 · pkg 12530
replace hide_ratio_sale=1 if hide_ratio_sale==.
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
-
interpolate missing values15% · 13
4 examples in the code
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
tsfill
- The Effect of Credit Ratings on Disclosure: Evidence from the Recalibration of Moody’s Mun
Journal of Accounting Research 2020 · pkg 12589
tsfill,full
- The Impact of Open Data on Public Procurement
Journal of Accounting Research 2023 · pkg 12658
tsfill, full
- The Capital Market Effects of Centralizing Regulated Financial Information
Journal of Accounting Research 2024 · pkg 12690
tsfill
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
Share of 86 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 estimation89% · 76
- robust only (never clusters)6% · 5
- default iid only5% · 4
Of the 85 packages with a model that shows the design.
Main clustering level
-
author-named unitnames the reader has no word for, commonest first:
accountant_id,area_fips,ba_state,beg_year_month,callid,client_num_ext,country#industry_cam,country_type_id28% · 214 examples in the code
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
areg frate l.rep l.exam nbank1-nb4 i.yrbt i.stbt if year>1895, absorb(styr) vce(cluster stbt)
- Trade Secrets Law and Corporate Disclosure: Causal Evidence on the Proprietary Cost Hypoth
Journal of Accounting Research 2018 · pkg 12530
areg lnhide_ratio post mis_rd rd_to_sales_2 intangible_to_at_2 advertise_to_sale_2 lnat_2 bign hhi manextyear seonextyear gdpgr unemployment dumt* dums* , …
- 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 …
- Do Strict Regulators Increase the Transparency of Banks?
Journal of Accounting Research 2019 · pkg 12565
areg negrestat b $d i.quarter i.FedReg if quarter>163, absorb(county) vce(cluster reg_state)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):areg negrestat b lnassets lndep resishare cshare creshare nplratio oreo_ratio commit_ratio i.quarter i.FedReg if quarter>163, absorb(county) vce(cluster reg_sta …
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
-
firm22% · 17
4 examples in the code
- CFO Narcissism and Financial Reporting Quality
Journal of Accounting Research 2017 · pkg 12521
areg abstacc apl_w size_w btm_w firmage_w leverage_w l1loss cfovolat_w salesvolat_w percchgcashsales_w chgroa_w earningsprice_w female tenure_w delta_w vega_w i …
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
xi:areg tobin tenure_avg_outsider tenure2_avg_outsider $control2a $control2b i.fyear,abs(gvkey) cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:areg tobin tenure_avg_outsider tenure2_avg_outsider tenure_sd_outsider ceoage ceotenure ceopctowned I_ceofounder I_ceochair cboard I_boardind num_busy I_inte …
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
qui xtreg earnings c.l.earnings##1.d_earnings, fe cluster(firm)
- Fraud Allegations and Government Contracting
Journal of Accounting Research 2019 · pkg 12566
areg pct_def_agency w8q log_at hhi cogs lev i.fyearq if (pre_1==1 | pre_2==1 |pre_3==1 | pre_4==1 | pre_5==1 | pre_6==1 | pre_7==1 | pre_8==1 | post_1==1 …
- CFO Narcissism and Financial Reporting Quality
Journal of Accounting Research 2017 · pkg 12521
-
two-way: firm + time8% · 6
4 examples in the code
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
eststo A0: reghdfe lnsvi $supp0 $cust0, a(permno dow month#year) cluster(permno date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo A0: reghdfe lnsvi pre_qea_supp qea_supp pre_qea qea news_dummy, a(permno dow month#year) cluster(permno date)
- On the EPA's Radar: The Role of Financial Reports in Environmental Regulatory Oversight
Journal of Accounting Research 2024 · pkg 12696
reghdfe log_total $enforce, a(gvkey date_monthly) cl(gvkey date_monthly)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe log_total dum_discover dum_investigate dum_resolve dum_review, a(gvkey date_monthly) cl(gvkey date_monthly)
- Sexism, Culture, and Firm Value: Evidence from the Harvey Weinstein Scandal and the #MeToo
Journal of Accounting Research 2024 · pkg 12699
reghdfe ret 1.event_oct5_6#c.female_exec_share 1.event_oct15_27#c.female_exec_share, absorb(permno date) vce(cluster permno date)
- Common Investor Relations Representation
Journal of Accounting Research 2025 · pkg 12722
eststo: quietly reghdfe LOG_OWNERS_w $LABEL_T4, absorb(PERMNOS YEARQTR MATCH_NUM) vce(cluster PERMNO YEARQTR)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: quietly reghdfe LOG_OWNERS_w POST POSTTREAT SAME_ANALYST_EPS SAME_AU LOG_MEASURES_w COM_IND_RUSS2000 score SAME_FF48 SAME_MTB SAME_MVE SAME_ROA, absorb( …
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
-
industry7% · 5
4 examples in the code
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
eststo: quietly areg unqual y2007 construction07 sales_cat4 sales_cat5 [aw=num_statements] if sales_cat>2 & sales_cat<6 & realestate==0 & boom==1 , cluster(naic …
- By What Criteria Do We Evaluate Accounting? Some Thoughts on Economic Welfare and the Arch
Journal of Accounting Research 2024 · pkg 12668
reghdfe icc close_peer_post, abs(tc ic) cluster(ind)
- Redaction as Cross‐Regulatory Disclosure Avoidance
Journal of Accounting Research 2025 · pkg 12716
fe3 <- felm(redact ~ treat*post+cash+leverage+mtb+ln_asset+ebitda_adj+rd_ratio+missing_rd +marketsize+entrycost+substitute+marketshare|gvkey+fyearsi … - Public Disclosure of Private Meetings: Does Observing Peers’ Information Acquisition Affec
Journal of Accounting Research 2025 · pkg 12729
reghdfe CUMDVisit_Y2 DVisit_X DVisit_X_Post Brokersize_w Firmexperience_w Companies_w Staranalyst Socialties ROA_w Leverage_w Size_w Analyst_w MB_w TV_w BHAR_la …
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
-
state / province7% · 5
4 examples in the code
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
quiet areg diff_std_roaq L.(taxchangeup taxchangedown) D.($Xvars_state) DL.($Xvars), cluster(state) absorb(i_t)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):quiet areg diff_std_roaq L.(taxchangeup taxchangedown) D.(gdpgr suer) DL.(age lnat09 mb ltbook_lev sur_cash nol sgrowth RET_12), cluster(state) absorb(i_t)
- Politically Connected Governments
Journal of Accounting Research 2020 · pkg 12592
qui areg `j' sum_tenure`i' $control i.audityear, absorb(id) vce(cluster stcd)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui areg `j' sum_tenure`i' new_issue lexp lm_subsidy d_subsidy i.audityear, absorb(id) vce(cluster stcd)
- The Economic Consequences of Financial Audit Regulation in the Charitable Sector
Journal of Accounting Research 2022 · pkg 12635
eststo:quietly reghdfe MANDATORY_AUDIT_SHARE INST_MANDATORY_AUDIT_SHARE, absorb(STATE_YEAR_ID ACTIVITY_YEAR_ID) vce(cluster STATE_ID)
- The Effect of Firms' Information Exposure on Safeguarding Employee Health: Evidence from C
Journal of Accounting Research 2023 · pkg 12653
eststo: qui reghdfe device_home_ratio i.prelockdown_20day c.exposure_total_scaled_tr i.prelockdown_20day#c.exposure_total_scaled_tr `control' i.prelockdown_20d …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: qui reghdfe device_home_ratio i.prelockdown_20day c.exposure_total_scaled_tr i.prelockdown_20day#c.exposure_total_scaled_tr demo_asian population_log te …
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
-
unspecified id (id, i, group...)5% · 4
4 examples in the code
- 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)
- The Decision Relevance of Loan Fair Values for Depositors
Journal of Accounting Research 2025 · pkg 12704
reghdfe ddep_u `y' roe $bankchara, absorb(group_id) vce(cluster group_id)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ddep_u `y' roe avg_rate_c sd_woff book2asset whole2asset real2asset ln_asset unused2loan, absorb(group_id) vce(cluster group_id)
- Limits to Political Capture: Evidence from Patent Grants, Disclosures, and Litigation
Journal of Accounting Research 2025 · pkg 12726
reghdfe Patent_Grant Judiciary_Seniority Size MB Number_of_Applications Claims, absorb(id gvkey year subyear artyear) cluster(id)
- A Comment on “The Heterogeneous Tax Pass-Through Under Different Vertical Relationships” b
Auditing: A Journal of Practice & Theory 2026 · pkg 75313
xtreg price_diesel tax_ver_int tax ver_int `cov' i.date_week i.province##c.l_brent_euro /// if mdate>=tm(2015m7) & mdate<=tm(2016m6), fe cluster(id)As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xtreg price_diesel tax_ver_int tax ver_int toll_highway n_of_competitors_2km tax_announ tax_announ_ver_int i.date_week i.province##c.l_brent_euro if mdate>=tm(2 …
- Public Attention and Auditor Behavior: The Case of Hurun Rich List in China
Journal of Accounting Research 2020 · pkg 12591
-
two-way: author-named unit + timenames the reader has no word for, commonest first:
accountant_id,area_fips,ba_state,beg_year_month,callid,client_num_ext,country#industry_cam,country_type_id4% · 33 examples in the code
- Comply or Explain: Do Firms Opportunistically Claim Trade Secrets in Mandatory Environment
Journal of Accounting Research 2024 · pkg 12694
eststo: quietly reghdfe inn_play log_wellcount_byplay log_cumsum_byplay opexp_byplay ln_ogprod_byplay_y, absorb(nop nplay#year) vce(cluster nplay year)
- Partisan Cities: How State-Local Political Alignment Shapes Credit Risk and Information Pr
Journal of Accounting Research 2026 · pkg 12774
m1 <- feols(statetaxSPREAD_MMAinterp ~ alignGovernor * did_not_submit + lnsize + lnmat + BQ + GO + insured_mergent | identif + year + ra … - A Tale of Two Market Disciplines: How Does Bank Financial Misconduct Affect Peer Banks in
Journal of Accounting Research 2026 · pkg 12785
reghdfe spread miscon $controls, absorb(cn_cohort bank_cohort state_fps#week_cohort) cluster(geofips week)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe spread miscon size roa equity_ratio nplratio, absorb(cn_cohort bank_cohort state_fps#week_cohort) cluster(geofips week)
- Comply or Explain: Do Firms Opportunistically Claim Trade Secrets in Mandatory Environment
Journal of Accounting Research 2024 · pkg 12694
-
county / city / district3% · 2
2 examples in the code
- Financial Gatekeepers and Investor Protection: Evidence from Criminal Background Checks
Journal of Accounting Research 2019 · pkg 12563
reghdfe firmhire_preadvisor_criminal highrisk_brokerage small solo corp referral affil lnnum_business_lines lnnum_state_reg, cluster(zip3) absorb(cityid formyea …
- Does Access to Patent Information Help Technological Acquisitions? Evidence from Patent Li
Journal of Accounting Research 2025 · pkg 12718
eststo: reghdfe ln_deal_innov_tgt_sic3 pseudo_library`i' $ln_lag_ctrl_salegl1_rl1 , absorb(year gvkey) vce(cluster FIPS)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: reghdfe ln_deal_innov_tgt_sic3 pseudo_library`i' ln_age_l1 ln_assets_l1 rd_assets_l1 roa_l1 lev_l1 che_assets_l1 mtob_l1 sale_g_l1 ncwc_l1 bhr_l1 , abso …
- Financial Gatekeepers and Investor Protection: Evidence from Criminal Background Checks
Journal of Accounting Research 2019 · pkg 12563
-
person3% · 2
2 examples in the code
- Paving the Road to the Buy‐Side
Journal of Accounting Research 2026 · pkg 12754
eststo: qui reghdfe opt `var' $controls if `filter' $reg_details
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: qui reghdfe opt `var' size roa q l_firm_exp l_analys_exp perct_buy ior if distance<=12 & distance>=0 & last==1 & gap==0 ,cluster(amaskcd) a(amaskcd brok …
- Beyond Old Boys' Clubs: Financial Analysts' Utilization of Professional Connections
Journal of Accounting Research 2026 · pkg 12775
reghdfe PMAFE connected_fore##afemale num_firm_covered experience_firm fore_age fore_freq firm_size roa B_to_M RandD, a(analys ticker_code estimator#year_analy_ …
- Paving the Road to the Buy‐Side
Journal of Accounting Research 2026 · pkg 12754
-
bank1% · 1
1 example in the code
- The Spillover Effect of Liquidity Transparency on Liquidity Holdings
Journal of Accounting Research 2025 · pkg 12728
reghdfe liquid_ratio_lead1 post_lag1 liquid_ratio core_ratio capital_ratio commit_ratio size if lcrbanks==1 & rssd9999>20160101 & rssd9999<20180401, absorb(rssd …
- The Spillover Effect of Liquidity Transparency on Liquidity Holdings
Journal of Accounting Research 2025 · pkg 12728
Share of the 76 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
84 of 85 packages absorb fixed effects in at least one estimation (absorb(), i. dummies, xtreg, fe).
Main fixed-effect set
-
firm + time12% · 10
4 examples in the code
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
eststo A0: reghdfe lnsvi $supp0 $cust0, a(permno dow month#year) cluster(permno date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo A0: reghdfe lnsvi pre_qea_supp qea_supp pre_qea qea news_dummy, a(permno dow month#year) cluster(permno date)
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
xi:areg tobin tenure_avg_outsider tenure2_avg_outsider $control2a $control2b i.fyear,abs(gvkey) cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:areg tobin tenure_avg_outsider tenure2_avg_outsider tenure_sd_outsider ceoage ceotenure ceopctowned I_ceofounder I_ceochair cboard I_boardind num_busy I_inte …
- The Information Externality of Public Firms’ Financial Information in the State‐Bond Secon
Journal of Accounting Research 2021 · pkg 12605
xtreg ret_w piq_q1 lnsize sp_rtg dsp_rtg lat_gen d_current_gen dnetasset_percap gspg urg coing equity_ret i.issuer_id i.qtr_id,fe robust cluster(issuer_id)
- The Innovation and Reporting Consequences of Financial Regulation for Young Life-Cycle Fir
Journal of Accounting Research 2022 · pkg 12622
xtreg rd postsox_intro $controls i.fyear, fe cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xtreg rd postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey)
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
-
author-named unit + timenames the reader has no word for, commonest first:
a,activity_year_id,analys#after_host,analys#year_fpedats,analystfe,anndats,area_fips,artyear11% · 94 examples in the code
- Relative Target Setting and Cooperation
Journal of Accounting Research 2019 · pkg 12557
qui areg D1_B_PM1a D_LY_A_B_PM1a c.D_LY_A_B_PM1a##i.target_achieve COOP_full c.D_LY_A_B_PM1a#c.COOP_full D_LY_A_PM1a_Peer_B_PM1a_BUA c.D_LY_A_PM1a_Peer_B_PM …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui areg D1_B_PM1a D_LY_A_B_PM1a c.D_LY_A_B_PM1a##i.target_achieve COOP_full c.D_LY_A_B_PM1a#c.COOP_full D_LY_A_PM1a_Peer_B_PM1a_BUA c.D_LY_A_PM1a_Peer_B_PM1a_B …
- Auditors Under Fire: The Association Between Audit Errors and the Career Setbacks of Indiv
Journal of Accounting Research 2022 · pkg 12632
xtreg restate_accfir g_punish post_g post punish dopin_m tenure_short_m accrual2_m arta_m invta_m roa_m lnta_m cfo_ta_m risk_m ab_fees_m merge i.year_t,fe i(wac …
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
weight_mod <- feols( log(food_weight) ~ tment| day + slot, df, cluster = c("dayslot") ) - What Role Do Boards Play in Companies with Visionary CEOs?
Journal of Accounting Research 2024 · pkg 12685
reghdfe bhaer3 surfunda surinc sur_eps ${control_erc} searchfunda searchinc, absorb(nb fyear) vce(cluster nb) keepsinAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe bhaer3 surfunda surinc sur_eps betaff size btm leverage loss persistpx searchfunda searchinc, absorb(nb fyear) vce(cluster nb) keepsin
- Relative Target Setting and Cooperation
Journal of Accounting Research 2019 · pkg 12557
-
author-named unitnames the reader has no word for, commonest first:
a,activity_year_id,analys#after_host,analys#year_fpedats,analystfe,anndats,area_fips,artyear8% · 74 examples in the code
- Creativity Contests: An Experimental Investigation of Eliciting Employee Creativity
Journal of Accounting Research 2023 · pkg 12640
qui: reghdfe Score_Creative Score_Novel Score_Useful if ExecEval == 0, absorb(EvalID2) vce(robust)
- The Impact of Open Data on Public Procurement
Journal of Accounting Research 2023 · pkg 12658
quietly reghdfe OPEN_BIDDING c.TED_CONTRACT##c.POST PROCUREMENT_DIRECTIVE c.LN_CONTRACT_SIZE##i.YR_QT , absorb(COUN …
- By What Criteria Do We Evaluate Accounting? Some Thoughts on Economic Welfare and the Arch
Journal of Accounting Research 2024 · pkg 12668
reghdfe icc close_peer_post, abs(tc ic) cluster(ind)
- Earnings News and Over‐the‐Counter Markets
Journal of Accounting Research 2024 · pkg 12680
main_analysis <- feols(c( net_mark_up, scaled_ad_ratio, irc) ~ ea_rangep01 + ln_size + coupon + rtg_sp_num + time_to_maturity + time_f …
- Creativity Contests: An Experimental Investigation of Eliciting Employee Creativity
Journal of Accounting Research 2023 · pkg 12640
-
industry6% · 5
4 examples in the code
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
eststo: quietly areg unqual y2007 construction07 sales_cat4 sales_cat5 [aw=num_statements] if sales_cat>2 & sales_cat<6 & realestate==0 & boom==1 , cluster(naic …
- CFO Narcissism and Financial Reporting Quality
Journal of Accounting Research 2017 · pkg 12521
areg abstacc apl_w size_w btm_w firmage_w leverage_w l1loss cfovolat_w salesvolat_w percchgcashsales_w chgroa_w earningsprice_w female tenure_w delta_w vega_w i …
- Trade Secrets Law and Corporate Disclosure: Causal Evidence on the Proprietary Cost Hypoth
Journal of Accounting Research 2018 · pkg 12530
areg lnhide_ratio post mis_rd rd_to_sales_2 intangible_to_at_2 advertise_to_sale_2 lnat_2 bign hhi manextyear seonextyear gdpgr unemployment dumt* dums* , …
- Redaction as Cross‐Regulatory Disclosure Avoidance
Journal of Accounting Research 2025 · pkg 12716
fe0 <- felm(SUR ~ group1|sic|0|sic, data = sample1)
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
-
unspecified id (id, i, group...) + time5% · 4
4 examples in the code
- 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)
- Do Commercial Ties Influence ESG Ratings? Evidence from Moody's and S&P
Journal of Accounting Research 2024 · pkg 12697
reghdfe esg_word_countn forest_area_pct ghgper resource_rent renew_energy_pct female_labor life_expectancy lnpop rle unemploy_pct ag_forest_fish gdp_growth gdp_ …
- The Impact of Financial Reporting Mandates on Labor Unions
Journal of Accounting Research 2026 · pkg 12783
qui eststo: reghdfe log_votes_for 1.treatment_fixed##1.post if year >= 2002 & year <=2007, a(f_num year) vce(cluster parent_union_id)
- The Effects of Analyst‐Country Institutions on Biased Research: Evidence from Target Price
Journal of Accounting Research 2019 · pkg 12555
-
firm + industry × time4% · 3
3 examples in the code
- Fraud Allegations and Government Contracting
Journal of Accounting Research 2019 · pkg 12566
areg pct_def_agency w8q log_at hhi cogs lev i.def_ag##i.fyearq i.def_ag##i.fqtr i.ind_code##i.fyearq if intable3==1, absorb(gvkeyn) cluster(gvkeyn)
- Do Managers Issue More Voluntary Disclosure When GAAP Limits Their Reporting Discretion in
Journal of Accounting Research 2022 · pkg 12624
regress n_guid_e drdscorerrl drsize drroa drleverage drmtb drspecial loss drstd_ret drbhar i.indyear, absorb(cik) vce(cl cik)
- ESG Rating Competition and Rating Quality
Journal of Accounting Research 2025 · pkg 12737
did13=felm(disagree~treat+post+treat:post+rating+mktcap+mtb+leverage+roe+Report+io_perc+analyst_log+return|gvkey+indyear_48|0|ffi_48, data=disagree_s …
- Fraud Allegations and Government Contracting
Journal of Accounting Research 2019 · pkg 12566
-
industry + time4% · 3
3 examples in the code
- Silent Suffering: Using Machine Learning to Measure CEO Depression
Journal of Accounting Research 2025 · pkg 12714
reghdfe $dependent1 $test_vars1_g6 , absorb(ff48 fyearq_fqtr ) vce(cluster double_cluster)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe depressed eps_surprise miss_eps_forecast eps_surp_miss_eps_forecast revenue_surprise miss_revenue_forecast rev_surp_miss_rev_forecast roa cumulative_mar …
- Macroeconomic Information Acquisition Around Earnings Clusters
Journal of Accounting Research 2026 · pkg 12757
eststo:reghdfe ln_tdc Var1 ln_ffpeerpay peer_num_ff trs1yr lag_trs1yr roa lag_roa lag_lnrevt lag_mtb lag_leverage lag_volatility12 ceo_age, keepsingle abs(ffi_n …
- Monitoring Quality of Mafia‐Connected Accountants
Journal of Accounting Research 2026 · pkg 12779
reghdfe etr suspect_bsa extaudit tenure_bsa $firm $governance, a(year ffclass30) cluster(firmid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe etr suspect_bsa extaudit tenure_bsa lage nappointments size roa leverage growth cfosd ricavisd ppe_gr lag_acc negequity boardsize age dual familyfirm, a …
- Silent Suffering: Using Machine Learning to Measure CEO Depression
Journal of Accounting Research 2025 · pkg 12714
-
unspecified id (id, i, group...)4% · 3
3 examples in the code
- Politically Connected Governments
Journal of Accounting Research 2020 · pkg 12592
qui areg `j' sum_tenure`i' $control i.audityear, absorb(id) vce(cluster stcd)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui areg `j' sum_tenure`i' new_issue lexp lm_subsidy d_subsidy i.audityear, absorb(id) vce(cluster stcd)
- The Decision Relevance of Loan Fair Values for Depositors
Journal of Accounting Research 2025 · pkg 12704
reghdfe ddep_u `y' roe $bankchara, absorb(group_id) vce(cluster group_id)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ddep_u `y' roe avg_rate_c sd_woff book2asset whole2asset real2asset ln_asset unused2loan, absorb(group_id) vce(cluster group_id)
- Listen Closely: Measuring Vocal Tone in Corporate Disclosures
Journal of Accounting Research 2026 · pkg 12748
fe_res = PanelOLS(regdf[outcome], exog, entity_effects=True, time_effects=False, drop_absorbed=True).fit(cov_type="clustered", clusters=regdf.ca …
- Politically Connected Governments
Journal of Accounting Research 2020 · pkg 12592
-
author-named unit + author-named unit × timenames the reader has no word for, commonest first:
a,activity_year_id,analys#after_host,analys#year_fpedats,analystfe,anndats,area_fips,artyear2% · 22 examples in the code
- Comply or Explain: Do Firms Opportunistically Claim Trade Secrets in Mandatory Environment
Journal of Accounting Research 2024 · pkg 12694
eststo: quietly reghdfe inn_play log_wellcount_byplay log_cumsum_byplay opexp_byplay ln_ogprod_byplay_y, absorb(nop nplay#year) vce(cluster nplay year)
- Syndicated Lending Relationships, Information Asymmetry, and Market Making in the Secondar
Journal of Accounting Research 2025 · pkg 12732
eststo m2: reghdfe ba_s number_of_quotes $market_controls $loan_controls , absorb( i.ds_upid##i.year i.date_of_quote2 ) cluster($clustervar)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo m2: reghdfe ba_s number_of_quotes distress time_since loan_size allindrawn secured revolver performancepricing lender_count fin_cov purpose private lendf …
- Comply or Explain: Do Firms Opportunistically Claim Trade Secrets in Mandatory Environment
Journal of Accounting Research 2024 · pkg 12694
-
firm2% · 2
2 examples in the code
- Do Managers of U.S. Defined Benefit Pension Plan Sponsors Use Regulatory Freedom Strategic
Journal of Accounting Research 2017 · pkg 12524
areg D_interestA Z consol_lev rel_size sizeA durationA riskyA d2 d3 d4 d5 d6 d7 d8 d9, absorb(gvkey) r
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
qui xtreg earnings c.l.earnings##1.d_earnings, fe cluster(firm)
- Do Managers of U.S. Defined Benefit Pension Plan Sponsors Use Regulatory Freedom Strategic
Journal of Accounting Research 2017 · pkg 12524
Share of the 84 packages that absorb fixed effects, each at the set most of its estimations use. Greyed: fewer than 10 packages.
Any estimation absorbs…
-
time69% · 59
4 examples in the code
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
eststo A0: reghdfe lnsvi $supp0 $cust0, a(permno dow month#year) cluster(permno date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo A0: reghdfe lnsvi pre_qea_supp qea_supp pre_qea qea news_dummy, a(permno dow month#year) cluster(permno date)
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
areg diff_frate l.rep l.exam diff_totass diff_capratio diff_liqratio diff_gvratio diff_reratio diff_demratio diff_interbkratio lnpop nbank1-nb4 i.year if bankt …
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
xi:areg tobin tenure_avg_outsider tenure2_avg_outsider $control2a $control2b i.fyear,abs(gvkey) cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:areg tobin tenure_avg_outsider tenure2_avg_outsider tenure_sd_outsider ceoage ceotenure ceopctowned I_ceofounder I_ceochair cboard I_boardind num_busy I_inte …
- 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 …
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
-
author-named unitnames the reader has no word for, commonest first:
a,activity_year_id,analys#after_host,analys#year_fpedats,analystfe,anndats,area_fips,artyear60% · 514 examples in the code
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
reghdfe mob_natbirth treatment_post [aweight = coeffy], absorb(bin country_job country_year) cluster(country_job) keepsingleton
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
areg intloan l.rep i.year nbank1-nb4, absorb(stbt) vce(cluster stbt)
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
xi: reghdfe tobin tenure_avg_outsider tenure2_avg_outsider $control2a $control2b, abs(fyear gvkey execid) cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi: reghdfe tobin tenure_avg_outsider tenure2_avg_outsider tenure_sd_outsider ceoage ceotenure ceopctowned I_ceofounder I_ceochair cboard I_boardind num_busy I_ …
- Relative Target Setting and Cooperation
Journal of Accounting Research 2019 · pkg 12557
qui areg D1_B_PM1a D_LY_A_B_PM1a c.D_LY_A_B_PM1a##i.target_achieve COOP_full c.D_LY_A_B_PM1a#c.COOP_full D_LY_A_PM1a_Peer_B_PM1a_BUA c.D_LY_A_PM1a_Peer_B_PM …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui areg D1_B_PM1a D_LY_A_B_PM1a c.D_LY_A_B_PM1a##i.target_achieve COOP_full c.D_LY_A_B_PM1a#c.COOP_full D_LY_A_PM1a_Peer_B_PM1a_BUA c.D_LY_A_PM1a_Peer_B_PM1a_B …
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
-
firm38% · 32
4 examples in the code
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
eststo A0: reghdfe lnsvi $supp0 $cust0, a(permno dow month#year) cluster(permno date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo A0: reghdfe lnsvi pre_qea_supp qea_supp pre_qea qea news_dummy, a(permno dow month#year) cluster(permno date)
- Do Managers of U.S. Defined Benefit Pension Plan Sponsors Use Regulatory Freedom Strategic
Journal of Accounting Research 2017 · pkg 12524
areg D_interestA Z consol_lev rel_size sizeA durationA riskyA d2 d3 d4 d5 d6 d7 d8 d9, absorb(gvkey) r
- Trade Secrets Law and Corporate Disclosure: Causal Evidence on the Proprietary Cost Hypoth
Journal of Accounting Research 2018 · pkg 12530
areg lnhide_ratio post mis_rd rd_to_sales_2 intangible_to_at_2 advertise_to_sale_2 lnat_2 bign hhi manextyear seonextyear gdpgr unemployment dumt* dums*, a(g …
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
xi:areg tobin tenure_avg_outsider tenure2_avg_outsider $control2a $control2b i.fyear,abs(gvkey) cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:areg tobin tenure_avg_outsider tenure2_avg_outsider tenure_sd_outsider ceoage ceotenure ceopctowned I_ceofounder I_ceochair cboard I_boardind num_busy I_inte …
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
-
industry22% · 19
4 examples in the code
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
eststo: quietly areg unqual y2007 construction07 sales_cat4 sales_cat5 [aw=num_statements] if sales_cat>2 & sales_cat<6 & realestate==0 & boom==1 , cluster(naic …
- CFO Narcissism and Financial Reporting Quality
Journal of Accounting Research 2017 · pkg 12521
areg abstacc apl_w size_w btm_w firmage_w leverage_w l1loss cfovolat_w salesvolat_w percchgcashsales_w chgroa_w earningsprice_w female tenure_w delta_w vega_w i …
- Trade Secrets Law and Corporate Disclosure: Causal Evidence on the Proprietary Cost Hypoth
Journal of Accounting Research 2018 · pkg 12530
areg lnhide_ratio post mis_rd rd_to_sales_2 intangible_to_at_2 advertise_to_sale_2 lnat_2 bign hhi manextyear seonextyear gdpgr unemployment dumt* dums* , …
- Show Me the Money! Dividend Policy in Countries with Weak Institutions
Journal of Accounting Research 2021 · pkg 12607
reghdfe dev tot_init, absorb(cnt FFI17) vce(cluster ncountry)
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
-
author-named unit × timenames the reader has no word for, commonest first:
a,activity_year_id,analys#after_host,analys#year_fpedats,analystfe,anndats,area_fips,artyear15% · 134 examples in the code
- The Effect of Firms' Information Exposure on Safeguarding Employee Health: Evidence from C
Journal of Accounting Research 2023 · pkg 12653
eststo: qui reghdfe device_home_ratio i.prelockdown_20day c.exposure_total_scaled_tr i.prelockdown_20day#c.exposure_total_scaled_tr `control' i.prelockdown_20d …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: qui reghdfe device_home_ratio i.prelockdown_20day c.exposure_total_scaled_tr i.prelockdown_20day#c.exposure_total_scaled_tr demo_asian population_log te …
- What Role Do Boards Play in Companies with Visionary CEOs?
Journal of Accounting Research 2024 · pkg 12685
reghdfe bhaer3 surfunda surinc sur_eps ${control_erc} searchfunda searchinc, absorb(i.nb#c.sur_eps i.fyear#c.sur_eps nb fyear) vce(cluster nb) keepsinAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe bhaer3 surfunda surinc sur_eps betaff size btm leverage loss persistpx searchfunda searchinc, absorb(i.nb#c.sur_eps i.fyear#c.sur_eps nb fyear) vce(clus …
- The Capital Market Effects of Centralizing Regulated Financial Information
Journal of Accounting Research 2024 · pkg 12690
reghdfe spsync oam_ind tpd_ind bundled_ind, nocons absorb(firm_id#peer_dscd_id liquiditycontrol#yearqtr peerliquiditycontrol#yearqtr split102#peer_split102#indu …
- Comply or Explain: Do Firms Opportunistically Claim Trade Secrets in Mandatory Environment
Journal of Accounting Research 2024 · pkg 12694
eststo: quietly reghdfe inn_play log_wellcount_byplay log_cumsum_byplay opexp_byplay ln_ogprod_byplay_y, absorb(nop nplay#year) vce(cluster nplay year)
- The Effect of Firms' Information Exposure on Safeguarding Employee Health: Evidence from C
Journal of Accounting Research 2023 · pkg 12653
-
industry × time15% · 13
4 examples in the code
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
xi:reghdfe tobin tenure_avg_outsider tenure2_avg_outsider $control2a $control2b ,abs(gvkey indyear) cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi:reghdfe tobin tenure_avg_outsider tenure2_avg_outsider tenure_sd_outsider ceoage ceotenure ceopctowned I_ceofounder I_ceochair cboard I_boardind num_busy I_i …
- Fraud Allegations and Government Contracting
Journal of Accounting Research 2019 · pkg 12566
areg pct_def_agency w8q log_at hhi cogs lev i.def_ag##i.fyearq i.def_ag##i.fqtr i.ind_code##i.fyearq if intable3==1, absorb(gvkeyn) cluster(gvkeyn)
- Asymmetric Cost Behavior and Dividend Policy
Journal of Accounting Research 2020 · pkg 12595
reghdfe wf_DPS wb_dec `control', a(sic3_year) cluster(gvkey_n)
- Show Me the Money! Dividend Policy in Countries with Weak Institutions
Journal of Accounting Research 2021 · pkg 12607
reghdfe issuance_fl c.soa_ew_lag1##c.tot AT MKT REVT BtoP ROA ROE RE_AT Loss avgpr , keepsingletons noomitted absorb(i.ff_fyr#i.iso3 i.ffi17#i.ff_fyr fsym_id) c …
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
-
unspecified id (id, i, group...)13% · 11
4 examples in the code
- 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)
- Politically Connected Governments
Journal of Accounting Research 2020 · pkg 12592
qui areg `j' sum_tenure`i' $control i.audityear, absorb(id) vce(cluster stcd)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):qui areg `j' sum_tenure`i' new_issue lexp lm_subsidy d_subsidy i.audityear, absorb(id) vce(cluster stcd)
- Do Commercial Ties Influence ESG Ratings? Evidence from Moody's and S&P
Journal of Accounting Research 2024 · pkg 12697
reghdfe esg_word_countn forest_area_pct ghgper resource_rent renew_energy_pct female_labor life_expectancy lnpop rle unemploy_pct ag_forest_fish gdp_growth gdp_ …
- The Effects of Analyst‐Country Institutions on Biased Research: Evidence from Target Price
Journal of Accounting Research 2019 · pkg 12555
-
county / city / district12% · 10
4 examples in the code
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
areg ln_nbanks ln_trep i.FIPScode totpop1-tpop5 urbpct, absorb(pair_yr) vce(cluster FIPSstate)
- Financial Gatekeepers and Investor Protection: Evidence from Criminal Background Checks
Journal of Accounting Research 2019 · pkg 12563
reghdfe criminal male minority, absorb(startingyear cityid)
- Do Strict Regulators Increase the Transparency of Banks?
Journal of Accounting Research 2019 · pkg 12565
areg negrestat b $d i.quarter i.FedReg if quarter>163, absorb(county) vce(cluster reg_state)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):areg negrestat b lnassets lndep resishare cshare creshare nplratio oreo_ratio commit_ratio i.quarter i.FedReg if quarter>163, absorb(county) vce(cluster reg_sta …
- Does Consumer Protection Enhance Disclosure Credibility in Reward Crowdfunding?
Journal of Accounting Research 2019 · pkg 12572
reghdfe $dep_var disclosure post_X_treated disclosure_X_post disclosure_X_treated disclosure_X_post_X_treated $indep_vars, absorb(num_Subcategory state_county …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe successful_d disclosure post_X_treated disclosure_X_post disclosure_X_treated disclosure_X_post_X_treated loggoal_amount_USD logproject_duration project …
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
-
state / province × time12% · 10
4 examples in the code
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
areg frate l.rep l.exam nbank1-nb4 i.yrbt i.stbt if year>1895, absorb(styr) vce(cluster stbt)
- Politically Connected Governments
Journal of Accounting Research 2020 · pkg 12592
reg2hdfe `j' sum_tenure`i' $control , id1(id) id2(styr) cluster (stcd)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reg2hdfe `j' sum_tenure`i' new_issue lexp lm_subsidy d_subsidy , id1(id) id2(styr) cluster (stcd)
- The Economic Consequences of Financial Audit Regulation in the Charitable Sector
Journal of Accounting Research 2022 · pkg 12635
eststo:quietly reghdfe MANDATORY_AUDIT_SHARE INST_MANDATORY_AUDIT_SHARE, absorb(STATE_YEAR_ID ACTIVITY_YEAR_ID) vce(cluster STATE_ID)
- The Effect of Firms' Information Exposure on Safeguarding Employee Health: Evidence from C
Journal of Accounting Research 2023 · pkg 12653
eststo: qui reghdfe device_home_ratio i.prelockdown_20day c.exposure_total_scaled_tr i.prelockdown_20day#c.exposure_total_scaled_tr `control' i.prelockdown_20d …
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo: qui reghdfe device_home_ratio i.prelockdown_20day c.exposure_total_scaled_tr i.prelockdown_20day#c.exposure_total_scaled_tr demo_asian population_log te …
- Disclosure Regulation in the Commercial Banking Industry: Lessons from the National Bankin
Journal of Accounting Research 2018 · pkg 12528
-
firm × time7% · 6
4 examples in the code
- The Impact of Credit Market Development on Auditor Choice: Evidence from Banking Deregulat
Journal of Accounting Research 2024 · pkg 12677
areg indexp sposttreat i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //without control variables
- ESG Rating Competition and Rating Quality
Journal of Accounting Research 2025 · pkg 12737
did11=felm(disagree~treatpost_cohort+rating+mktcap+mtb+leverage+roe+Report+io_perc+analyst_log+return |cohortfirm+indyearcohort_48|0|cohortind_48,dat … - Responding to Climate Change Crises: Firms' Trade‐Offs
Journal of Accounting Research 2025 · pkg 12740
eststo: qui reghdfe clmctweet_exclpromo c.(clmc_a clmc_b others_clmc_a others_clmc_b) lnret tenk tenq eightk nonclimate, a(firm_year industry_date) vce(cluster …
- Freedom of Expression Protection and Corporate Concealment of Bad News: Evidence from Stat
Journal of Accounting Research 2026 · pkg 12751
quietly reghdfe fs1 treat_hq `controls', absorb(cohort_firm cohort_state cohort_sic4_fyear) vce(cluster hq)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):quietly reghdfe fs1 treat_hq logat_1 m2b_1 big4_1 stdrev_1 salegrowth_med_1 debt_lagat_1 loss_1 netfin_1 real_gsp_growth_1 ur_1 log_pop_1, absorb(cohort_firm co …
- The Impact of Credit Market Development on Auditor Choice: Evidence from Banking Deregulat
Journal of Accounting Research 2024 · pkg 12677
Share of 85 packages with a model that shows the design. Greyed: fewer than 10 packages.
Estimator commands
-
reghdfe71% · 60
3 examples in the code
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
reghdfe mob_natbirth treatment_post [aweight = coeffy], absorb(bin country_job country_year) cluster(country_job) keepsingleton
- Anticipated Earnings Announcements and the Customer-Supplier Anomaly
Journal of Accounting Research 2017 · pkg 12514
eststo A0: reghdfe lnsvi $supp0 $cust0, a(permno dow month#year) cluster(permno date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):eststo A0: reghdfe lnsvi pre_qea_supp qea_supp pre_qea qea news_dummy, a(permno dow month#year) cluster(permno date)
- Zombie Board: Board Tenure and Firm Performance
Journal of Accounting Research 2018 · pkg 12550
xi: reghdfe tobin tenure_avg_outsider tenure2_avg_outsider $control2a $control2b, abs(fyear gvkey execid) cluster(gvkey)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xi: reghdfe tobin tenure_avg_outsider tenure2_avg_outsider tenure_sd_outsider ceoage ceotenure ceopctowned I_ceofounder I_ceochair cboard I_boardind num_busy I_ …
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
-
areg21% · 18
3 examples in the code
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
areg meanmobility treatment_post treatment [aweight=minsample], absorb(bin) cluster(country_job)
- Sharing Risk with the Government: How Taxes Affect Corporate Risk Taking
Journal of Accounting Research 2017 · pkg 12513
quiet areg diff_std_roaq L.(taxchangeup taxchangedown) D.($Xvars_state) DL.($Xvars), cluster(state) absorb(i_t)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):quiet areg diff_std_roaq L.(taxchangeup taxchangedown) D.(gdpgr suer) DL.(age lnat09 mb ltbook_lev sur_cash nol sgrowth RET_12), cluster(state) absorb(i_t)
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
eststo: quietly areg unqual y2007 construction07 sales_cat4 sales_cat5 [aw=num_statements] if sales_cat>2 & sales_cat<6 & realestate==0 & boom==1 , cluster(naic …
- The Effect of Regulatory Harmonization on Cross-Border Labor Migration: Evidence from the
Journal of Accounting Research 2017 · pkg 12504
-
xtreg11% · 9
3 examples in the code
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
eststo: quietly xtreg auditgrowth GDPgrowth sales_cat4- sales_cat5 if sales_cat>2 & sales_cat<6, fe cluster(naics_test)
- 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 …
- Investment Dynamics and Earnings‐Return Properties: A Structural Approach
Journal of Accounting Research 2019 · pkg 12564
qui xtreg earnings c.l.earnings##1.d_earnings, fe cluster(firm)
- Economic Growth and Financial Statement Verification
Journal of Accounting Research 2017 · pkg 12515
-
feols6% · 5
3 examples in the code
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
weight_mod <- feols( log(food_weight) ~ tment| day + slot, df, cluster = c("dayslot") ) - Earnings News and Over‐the‐Counter Markets
Journal of Accounting Research 2024 · pkg 12680
main_analysis <- feols(c( net_mark_up, scaled_ad_ratio, irc) ~ ea_rangep01 + ln_size + coupon + rtg_sp_num + time_to_maturity + time_f … - Internal Forecasts in Multi‐Location Firms
Journal of Accounting Research 2026 · pkg 12743
gr.ns.N <- feols(scale(agtvs) ~ scale(fgtvs_ev)*scale(fgtvs_unc) | NAICS , merged[singleton.samp==TRUE])
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
-
felm2% · 2
2 examples in the code
- Redaction as Cross‐Regulatory Disclosure Avoidance
Journal of Accounting Research 2025 · pkg 12716
fe2 <- felm(redact ~ treat*post+cash+leverage+mtb+ln_asset+ebitda_adj+rd_ratio+missing_rd +marketsize+entrycost+substitute+marketshare|gvkey+fyearsi … - ESG Rating Competition and Rating Quality
Journal of Accounting Research 2025 · pkg 12737
did12=felm(disagree~treat+post+treat:post+rating+mktcap+mtb+leverage+roe+Report+io_perc+analyst_log+return|gvkey+year|0|ffi_48, data=disagree_sample[ …
- Redaction as Cross‐Regulatory Disclosure Avoidance
Journal of Accounting Research 2025 · pkg 12716
-
reg2% · 2
2 examples in the code
- Do Managers Issue More Voluntary Disclosure When GAAP Limits Their Reporting Discretion in
Journal of Accounting Research 2022 · pkg 12624
reg annret lrann_fcerr_lpricew drdscorerrlf x1 sizew fcerr_size lbtmw fcerr_btm leveragew fcerr_lev earn_volw fcerr_earnvol ret_volw fcerr_retvol busseg fcerr_b …
- Company Websites: A New Measure of Disclosure
Journal of Accounting Research 2026 · pkg 12745
reg appli_f ln_empl ln_opre if log_volume_2018<.,absorb(naics4) vce(cluster naics4)
- Do Managers Issue More Voluntary Disclosure When GAAP Limits Their Reporting Discretion in
Journal of Accounting Research 2022 · pkg 12624
-
feglm1% · 1
1 example 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 …
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
-
femlm1% · 1
1 example in the code
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
mtfsh_mod <- femlm( meat_fish ~ tment| day + slot, family = "logit", df, cluster = c("dayslot") )
- How Does Carbon Footprint Information Affect Consumer Choice? A Field Experiment
Journal of Accounting Research 2024 · pkg 12669
-
hdfe1% · 1
1 example in the code
- Do Consumers Vote with Their Feet in Response to Negative ESG News? Evidence from Foot Tra
Journal of Accounting Research 2026 · pkg 12776
hdfe $partialvar, absorb(dow gvkey##news_date fips##visityear) gen(r_)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):hdfe post lnvisits2 p_de_yale2018 p_de_union2018 p_de_inc2018 p_de_edu2018 p_de_dem2018, absorb(dow gvkey##news_date fips##visityear) gen(r_)
- Do Consumers Vote with Their Feet in Response to Negative ESG News? Evidence from Foot Tra
Journal of Accounting Research 2026 · pkg 12776
-
panelols1% · 1
1 example in the code
- Listen Closely: Measuring Vocal Tone in Corporate Disclosures
Journal of Accounting Research 2026 · pkg 12748
fe_res = PanelOLS(regdf[outcome], exog, entity_effects=True, time_effects=False, drop_absorbed=True).fit(cov_type="clustered", clusters=regdf.ca …
- Listen Closely: Measuring Vocal Tone in Corporate Disclosures
Journal of Accounting Research 2026 · pkg 12748
Share of 85 packages with a model that shows the design (a package runs several). Greyed: fewer than 10 packages.
Validation checks
-
Oster (2019) selection bounds (psacalc)0% · 0
-
multiple-testing correction (FDR, Romano-Wolf, ...)0% · 0
Share of 86 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.