Difference-in-differences
This design across fields
| Field | packages | main clustering (of those that cluster) | winsorize / trim | checks |
|---|---|---|---|---|
| All fields | 498 | author-named unit 36%; unspecified id (id, i, group...) 12%; county / city / district 12%; state / province 11% (n=385) | 30% | pre-trend test 27%; event-time 5% |
| Finance | 80 | firm 20%; author-named unit 14%; unspecified id (id, i, group...) 12%; state / province 11% (n=66) | 61% | pre-trend test 10%; event-time 9% |
| Accounting | 23 | author-named unit 18%; firm 18%; industry 12%; industry × time 12% (n=17) | 74% | pre-trend test 0%; event-time 4% |
| Economics | 393 | author-named unit 42%; county / city / district 15%; unspecified id (id, i, group...) 13%; state / province 11% (n=301) | 21% | pre-trend test 31%; event-time 5% |
| Other fields | 2 thin | author-named unit 100% (n=1) | 0% | pre-trend test 50%; event-time 0% |
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 + industry × time fixed effects,
winsorizes, drops missing rows) —
it matches 6 of 6. Each contrast takes the second most common choice on one dimension.
- commands
reghdfe- clusters by
- firm
- fixed effects
- firm + industry × time; firm + time; firm × time + time; firm × time + industry × time
- outliers
- winsorize 1/99
- missing values
- replace missing with another value (imputation); drop rows with missing values; replace missing with zero (imputation)
- sample years
- 2003–2013 (as on the package page)
- checks
- none of the design's checks found
- commands
reghdfe- clusters by
- industry
- fixed effects
- unspecified id (id, i, group...) + time
- outliers
- winsorize 1/99
- missing values
- drop rows with missing values; replace missing with zero (imputation)
- sample years
- 2011–2020 (as on the package page)
- checks
- none of the design's checks found
- commands
reghdfe- clusters by
- firm; author-named unit
- fixed effects
- firm + time; author-named unit + time
- outliers
- no winsorizing / trimming found
- missing values
- drop rows with missing values
- checks
- none of the design's checks found
- commands
reg- clusters by
- unspecified id (id, i, group...)
- fixed effects
- industry × time
- outliers
- winsorize 1/99; winsorize 2.5/99
- missing values
- replace missing with zero (imputation); drop rows with missing values; replace missing with another value (imputation)
- sample years
- 2016–2019 (as on the package page)
- checks
- none of the design's checks found
Sample screens
-
exclude financials13% · 3
3 examples in the code
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
drop if sic>=6000 & sic<=6999
- Does U.S. Immigration Policy Facilitate Financial Misconduct?
Journal of Accounting Research 2025 · pkg 12738
drop if $sic>=60 & $sic<=69
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):drop if sicc2>=60 & sicc2<=69
- Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implicat
Journal of Accounting Research 2026 · pkg 12746
drop if sic>=6000 & sic<=6999
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
-
NYSE / AMEX / Nasdaq only (exchcd 1-3)4% · 1
1 example in the code
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
keep if EXCHCD == 1 | EXCHCD == 2 | EXCHCD == 3
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
-
common shares only (shrcd 10/11)4% · 1
1 example in the code
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
keep if SHRCD == 11 | SHRCD == 10
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
Share of 23 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
17 of 23 packages (74%) winsorize or trim something: 17 winsorize, 1 trim, 7 by group (e.g. by year).
-
winsorize 1/9982% · 14
4 examples in the code
- Effects of an Information Sharing System on Employee Creativity, Engagement, and Performan
Journal of Accounting Research 2018 · pkg 12539
winsor sales_tax, gen (sales_w) p(0.01)
- Labor Market Effects of Spatial Licensing Requirements: Evidence from CPA Mobility
Journal of Accounting Research 2021 · pkg 12601
winsor2 fees, suffix(_w) cuts(1 99)
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
winsor2 star_rating_chg tone_chg
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
winsor2 ln_size ln_analyst_following ln_firmage abs_gaap_st_diff mafe_act_w dispersion_act_w st_earnings f_st_earnings f_cfo abs_surprise ln_reporting_lag log_ …
- Effects of an Information Sharing System on Employee Creativity, Engagement, and Performan
Journal of Accounting Research 2018 · pkg 12539
-
winsorize 1/99 by group41% · 7
4 examples in the code
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
winsor2 gexp fexp analysts_employed mean_abs_fcast_error_act_w abs_fcast_error_prc abs_fcast_error_act_w n_ea_covered_5d, by(yearqtr) replace
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
winsor2 base, suffix(_w) cuts(1 99) by(country)
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
winsor2 `var', suffix(_w) cuts(1 99) by(fyear)
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
winsor2 cust_fluid_ind_std cust_simm_ind_std ws_tss_psalecs, replace cuts(1 99) by(year)
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
-
trim 1/996% · 1
1 example in the code
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
%winsor(dsetin=work.Analysis, dsetout=work.Analysis, byvar=none, vars=relstkpick1, type=trim, pctl=1 99);
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
-
trim 1/99 by group6% · 1
1 example in the code
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
%winsor(dsetin=work.Analysis, dsetout=work.Analysis, byvar=fyear, vars=relstkpick1 relstkpick1_2pct relstkpick1_3pct , type=trim, pctl=1 99);
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
-
winsorize 2.5/996% · 1
1 example in the code
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
winsor exposure_end_assets, gen(wexposure_end_assets) p(0.01)
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
-
winsorize 7/99 by group6% · 1
1 example in the code
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
winsor2 ws_tss_p_salecs $controls, by(sic3) cuts(1 99) replace
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):winsor2 ws_tss_p_salecs roabeg AT mtb restruct ch_sale tangibility num_ma_cust_ind_ln cust_fluid_ind_std cust_simm_ind_std, by(sic3) cuts(1 99) replace
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
-
winsorize none/996% · 1
1 example in the code
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
winsor2 log_wanted_3_sic3_1 if post3 == 1, cuts(0 99) replace
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
-
winsorize, cut not stored: the call could not be read6% · 1
1 example in the code
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
%winsor_by_group(data=MF_merged3, out=MF_merged3, var=MFOR, group=ryear, pctl=1) data MF_merged3; set MF_merged3;
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
Share of the 17 packages that winsorize or trim (a package can use several cuts). Greyed: fewer than 10 packages.
Missing values
-
drop rows with missing values87% · 20
4 examples in the code
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
keep if !missing(egcbyrev)
- Effects of an Information Sharing System on Employee Creativity, Engagement, and Performan
Journal of Accounting Research 2018 · pkg 12539
drop if tr==.
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
drop if missing(BvDIDnumber)
- Labor Market Effects of Spatial Licensing Requirements: Evidence from CPA Mobility
Journal of Accounting Research 2021 · pkg 12601
keep if counter == 15 & neighbor_county == 1 & border_id != 74 & diff_adoption == 1 & !missing(logpay) & minemp > 0 /*BorderID 74 is Lake Michigan*/
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
-
replace missing with another value (imputation)74% · 17
4 examples in the code
- Effects of an Information Sharing System on Employee Creativity, Engagement, and Performan
Journal of Accounting Research 2018 · pkg 12539
replace `x'`y' = `x'`y'[_n-1] if (Poster_alldups==Poster_alldups[_n-1] & `x'`y'==.)
- Labor Market Effects of Spatial Licensing Requirements: Evidence from CPA Mobility
Journal of Accounting Research 2021 · pkg 12601
replace caseyear = 2006 if missing(caseyear) /*manually checked these individuals*/
- The Role of Academic Research in SEC Rulemaking: Evidence from Business Roundtable v. SEC
Journal of Accounting Research 2021 · pkg 12603
replace final = 1 if final==.
- Voice of the Customers: Local Trust Culture and Consumer Complaints to the CFPB
Journal of Accounting Research 2021 · pkg 12611
by state: replace banked=banked[_n-1] if banked==.
- Effects of an Information Sharing System on Employee Creativity, Engagement, and Performan
Journal of Accounting Research 2018 · pkg 12539
-
replace missing with zero (imputation)74% · 17
4 examples in the code
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
replace hightech=0 if missing(hightech)
- Effects of an Information Sharing System on Employee Creativity, Engagement, and Performan
Journal of Accounting Research 2018 · pkg 12539
replace count = 0 if count == .
- Labor Market Effects of Spatial Licensing Requirements: Evidence from CPA Mobility
Journal of Accounting Research 2021 · pkg 12601
replace provider_01_salary_amt = 0 if missing(provider_01_salary_amt)
- The Role of Academic Research in SEC Rulemaking: Evidence from Business Roundtable v. SEC
Journal of Accounting Research 2021 · pkg 12603
replace cost=0 if cost==.
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
-
interpolate missing values26% · 6
4 examples in the code
- Voice of the Customers: Local Trust Culture and Consumer Complaints to the CFPB
Journal of Accounting Research 2021 · pkg 12611
tsfill
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
tsfill, full
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
tsfill, full
- Does U.S. Immigration Policy Facilitate Financial Misconduct?
Journal of Accounting Research 2025 · pkg 12738
by gvkey: carryforward(LCA_Pre_tmp),replace
- Voice of the Customers: Local Trust Culture and Consumer Complaints to the CFPB
Journal of Accounting Research 2021 · pkg 12611
Share of 23 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 estimation100% · 17
Of the 17 packages with a model that shows the design.
Main clustering level
-
author-named unitnames the reader has no word for, commonest first:
country_twoyear,countryindustry1digit_fe,parent,pr_date,sgvkey,spurid,uo_bvdid18% · 33 examples in the code
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
xtreg $DV wpd $COUNTRYSHOCKS if $PANEL, fe cluster(spurid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xtreg ln_base_def wpd i.countryfactor#i.year if panelobs >=2, fe cluster(spurid)
- The Effect of U.S. Country‐by‐Country Reporting on U.S. Multinationals’ Tax‐Motivated Inco
Journal of Accounting Research 2025 · pkg 12719
reghdfe lnplbt c.C##i.treat500##i.post lncompexp_zero lntangiblefa_zero lngdp if ISsample500_2011_2018==1, a(mnefyear uo_bvdid) cluster(uo_bvdid)
- Corporate Tax System Complexity and Investment Sensitivity to Tax Policy Changes
Journal of Accounting Research 2026 · pkg 12769
reghdfe tanginvestment_net treat post treat_post $lagcontrols /// $country_controls [aw=weight_3yearav] , $fixedeffstack_countindclusAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe tanginvestment_net treat post treat_post lagleverage lagroa lagsize lagcash_holdings lagcap_int gdp_growth inflation unemployment gdp_capita [aw=weight_ …
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
-
firm18% · 3
3 examples in the code
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
eststo: reghdfe ETR_R CBCR POST CBCR_POST if EUHQ==1, absorb (Firm Year) cluster(Firm)
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
reghdfe de_kld post_gd_4 post_gd_3-post_gd3 $controls, absorb(permno ff48year) vce(cluster permno)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe de_kld post_gd_4 post_gd_3-post_gd3 lnsale roa_w btm_w cash_w div_w leverage_w sa_index_w pih_w lnnumana rd_w ad_w ln_emp_at, absorb(permno ff48year) vc …
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
qui reghdfe relstkpick1 i.treated##i.post size_l roaq bm drevq lvrg ln_cash, /// absorb(id#cid qd#cid) cluster(id)
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
-
industry12% · 2
2 examples in the code
- Payment Practices Transparency and Customer‐Supplier Dynamics
Journal of Accounting Research 2024 · pkg 12678
reghdfe ln_AR control_post control post LnSales_1_99 if smp_prd ==1, ab(EntityID year) cluster(IQ_INDUSTRY_GROUP)
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
reghdfe log_wanted_3_sic3 c.cust_treat2_1##c.post , absorb(year sgvkey) vce(cluster sic3)
- Payment Practices Transparency and Customer‐Supplier Dynamics
Journal of Accounting Research 2024 · pkg 12678
-
industry × time12% · 2
2 examples in the code
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
eststo: xi: reg acctlegalpct treated_post treated post lnproceeds_res unprofitable drnd lnage avrg_brmktsh lndiffdate nasdaq90d lnnreg_filter crisis i.famafrenc …
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
reghdfe capex_w c.high_tpu_increase_ch#c.post c.high_tps_increase_ch#c.post /// l_lvg_w l_mtb_w l_roa_w l_size l_sg_w l_div_payer l_cash_flow_w l_cash_assets_ …
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
-
state / province12% · 2
2 examples in the code
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
xi: areg ozone3y treatxpost treat post c.reg2##(c.median_income c.income_inequality c.education c.age c.urban c.rel c.social_capital c.statetaxrate c.temp c.win …
- Fraud Power Laws
Journal of Accounting Research 2024 · pkg 12683
reghdfe restate_core c.treated##c.post , noa cluster(state1)
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
-
country6% · 1
1 example in the code
- Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implicat
Journal of Accounting Research 2026 · pkg 12746
reghdfe absTotAcc2 i.ESTABLISHMENT i.IFRS_ADOPTION `controls' InvAssetsw RevARw PPENw ROAw if fyear>=2000, absorb (fyear gvkey) vce(cluster nation)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe absTotAcc2 i.ESTABLISHMENT i.IFRS_ADOPTION Size2w Performancew Growthw Loss PPE_Growthw Leveragew SalesVolw CFOVolw InvAssetsw RevARw PPENw ROAw if fyea …
- Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implicat
Journal of Accounting Research 2026 · pkg 12746
-
region / MSA / CZ6% · 1
1 example in the code
- Does U.S. Immigration Policy Facilitate Financial Misconduct?
Journal of Accounting Research 2025 · pkg 12738
qui reghdfe max_res_s_irr H1B_Post H1B Post if miss==0 & H1B_All==1, keepsing absorb(xid fyear) noomit vce(cluster msa)
- Does U.S. Immigration Policy Facilitate Financial Misconduct?
Journal of Accounting Research 2025 · pkg 12738
-
two-way: firm + author-named unitnames the reader has no word for, commonest first:
country_twoyear,countryindustry1digit_fe,parent,pr_date,sgvkey,spurid,uo_bvdid6% · 11 example in the code
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
reghdfe ln_lagmins post treatment post_treatment $controls /// ,absorb(permno yearqtr pr_hr) cluster(permno pr_date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_lagmins post treatment post_treatment abs_gaap_st_diff abs_surprise bnews guidance qtr4 ln_reporting_lag ln_size ln_firmage io ln_analyst_following s …
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
-
two-way: firm + firm6% · 1
1 example in the code
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
reghdfe lcitation POST##TREAT $Control1, absorb(permno1##permno2 permno1##year permno2##year) cluster(permno1 permno2)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lcitation POST##TREAT CommonAnalyst CommonAlliance CommonInventor CommonOwnership TechSimilarity RelativeAnalyst RelativeSize RelativePatentStock Relati …
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
-
unspecified id (id, i, group...)6% · 1
1 example in the code
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
reg mixed `ControlFunction' `Interactions' MEDIUM LDT2 LDT2_MEDIUM MEDIUM_POST POST [pw=max(0,0.105-abs(LDT2))], cluster(id)
We recorded this statement as below; the file does not hold it at this line (the code above is the file's):reg mixed threshold1 LDT1 LDT1_threshold1 threshold3 LDT3 LDT3_threshold3 wLIQUIDITY wCASHSTI wEQTOTA wINVT wEBITDA_MARGIN wOSCORE log_age log_ARcycle log_APcyc …
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
Share of the 17 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
17 of 17 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:
countryfactor#i.year,enforce_yr#fyear#qd#cid,enforce_yr#id#cid,firm_fe##event,fyear#qd#cid,fyear#qd_rel#cid,high_d_ir_freq#fyear#qd_rel#cid,high_d_ir_freq#id#cid18% · 33 examples in the code
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
xtreg $DV wpd $COUNTRYSHOCKS if $PANEL, fe cluster(spurid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xtreg ln_base_def wpd i.countryfactor#i.year if panelobs >=2, fe cluster(spurid)
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
xi: areg ozone3y treatxpost treat post c.reg2##(c.median_income c.income_inequality c.education c.age c.urban c.rel c.social_capital c.statetaxrate c.temp c.win …
- The Effect of U.S. Country‐by‐Country Reporting on U.S. Multinationals’ Tax‐Motivated Inco
Journal of Accounting Research 2025 · pkg 12719
reghdfe lnplbt c.C##i.treat500##i.post lncompexp_zero lntangiblefa_zero lngdp if ISsample500_2011_2018==1, a(mnefyear uo_bvdid) cluster(uo_bvdid)
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
-
firm + industry × time12% · 2
2 examples in the code
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
reghdfe de_kld post_gd_4 post_gd_3-post_gd3 $controls, absorb(permno ff48year) vce(cluster permno)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe de_kld post_gd_4 post_gd_3-post_gd3 lnsale roa_w btm_w cash_w div_w leverage_w sa_index_w pih_w lnnumana rd_w ad_w ln_emp_at, absorb(permno ff48year) vc …
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
reghdfe capex_w c.high_tpu_increase_ch#c.post c.high_tps_increase_ch#c.post /// l_lvg_w l_mtb_w l_roa_w l_size l_sg_w l_div_payer l_cash_flow_w l_cash_assets_ …
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
-
firm + time12% · 2
2 examples in the code
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
eststo: reghdfe ETR_R CBCR POST CBCR_POST if EUHQ==1, absorb (Firm Year) cluster(Firm)
- Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implicat
Journal of Accounting Research 2026 · pkg 12746
reghdfe absTotAcc2 i.ESTABLISHMENT i.IFRS_ADOPTION `controls' InvAssetsw RevARw PPENw ROAw if fyear>=2000, absorb (fyear gvkey) vce(cluster nation)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe absTotAcc2 i.ESTABLISHMENT i.IFRS_ADOPTION Size2w Performancew Growthw Loss PPE_Growthw Leveragew SalesVolw CFOVolw InvAssetsw RevARw PPENw ROAw if fyea …
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
-
author-named unit + timenames the reader has no word for, commonest first:
countryfactor#i.year,enforce_yr#fyear#qd#cid,enforce_yr#id#cid,firm_fe##event,fyear#qd#cid,fyear#qd_rel#cid,high_d_ir_freq#fyear#qd_rel#cid,high_d_ir_freq#id#cid6% · 11 example in the code
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
reghdfe log_wanted_3_sic3 c.cust_treat2_1##c.post , absorb(year sgvkey) vce(cluster sic3)
- Internalizing Peer Firm Product Market Concerns: Supply Chain Relations and M&A Activity
Journal of Accounting Research 2025 · pkg 12712
-
firm + author-named unit + timenames the reader has no word for, commonest first:
countryfactor#i.year,enforce_yr#fyear#qd#cid,enforce_yr#id#cid,firm_fe##event,fyear#qd#cid,fyear#qd_rel#cid,high_d_ir_freq#fyear#qd_rel#cid,high_d_ir_freq#id#cid6% · 11 example in the code
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
reghdfe ln_lagmins post treatment post_treatment $controls /// ,absorb(permno yearqtr pr_hr) cluster(permno pr_date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_lagmins post treatment post_treatment abs_gaap_st_diff abs_surprise bnews guidance qtr4 ln_reporting_lag ln_size ln_firmage io ln_analyst_following s …
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
-
firm + firm × time6% · 1
1 example in the code
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
reghdfe lcitation POST##TREAT $Control1, absorb(permno1##permno2 permno1##year permno2##year) cluster(permno1 permno2)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lcitation POST##TREAT CommonAnalyst CommonAlliance CommonInventor CommonOwnership TechSimilarity RelativeAnalyst RelativeSize RelativePatentStock Relati …
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
-
firm × author-named unit + industry × author-named unit × timenames the reader has no word for, commonest first:
countryfactor#i.year,enforce_yr#fyear#qd#cid,enforce_yr#id#cid,firm_fe##event,fyear#qd#cid,fyear#qd_rel#cid,high_d_ir_freq#fyear#qd_rel#cid,high_d_ir_freq#id#cid6% · 11 example in the code
- Corporate Tax System Complexity and Investment Sensitivity to Tax Policy Changes
Journal of Accounting Research 2026 · pkg 12769
reghdfe tanginvestment_net treat post treat_post $lagcontrols /// $country_controls [aw=weight_3yearav] , $fixedeffstack_countindclusAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe tanginvestment_net treat post treat_post lagleverage lagroa lagsize lagcash_holdings lagcap_int gdp_growth inflation unemployment gdp_capita [aw=weight_ …
- Corporate Tax System Complexity and Investment Sensitivity to Tax Policy Changes
Journal of Accounting Research 2026 · pkg 12769
-
firm × treatment group + state / province × time + industry × time6% · 1
1 example in the code
- Fraud Power Laws
Journal of Accounting Research 2024 · pkg 12683
reghdfe restate_core c.treated##c.post $controls , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe restate_core c.treated##c.post logat leverage mtb loss ret retvol roabeg , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
- Fraud Power Laws
Journal of Accounting Research 2024 · pkg 12683
-
industry6% · 1
1 example in the code
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
eststo: xi: reg acctlegalpct treated_post treated post lnproceeds_res unprofitable drnd lnage avrg_brmktsh lndiffdate nasdaq90d lnnreg_filter crisis i.famafrenc …
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
-
industry × time6% · 1
1 example in the code
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
reg mixed `ControlFunction' `Interactions' MEDIUM LDT2 LDT2_MEDIUM MEDIUM_POST POST [pw=max(0,0.105-abs(LDT2))], cluster(id)
We recorded this statement as below; the file does not hold it at this line (the code above is the file's):reg mixed threshold1 LDT1 LDT1_threshold1 threshold3 LDT3 LDT3_threshold3 wLIQUIDITY wCASHSTI wEQTOTA wINVT wEBITDA_MARGIN wOSCORE log_age log_ARcycle log_APcyc …
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
Share of the 17 packages that absorb fixed effects, each at the set most of its estimations use. Greyed: fewer than 10 packages.
Any estimation absorbs…
-
time47% · 8
4 examples in the code
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
eststo: reghdfe ETR_R CBCR POST CBCR_POST if EUHQ==1, absorb (Firm Year) cluster(Firm)
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
reghdfe de_kld post_gd $controls, absorb(permno year) vce(cluster permno)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe de_kld post_gd lnsale roa_w btm_w cash_w div_w leverage_w sa_index_w pih_w lnnumana rd_w ad_w ln_emp_at, absorb(permno year) vce(cluster permno)
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
reghdfe ln_lagmins post treatment post_treatment $controls /// ,absorb(permno yearqtr pr_hr) cluster(permno pr_date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_lagmins post treatment post_treatment abs_gaap_st_diff abs_surprise bnews guidance qtr4 ln_reporting_lag ln_size ln_firmage io ln_analyst_following s …
- Payment Practices Transparency and Customer‐Supplier Dynamics
Journal of Accounting Research 2024 · pkg 12678
reghdfe ln_AR control_post control post LnSales_1_99 if smp_prd ==1, ab(EntityID year) cluster(IQ_INDUSTRY_GROUP)
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
-
author-named unitnames the reader has no word for, commonest first:
countryfactor#i.year,enforce_yr#fyear#qd#cid,enforce_yr#id#cid,firm_fe##event,fyear#qd#cid,fyear#qd_rel#cid,high_d_ir_freq#fyear#qd_rel#cid,high_d_ir_freq#id#cid41% · 74 examples in the code
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
eststo: reghdfe LogPTI C CBCR POST CBCR_POST C_CBCR C_POST C_CBCR_POST LogFA LogComp LogGDP , absorb(Parent Year) cluster (Parent)
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
reghdfe ln_lagmins post treatment post_treatment $controls /// ,absorb(permno yearqtr pr_hr) cluster(permno pr_date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_lagmins post treatment post_treatment abs_gaap_st_diff abs_surprise bnews guidance qtr4 ln_reporting_lag ln_size ln_firmage io ln_analyst_following s …
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
xtreg $DV wpd $COUNTRYSHOCKS if $PANEL, fe cluster(spurid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xtreg ln_base_def wpd i.countryfactor#i.year if panelobs >=2, fe cluster(spurid)
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
xi: areg ozone3y treatxpost treat post c.reg2##(c.median_income c.income_inequality c.education c.age c.urban c.rel c.social_capital c.statetaxrate c.temp c.win …
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
-
firm41% · 7
4 examples in the code
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
eststo: reghdfe ETR_R CBCR POST CBCR_POST if EUHQ==1, absorb (Firm Year) cluster(Firm)
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
reghdfe de_kld post_gd_4 post_gd_3-post_gd3 $controls, absorb(permno ff48year) vce(cluster permno)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe de_kld post_gd_4 post_gd_3-post_gd3 lnsale roa_w btm_w cash_w div_w leverage_w sa_index_w pih_w lnnumana rd_w ad_w ln_emp_at, absorb(permno ff48year) vc …
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
reghdfe ln_lagmins post treatment post_treatment $controls /// ,absorb(permno yearqtr pr_hr) cluster(permno pr_date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_lagmins post treatment post_treatment abs_gaap_st_diff abs_surprise bnews guidance qtr4 ln_reporting_lag ln_size ln_firmage io ln_analyst_following s …
- Fraud Power Laws
Journal of Accounting Research 2024 · pkg 12683
reghdfe restate_core c.treated##b(2).time1 $controls , a(gvkey1 i.sic3#i.year i.state1#i.year) cluster(state1)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe restate_core c.treated##b(2).time1 logat leverage mtb loss ret retvol roabeg , a(gvkey1 i.sic3#i.year i.state1#i.year) cluster(state1)
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
-
industry × time24% · 4
4 examples in the code
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
reghdfe de_kld post_gd_4 post_gd_3-post_gd3 $controls, absorb(permno ff48year) vce(cluster permno)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe de_kld post_gd_4 post_gd_3-post_gd3 lnsale roa_w btm_w cash_w div_w leverage_w sa_index_w pih_w lnnumana rd_w ad_w ln_emp_at, absorb(permno ff48year) vc …
- Fraud Power Laws
Journal of Accounting Research 2024 · pkg 12683
reghdfe restate_core c.treated##c.post $controls , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe restate_core c.treated##c.post logat leverage mtb loss ret retvol roabeg , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
reghdfe capex_w c.high_tpu_increase_ch#c.post c.high_tps_increase_ch#c.post /// l_lvg_w l_mtb_w l_roa_w l_size l_sg_w l_div_payer l_cash_flow_w l_cash_assets_ …
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
reg mixed `ControlFunction' `Interactions' MEDIUM LDT2 LDT2_MEDIUM MEDIUM_POST POST [pw=max(0,0.105-abs(LDT2))], cluster(id)
We recorded this statement as below; the file does not hold it at this line (the code above is the file's):reg mixed threshold1 LDT1 LDT1_threshold1 threshold3 LDT3 LDT3_threshold3 wLIQUIDITY wCASHSTI wEQTOTA wINVT wEBITDA_MARGIN wOSCORE log_age log_ARcycle log_APcyc …
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
-
unspecified id (id, i, group...)18% · 3
3 examples in the code
- Payment Practices Transparency and Customer‐Supplier Dynamics
Journal of Accounting Research 2024 · pkg 12678
reghdfe ln_AR control_post control post LnSales_1_99 if smp_prd ==1, ab(EntityID year) cluster(IQ_INDUSTRY_GROUP)
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
reghdfe inv_ratio c.post##c.treatment_tpu c.post##c.treatment_tps w_avg_std_NPRisk_w w_avg_l_lvg_w w_avg_l_mtb_w w_avg_l_roa_w w_avg_l_size w_avg_l_sg_w w_avg_l …
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
qui reghdfe relstkpick1 i.treated##i.post size_l roaq bm drevq lvrg ln_cash, /// absorb(id#cid qd#cid) cluster(id)
- Payment Practices Transparency and Customer‐Supplier Dynamics
Journal of Accounting Research 2024 · pkg 12678
-
firm × time12% · 2
2 examples in the code
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
reghdfe de_kld i.treat_cohort##i.post $controls if cohort==1, absorb(permno_cohort year_cohort) vce(cluster permno)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe de_kld i.treat_cohort##i.post lnsale roa_w btm_w cash_w div_w leverage_w sa_index_w pih_w lnnumana rd_w ad_w ln_emp_at if cohort==1, absorb(permno_cohor …
- Do Shared Auditors Facilitate Follow‐on Innovation?
Journal of Accounting Research 2026 · pkg 12753
reghdfe lcitation POST##TREAT $Control1, absorb(permno1##permno2 permno1##year permno2##year) cluster(permno1 permno2)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe lcitation POST##TREAT CommonAnalyst CommonAlliance CommonInventor CommonOwnership TechSimilarity RelativeAnalyst RelativeSize RelativePatentStock Relati …
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
-
author-named unit × timenames the reader has no word for, commonest first:
countryfactor#i.year,enforce_yr#fyear#qd#cid,enforce_yr#id#cid,firm_fe##event,fyear#qd#cid,fyear#qd_rel#cid,high_d_ir_freq#fyear#qd_rel#cid,high_d_ir_freq#id#cid6% · 11 example in the code
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
reghdfe $DV any_program if $PANEL, absorb(i.spurid i.countryfactor#i.year) $CLUSTER
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_base_def any_program if panelobs >=2, absorb(i.spurid i.countryfactor#i.year) cluster(country_twoyear)
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
-
country × time6% · 1
1 example in the code
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
reghdfe investment3_w c.post##c.high_tpu_tcja c.post##c.high_tps_tcja l.(profitability_w sg_w tangibility_w lev_assets_w cash_assets_w ) l_size lforeign_sale_r …
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
-
firm × author-named unitnames the reader has no word for, commonest first:
countryfactor#i.year,enforce_yr#fyear#qd#cid,enforce_yr#id#cid,firm_fe##event,fyear#qd#cid,fyear#qd_rel#cid,high_d_ir_freq#fyear#qd_rel#cid,high_d_ir_freq#id#cid6% · 11 example in the code
- Corporate Tax System Complexity and Investment Sensitivity to Tax Policy Changes
Journal of Accounting Research 2026 · pkg 12769
reghdfe tanginvestment_net treat post treat_post $lagcontrols /// $country_controls [aw=weight_3yearav] , $fixedeffstack_countindclusAs we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe tanginvestment_net treat post treat_post lagleverage lagroa lagsize lagcash_holdings lagcap_int gdp_growth inflation unemployment gdp_capita [aw=weight_ …
- Corporate Tax System Complexity and Investment Sensitivity to Tax Policy Changes
Journal of Accounting Research 2026 · pkg 12769
-
firm × treatment group6% · 1
1 example in the code
- Fraud Power Laws
Journal of Accounting Research 2024 · pkg 12683
reghdfe restate_core c.treated##c.post $controls , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe restate_core c.treated##c.post logat leverage mtb loss ret retvol roabeg , a(i.gvkey1#i.treated i.sic3#i.year i.state1#i.year) cluster(state1)
- Fraud Power Laws
Journal of Accounting Research 2024 · pkg 12683
Share of 17 packages with a model that shows the design. Greyed: fewer than 10 packages.
Estimator commands
-
reghdfe88% · 15
3 examples in the code
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
eststo: reghdfe ETR_R CBCR POST CBCR_POST if EUHQ==1, absorb (Firm Year) cluster(Firm)
- The Disciplinary Effect of Social Media: Evidence from Firms' Responses to Glassdoor Revie
Journal of Accounting Research 2021 · pkg 12619
reghdfe de_kld post_gd_4 post_gd_3-post_gd3 $controls, absorb(permno ff48year) vce(cluster permno)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe de_kld post_gd_4 post_gd_3-post_gd3 lnsale roa_w btm_w cash_w div_w leverage_w sa_index_w pih_w lnnumana rd_w ad_w ln_emp_at, absorb(permno ff48year) vc …
- The Roles of Data Providers and Analysts in the Production, Dissemination, and Pricing of
Journal of Accounting Research 2022 · pkg 12638
reghdfe ln_lagmins post treatment post_treatment $controls /// ,absorb(permno yearqtr pr_hr) cluster(permno pr_date)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):reghdfe ln_lagmins post treatment post_treatment abs_gaap_st_diff abs_surprise bnews guidance qtr4 ln_reporting_lag ln_size ln_firmage io ln_analyst_following s …
- Does Private Country-by-Country Reporting Deter Tax Avoidance and Income Shifting? Evidenc
Journal of Accounting Research 2020 · pkg 12581
-
reg18% · 3
3 examples in the code
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
eststo: xi: reg acctlegalpct treated_post treated post lnproceeds_res unprofitable drnd lnage avrg_brmktsh lndiffdate nasdaq90d lnnreg_filter crisis i.famafrenc …
- Tax Policy Expectations and Investment
Journal of Accounting Research 2025 · pkg 12707
reg capex_w c.treatment##c.post##c.high_tpu_increase_ch c.treatment##c.post##c.high_tps_increase_ch /// l_lvg_w l_mtb_w l_roa_w l_size l_sg_w l_div_payer l_ca …
- Reporting Regulation and Private Firms' Bank Credit
Journal of Accounting Research 2026 · pkg 12762
reg mixed `ControlFunction' `Interactions' MEDIUM LDT2 LDT2_MEDIUM MEDIUM_POST POST [pw=max(0,0.105-abs(LDT2))], cluster(id)
We recorded this statement as below; the file does not hold it at this line (the code above is the file's):reg mixed threshold1 LDT1 LDT1_threshold1 threshold3 LDT3 LDT3_threshold3 wLIQUIDITY wCASHSTI wEQTOTA wINVT wEBITDA_MARGIN wOSCORE log_age log_ARcycle log_APcyc …
- The JOBS Act and the Costs of Going Public
Journal of Accounting Research 2017 · pkg 12516
-
xtreg18% · 3
3 examples in the code
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
xtreg $DV wpd $COUNTRYSHOCKS if $PANEL, fe cluster(spurid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):xtreg ln_base_def wpd i.countryfactor#i.year if panelobs >=2, fe cluster(spurid)
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
xtreg cash_etr3 treatxpost treat post c.reg2##(c.median_income c.income_inequality c.education c.age c.urban c.rel c.social_capital c.statetaxrate c.temp c.wind …
- Quid Pro Quo? Private Information Flows in Shareholder Activism: Evidence from Mutual Fund
Journal of Accounting Research 2026 · pkg 12786
xtreg `y' i.treated##i.post treated post, vce(cluster id)
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
-
areg6% · 1
1 example in the code
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
xi: areg ozone3y treatxpost treat post c.reg2##(c.median_income c.income_inequality c.education c.age c.urban c.rel c.social_capital c.statetaxrate c.temp c.win …
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
-
att_gt6% · 1
1 example in the code
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
attgt_country = att_gt(yname = dv, tname = 'year', idname = 'spurid', gname = csgroupvar …
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
-
csdid6% · 1
1 example in the code
- Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implicat
Journal of Accounting Research 2026 · pkg 12746
csdid absTotAcc2 i.IFRS_ADOPTION Size2w Performancew Growthw Loss PPE_Growthw Leveragew SalesVolw CFOVolw InvAssetsw RevARw PPENw ROAw if fyear>=2000, ivar(gvke …
- Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implicat
Journal of Accounting Research 2026 · pkg 12746
-
did_multiplegt6% · 1
1 example in the code
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
did_multiplegt ln_base_def spurid year any_program if $PANEL, $CHAISEOPTS
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):did_multiplegt ln_base_def spurid year any_program if panelobs >=2, breps(500) seed(9022022)
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
Share of 17 packages with a model that shows the design (a package runs several). Greyed: fewer than 10 packages.
Validation checks
-
pre-trend test (leads / parallel trends)0% · 0
-
event-time (lead/lag) dummies4% · 1
1 example in the code
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
qui xi: probit toolittle drairpollution2 drairpollution3 i.f_cregion_final i.f_agecat_final i.f_sex_final i.f_educcat_final i.f_racethn_recruitment i.f_citizen_ …
- Reciprocity in Corporate Tax Compliance—Evidence from Ozone Pollution
Journal of Accounting Research 2023 · pkg 12662
-
event-study plot0% · 0
-
heterogeneity-robust estimator (csdid, did_imputation, did_multiplegt, ...)9% · 2
2 examples in the code
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
attgt_country = att_gt(yname = dv, tname = 'year', idname = 'spurid', gname = csgroupvar … - Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implicat
Journal of Accounting Research 2026 · pkg 12746
csdid absTotAcc2 i.IFRS_ADOPTION Size2w Performancew Growthw Loss PPE_Growthw Leveragew SalesVolw CFOVolw InvAssetsw RevARw PPENw ROAw if fyear>=2000, ivar(gvke …
- Assessing the Social Impact of Corporations: Evidence from Management Control Intervention
Journal of Accounting Research 2023 · pkg 12652
-
HonestDiD sensitivity bounds0% · 0
-
multiple-testing correction (FDR, Romano-Wolf, ...)0% · 0
Share of 23 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.
The heterogeneity-robust share is partly circular — those estimators also put a package into this design. Placebo tests are not shown: the detector read 7 of 10 correct.