← Methods

Quantile regression

243
packages run it, of 7,459 whose models we parsed
241
papers
2,288
estimation commands

Adoption over time

2001: 1 of 1 package (100.0%) — fewer than 10 packages that year 2006: 2 of 4 packages (50.0%) — fewer than 10 packages that year 2009: 1 of 12 packages (8.3%) 2010: 1 of 34 packages (2.9%) 2010 2011: 2 of 77 packages (2.6%) 2012: 1 of 63 packages (1.6%) 2013: 4 of 107 packages (3.7%) 2014: 5 of 107 packages (4.7%) 2015: 4 of 156 packages (2.6%) 2015 2016: 3 of 105 packages (2.9%) 2017: 6 of 121 packages (5.0%) 2018: 5 of 151 packages (3.3%) 2019: 7 of 253 packages (2.8%) 2020: 7 of 246 packages (2.8%) 2020 2021: 20 of 392 packages (5.1%) 2022: 30 of 775 packages (3.9%) 2023: 30 of 909 packages (3.3%) 2024: 40 of 1,136 packages (3.5%) 2025: 35 of 1,322 packages (2.6%) 2025 2026: 39 of 1,459 packages (2.7%)

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 243 packages running the dedicated estimator)

  • qreg124
  • qreg243
  • rq37
  • sqreg21
  • bsqreg13
  • ivqte10
  • xtqreg8
  • mmqreg6

Inference (of the 243 packages running the dedicated estimator)

  • default151
  • bootstrap49
  • cluster39
  • robust37
  • hac1

Clustering variables (of the 243 packages running the dedicated estimator)

  • id5
  • address_cluster1
  • bl_date1
  • cid1
  • cityid1
  • cl1
  • club_id1
  • clubid1

Absorbed fixed effects (of the 243 packages running the dedicated estimator)

  • contract2
  • bank_code1
  • client_code1
  • countrycode1
  • date_monthly1
  • district1
  • district_h1
  • dmsl17_fy1

Foundational works

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

Recent examples, straight from the code

Regulating CEO Pay: Evidence from the Nonprofit Revitalization Act Review of Financial Studies 2026 · RFS_CodeFinal_rfs_code_may2025.do:320 · pkg 259
mmqreg log_tdc1_w gov_law10 if sample==1, abs(ein fyear2) cluster(state_r) q(25)
The Effects of Gender Integration on Men: Evidence from the U.S. Military Quarterly Journal of Economics 2026 · appendix_figures.do:444 · pkg 7477
mmqreg `var' $dindvars if fy_start < $mxyr, q(.05 .1 .15 .2 .25 .3 .35 .4 .45 .5 .55 .6 .65 .7 .75 .8 .85 .9 .95 1) absorb(uic5_id dmsl17_fy file_mth_start) robust //cluster(uic5)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
mmqreg `var' fulltreat parttreat if fy_start < 2021, q(.05 .1 .15 .2 .25 .3 .35 .4 .45 .5 .55 .6 .65 .7 .75 .8 .85 .9 .95 1) absorb(uic5_id dmsl17_fy file_mth_start) robust
Health Shocks, Health Insurance, Human Capital, and the Dynamics of Earnings and Health Journal of Political Economy 2026 · Data_MEPS_Do_Files_2._Marital_Status_and_Spouse_Stats.do:216 · pkg 7837
qreg  spouse_WAGE_YR1  AGE1 AGE1_sq AGE1_cub i.H1 i.inc_tercile_Y1  [pw=Sample_Weight] if spouse_LF_Y1==1 & educ_group==1 //[pw=Sample_Weight]
Social Preferences over Ordinal Outcomes American Economic Review 2026 · 07_analysis.do:5110 · pkg 11751
xi: qreg2 responseTime i.maxRuleBayes, cl(id)
Risk-averse dealers in a risk-free market—The role of trading desk risk limits Journal of Financial Economics 2026 · allTables_pseudo.do:976 · pkg 14279
bsqreg `LHS' MOVE_std resid_lnts7_MOVE_std, quantile(`q/100')
Do geopolitical risks raise or lower inflation? Journal of International Economics 2026 · run2_panel_regs_jie_table2.do:223 · pkg 14418
bs, reps($nreps): xtqreg d_inf_`h' cgpr6, i(countrycode) q(.25)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
bs, reps(500): xtqreg d_inf_`h' cgpr6, i(countrycode) q(.25)
Can a light-touch graduation model enhance livelihood outcomes? Evidence from Ethiopia Journal of Development Economics 2026 · graphs_replication.do:251 · pkg 14473
qreg2 `y' `rhs' `ifcond', cl(`cluster') q(`q')
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
qreg2 `y' poultry_dummy cash_dummy T3 woredafixed* if poultrycash_hh==1, cl(kebele_code) q(`q')
JUE Insight: Technological innovation in mortgage underwriting and the growth in credit: 1985–2015 Journal of Urban Economics 2026 · ahsregs_feb2026_replication.do:60 · pkg 14535
qreg lntotdebt_tc c.lnincome_tc##i.syear [pw=myweight], quantile(.50);
Beliefs, information sharing, and mental health care use among university students Journal of Development Economics 2026 · Appendix_figures_tables_codes.do:766 · pkg 15259
eststo m`ppp' : qreg `outcome' 1.treat_any, quantile(`qqq')
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
eststo m0 : qreg `outcome' 1.treat_any, quantile(`qqq')
Making Bricks from Straw: Resources and Productivity in Health Care American Economic Review 2026 · _2_1_effect_on_spending.do:168 · pkg 17477
qui qreg2 `y' i.(`x' $tvars $xvars clinic), cluster($cl)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
qui qreg2 `y' i.(lab month sid#cash#risk clinic), cluster(hfac)
Spillovers in State Capacity Building: Evidence from the Digitization of Land Records in Pakistan American Economic Review 2026 · 01_analysis_main_tables.do:61 · pkg 17492
qreg2 tax_acres digitization i.district i.fin_yr, cluster(district) q(0.5)