← Methods
Quantile regression
243
packages run it, of 7,459 whose models we parsed
241
papers
2,288
estimation commands
Adoption over time
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)
qreg124qreg243rq37sqreg21bsqreg13ivqte10xtqreg8mmqreg6
Inference (of the 243 packages running the dedicated estimator)
default151bootstrap49cluster39robust37hac1
Clustering variables (of the 243 packages running the dedicated estimator)
id5address_cluster1bl_date1cid1cityid1cl1club_id1clubid1
Absorbed fixed effects (of the 243 packages running the dedicated estimator)
contract2bank_code1client_code1countrycode1date_monthly1district1district_h1dmsl17_fy1
Foundational works
What the papers whose code runs this estimator cite most (share of those papers citing each).
- Regression Quantiles — Roger Koenker; Gilbert W. Bassett (1978), Econometrica17 · 7%
- Quantile Regression — Roger Koenker; Kevin F Hallock (2001), Journal of Economic Perspectives15 · 6%
- An IV Model of Quantile Treatment Effects — Victor Chernozhukov; Christian Hansen (2005), Econometrica9 · 4%
- The Miracle of Microfinance? Evidence from a Randomized Evaluation — Abhijit Banerjee; Esther Duflo; Rachel Glennerster; Cynthia Kinnan (2015), American Economic Journal: Applied Economics8 · 3%
- Training, Wages, and Sample Selection: Estimating Sharp Bounds on Treatment Effects — DAVID S. LEE (2009), Review of Economic Studies8 · 3%
- Channeling Fisher: Randomization Tests and the Statistical Insignificance of Seemingly Significant Experimental Results — Alwyn Young (2019), Quarterly Journal of Economics8 · 3%
- Multiple Inference and Gender Differences in the Effects of Early Intervention: A Reevaluation of the Abecedarian, Perry Preschool, and Early Training Projects — Michael Anderson (2008), Journal of the American Statistical Association8 · 3%
- Changes in Relative Wages, 1963-1987: Supply and Demand Factors — L. F. Katz; K. M. Murphy (1992), Quarterly Journal of Economics7 · 3%
- Identification and Estimation of Local Average Treatment Effects — Guido W. Imbens; Joshua D. Angrist (1994), Econometrica7 · 3%
- Instrumental Variables Estimates Of The Effect Of Subsidized Training On The Quantiles Of Trainee Earnings — Alberto Abadie; Joshua Angrist; Guido Imbens (2002), Econometrica7 · 3%
- Inference on Treatment Effects after Selection among High-Dimensional Controls — A. Belloni; V. Chernozhukov; C. Hansen (2014), Review of Economic Studies7 · 3%
- In Pursuit of Balance: Randomization in Practice in Development Field Experiments — Miriam Bruhn; David McKenzie (2009), American Economic Journal: Applied Economics7 · 3%
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]
Banking Networks and Economic Growth: From Idiosyncratic Shocks to Aggregate Fluctuations American Economic Journal: Macroeconomics 2026 · 5. Appendix_C_Properties_of_Idio_Shocks.do:271 · pkg 11744
qreg w_bankdebt compu_sample
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)