← Methods

OLS

6,232
packages run it, of 7,459 whose models we parsed
6,192
papers
246,119
estimation commands

Adoption over time

2001: 1 of 1 package (100.0%) — fewer than 10 packages that year 2002: 1 of 1 package (100.0%) — fewer than 10 packages that year 2003: 1 of 1 package (100.0%) — fewer than 10 packages that year 2004: 1 of 2 packages (50.0%) — fewer than 10 packages that year 2005: 3 of 3 packages (100.0%) — fewer than 10 packages that year 2005 2006: 3 of 4 packages (75.0%) — fewer than 10 packages that year 2007: 3 of 5 packages (60.0%) — fewer than 10 packages that year 2008: 6 of 6 packages (100.0%) — fewer than 10 packages that year 2009: 8 of 12 packages (66.7%) 2010: 29 of 34 packages (85.3%) 2010 2011: 59 of 77 packages (76.6%) 2012: 53 of 63 packages (84.1%) 2013: 92 of 107 packages (86.0%) 2014: 84 of 107 packages (78.5%) 2015: 136 of 156 packages (87.2%) 2015 2016: 83 of 105 packages (79.0%) 2017: 108 of 121 packages (89.3%) 2018: 126 of 151 packages (83.4%) 2019: 216 of 253 packages (85.4%) 2020: 217 of 246 packages (88.2%) 2020 2021: 337 of 392 packages (86.0%) 2022: 678 of 775 packages (87.5%) 2023: 774 of 909 packages (85.1%) 2024: 960 of 1,136 packages (84.5%) 2025: 1082 of 1,322 packages (81.8%) 2025 2026: 1160 of 1,459 packages (79.5%)

Share of each publication year's packages with parsed models that run this estimator at least once (hover for counts). Grey years have fewer than 10 packages and are not a trend; package coverage is thin before ~2010, when journal data policies began.

Commands (of the 6,232 packages running the dedicated estimator)

  • reg4879
  • areg1371
  • regress840
  • lm704
  • ivreg2195
  • ols192
  • newey188
  • felm175

Inference (of the 6,232 packages running the dedicated estimator)

  • default4291
  • cluster3302
  • robust2310
  • newey_west245
  • bootstrap147
  • hac45
  • randomization7
  • jackknife2

Clustering variables (of the 6,232 packages running the dedicated estimator)

  • id253
  • state118
  • gvkey60
  • country46
  • fips44
  • year39
  • statefip37
  • date34

Absorbed fixed effects (of the 6,232 packages running the dedicated estimator)

  • year80
  • id78
  • state44
  • fips27
  • gvkey27
  • country19
  • date15
  • strata14

Foundational works

What the papers whose code runs this estimator cite most (share of those papers citing each).

Recent examples, straight from the code

Money and gender: Proxy respondents and the mismeasurement of income in surveys Journal of Development Economics 2027 · Do file - Tables and Figures.do:485 · pkg 158596
areg `x' inf_proxy i.yeartrim if sex_c==`y', abs(id) vce(cluster id)
Formalized employee search and labor demand Journal of Development Economics 2027 · add_01_professionalism_index.do:257 · pkg 158599
capture quietly regress `y' c.`idx', vce(robust)
Expected foreign military intervention and demand for state-building: Evidence from Mali Journal of Development Economics 2027 · jde_103897.do:245 · pkg 158602
reg highleveldemfut i.date $controls $controlsint i.clid $oursample, cluster(geoname_id)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
reg highleveldemfut i.date age age2 male rural unemployed education relmember majorgroup pg rispmale samelang influenceother educinterw i.clid if REGION != 505 & date_ <= 6, cluster(geoname_id)
Career guidance and investments in education: Experimental evidence from Cambodia Journal of Development Economics 2027 · an_cam2020_ipei_main.do:188 · pkg 158609
reg `i' tstatus  i.district, cluster(schoolid)
Building infrastructure and cohesion through locally embedded institutions: Evidence from a field experiment in War-torn Eastern Congo Journal of Development Economics 2027 · 05_01_Analysis_ITT_Main_Graphs_cg.do:34 · pkg 158611
qui reg `var' treat2 treat3 treat1 ///
    i.year_survey i.pro_id i.q8_projecttype $controls, cl(q4_cddid)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
qui reg `var' treat2 treat3 treat1 i.year_survey i.pro_id i.q8_projecttype q16_sex q17_age q19_reading married, cl(q4_cddid)
Monitoring and delivering: Evidence from dropout rates in Brazil Journal of Development Economics 2027 · are_audits_random_table.R:23 · pkg 162034
feols(formula_final , #cluster = ~ibge_cod
      vcov = "IID",
      , data = . )
Supporting learning in and out of school: Experimental evidence from India Journal of Development Economics 2027 · 00_setup.do:107 · pkg 162035
eststo r_`depvar': xi: reg `depvar' LCSG SG LC  $extravars, vce(cluster calc_school_id) // main reg
Estimating Discount Functions with Consumption Choices over the Lifecycle Review of Financial Studies 2026 · 3_scfanalysis_withCondMoments_bs.do:53 · pkg 116
regress hccbal_highint nhead ndepad und18 unemprate cohd* aged* [aweight=`wt'], noc r
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
regress hccbal_highint nhead ndepad und18 unemprate cohd* aged* [aweight=wt`1'], noc r
Agency MBS as Safe Assets Review of Financial Studies 2026 · ReplicationCode_HeSongRFS2025_AgencyMBSasSafeAssets_v1.do:87 · pkg 125
ivreg2 fnma30yoas_AjCDS  US30yrFRM vix  logdebttogdp_fred logGSEtoGDP , bw(5) robust
Gender Stereotypes and Entrepreneur Financing Review of Financial Studies 2026 · Tables_3_4_5_6_7_8_Regressions.do:417 · pkg 171
reg FINV4 FEMALE if sample, robust
Collateral Effects: The Role of FinTech in Small Business Lending Review of Financial Studies 2026 · replication_package_codes_16_FinTech_vs_bank_loans.do:137 · pkg 205
eststo size: reg montant_initial p2p, a(quarterly_date)
Banking-Crisis Interventions across Time and Space Review of Financial Studies 2026 · MS_Replication_Kit_Final_Code_Table_Regressions.Rmd:49 · pkg 219
all_obs <- lm(Gap.Sum ~ year + Log.Lagged.gdppc + Candidate + Polity + Currency.Regime, data = full_master)