IDEAS home Printed from https://ideas.repec.org/a/spr/empeco/v62y2022i1d10.1007_s00181-020-01898-0.html
   My bibliography  Save this article

Fast algorithms for the quantile regression process

Author

Listed:
  • Victor Chernozhukov

    (Massachusetts Institute of Technology)

  • Iván Fernández-Val

    (Boston University)

  • Blaise Melly

    (University of Bern)

Abstract

The widespread use of quantile regression methods depends crucially on the existence of fast algorithms. Despite numerous algorithmic improvements, the computation time is still non-negligible because researchers often estimate many quantile regressions and use the bootstrap for inference. We suggest two new fast algorithms for the estimation of a sequence of quantile regressions at many quantile indexes. The first algorithm applies the preprocessing idea of Portnoy and Koenker (Stat Sci 12(4):279–300, 1997) but exploits a previously estimated quantile regression to guess the sign of the residuals. This step allows for a reduction in the effective sample size. The second algorithm starts from a previously estimated quantile regression at a similar quantile index and updates it using a single Newton–Raphson iteration. The first algorithm is exact, while the second is only asymptotically equivalent to the traditional quantile regression estimator. We also apply the preprocessing idea to the bootstrap by using the sample estimates to guess the sign of the residuals in the bootstrap sample. Simulations show that our new algorithms provide very large improvements in computation time without significant (if any) cost in the quality of the estimates. For instance, we divide by 100 the time required to estimate 99 quantile regressions with 20 regressors and 50,000 observations.

Suggested Citation

  • Victor Chernozhukov & Iván Fernández-Val & Blaise Melly, 2022. "Fast algorithms for the quantile regression process," Empirical Economics, Springer, vol. 62(1), pages 7-33, January.
  • Handle: RePEc:spr:empeco:v:62:y:2022:i:1:d:10.1007_s00181-020-01898-0
    DOI: 10.1007/s00181-020-01898-0
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s00181-020-01898-0
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s00181-020-01898-0?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to look for a different version below or search for a different version of it.

    Other versions of this item:

    References listed on IDEAS

    as
    1. He, Fengyang & Cheng, Yebin & Tong, Tiejun, 2016. "Estimation of extreme conditional quantiles through an extrapolation of intermediate regression quantiles," Statistics & Probability Letters, Elsevier, vol. 113(C), pages 30-37.
    2. Sandra E. Black & Paul J. Devereux & Kjell G. Salvanes, 2007. "From the Cradle to the Labor Market? The Effect of Birth Weight on Adult Outcomes," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 122(1), pages 409-439.
    3. Victor Chernozhukov & Iván Fernández‐Val & Blaise Melly, 2013. "Inference on Counterfactual Distributions," Econometrica, Econometric Society, vol. 81(6), pages 2205-2268, November.
    4. Powell, James L., 1986. "Estimation of semiparametric models," Handbook of Econometrics, in: R. F. Engle & D. McFadden (ed.), Handbook of Econometrics, edition 1, volume 4, chapter 41, pages 2443-2521, Elsevier.
    5. Neocleous, Tereza & Portnoy, Stephen, 2008. "On monotonicity of regression quantile functions," Statistics & Probability Letters, Elsevier, vol. 78(10), pages 1226-1229, August.
    6. Koenker, Roger W & Bassett, Gilbert, Jr, 1978. "Regression Quantiles," Econometrica, Econometric Society, vol. 46(1), pages 33-50, January.
    7. Huixia Judy Wang & Deyuan Li & Xuming He, 2012. "Estimation of High Conditional Quantiles for Heavy-Tailed Distributions," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 107(500), pages 1453-1464, December.
    8. Victor Chernozhukov & Iván Fernández-Val, 2011. "Inference for Extremal Conditional Quantile Models, with an Application to Market and Birthweight Risks," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 78(2), pages 559-589.
    9. Hahn, Jinyong, 1997. "Bayesian Bootstrap of the Quantile Regression Estimator: A Large Sample Study," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 38(4), pages 795-808, November.
    10. Kline Patrick & Santos Andres, 2012. "A Score Based Approach to Wild Bootstrap Inference," Journal of Econometric Methods, De Gruyter, vol. 1(1), pages 23-41, August.
    11. Barnett,William A. & Powell,James & Tauchen,George E. (ed.), 1991. "Nonparametric and Semiparametric Methods in Econometrics and Statistics," Cambridge Books, Cambridge University Press, number 9780521424318.
    12. Fortin, Nicole & Lemieux, Thomas & Firpo, Sergio, 2011. "Decomposition Methods in Economics," Handbook of Labor Economics, in: O. Ashenfelter & D. Card (ed.), Handbook of Labor Economics, edition 1, volume 4, chapter 1, pages 1-102, Elsevier.
    13. A. Belloni & V. Chernozhukov & I. Fernández‐Val & C. Hansen, 2017. "Program Evaluation and Causal Inference With High‐Dimensional Data," Econometrica, Econometric Society, vol. 85, pages 233-298, January.
    14. Roger Koenker & Kevin F. Hallock, 2001. "Quantile Regression," Journal of Economic Perspectives, American Economic Association, vol. 15(4), pages 143-156, Fall.
    15. Joshua Angrist & Victor Chernozhukov & Iván Fernández-Val, 2006. "Quantile Regression under Misspecification, with an Application to the U.S. Wage Structure," Econometrica, Econometric Society, vol. 74(2), pages 539-563, March.
    16. Koenker, Roger, 2000. "Galton, Edgeworth, Frisch, and prospects for quantile regression in econometrics," Journal of Econometrics, Elsevier, vol. 95(2), pages 347-374, April.
    17. Andreas Hagemann, 2017. "Cluster-Robust Bootstrap Inference in Quantile Regression Models," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 112(517), pages 446-456, January.
    18. Gregory Kordas, 2006. "Smoothed binary regression quantiles," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 21(3), pages 387-407, April.
    19. repec:ucn:wpaper:10197/317 is not listed on IDEAS
    20. José A. F. Machado & José Mata, 2005. "Counterfactual decomposition of changes in wage distributions using quantile regression," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(4), pages 445-465, May.
    21. Roger Koenker & Zhijie Xiao, 2002. "Inference on the Quantile Regression Process," Econometrica, Econometric Society, vol. 70(4), pages 1583-1612, July.
    22. Gregory Kordas, 2006. "Smoothed binary regression quantiles," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 21(3), pages 387-407.
    23. Manski, Charles F., 1975. "Maximum score estimation of the stochastic utility model of choice," Journal of Econometrics, Elsevier, vol. 3(3), pages 205-228, August.
    24. Jason Abrevaya, 2001. "The effects of demographics and maternal behavior on the distribution of birth outcomes," Empirical Economics, Springer, vol. 26(1), pages 247-257.
    25. Chernozhukov, Victor & Hansen, Christian, 2006. "Instrumental quantile regression inference for structural and treatment effect models," Journal of Econometrics, Elsevier, vol. 132(2), pages 491-525, June.
    26. Barnett,William A. & Powell,James & Tauchen,George E. (ed.), 1991. "Nonparametric and Semiparametric Methods in Econometrics and Statistics," Cambridge Books, Cambridge University Press, number 9780521370905.
    27. Powell, James L., 1987. "Semiparametric Estimation Of Bivariate Latent Variable Models," SSRI Workshop Series 292689, University of Wisconsin-Madison, Social Systems Research Institute.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Cuesta, Lizeth & Ruiz, Yomara, 2021. "Efecto de la globalización sobre la desigualdad. Un estudio global para 104 países usando regresiones cuantílicas [Effect of globalization on inequality. A global study for 104 countries using quan," MPRA Paper 111022, University Library of Munich, Germany.
    2. Wang, Xiuhua & Wang, Yipeng & Zhao, Yaxiong, 2022. "Financial permeation and rural poverty reduction Nexus: Further insights from counties in China," China Economic Review, Elsevier, vol. 76(C).
    3. Sokbae Lee & Yuan Liao & Myung Hwan Seo & Youngki Shin, 2022. "Fast Inference for Quantile Regression with Tens of Millions of Observations," Papers 2209.14502, arXiv.org, revised Oct 2023.
    4. Borgen, Nicolai T. & Haupt, Andreas & Wiborg, Øyvind N., 2021. "Flexible and fast estimation of quantile treatment effects: The rqr and rqrplot commands," SocArXiv 4vquh, Center for Open Science.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Victor Chernozhukov & Iván Fernández‐Val & Blaise Melly, 2013. "Inference on Counterfactual Distributions," Econometrica, Econometric Society, vol. 81(6), pages 2205-2268, November.
    2. Huber, Martin & Melly, Blaise, 2011. "Quantile Regression in the Presence of Sample Selection," Economics Working Paper Series 1109, University of St. Gallen, School of Economics and Political Science.
    3. Firpo, Sergio & Galvao, Antonio F. & Pinto, Cristine & Poirier, Alexandre & Sanroman, Graciela, 2022. "GMM quantile regression," Journal of Econometrics, Elsevier, vol. 230(2), pages 432-452.
    4. Ghosh, Pallab Kumar, 2014. "The contribution of human capital variables to changes in the wage distribution function," Labour Economics, Elsevier, vol. 28(C), pages 58-69.
    5. Jayeeta Bhattacharya, 2020. "Quantile regression with generated dependent variable and covariates," Papers 2012.13614, arXiv.org.
    6. Yu-Yen Ku & Tze-Yu Yen, 2016. "Heterogeneous Effect of Financial Leverage on Corporate Performance: A Quantile Regression Analysis of Taiwanese Companies," Review of Pacific Basin Financial Markets and Policies (RPBFMP), World Scientific Publishing Co. Pte. Ltd., vol. 19(03), pages 1-33, September.
    7. Marilena Furno & Francesco Caracciolo, 2020. "Multi-valued Double Robust quantile treatment effect," Empirical Economics, Springer, vol. 58(5), pages 2545-2571, May.
    8. Qi Li & Jeffrey Scott Racine, 2006. "Nonparametric Econometrics: Theory and Practice," Economics Books, Princeton University Press, edition 1, volume 1, number 8355.
    9. Manuel Arellano & Stéphane Bonhomme, 2017. "Quantile Selection Models With an Application to Understanding Changes in Wage Inequality," Econometrica, Econometric Society, vol. 85, pages 1-28, January.
    10. Böheim, René & Himpele, Klemens & Mahringer, Helmut & Zulehner, Christine, 2013. "The distribution of the gender wage gap in Austria : evidence from matched employer-employee data and tax records," Journal for Labour Market Research, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany], vol. 46(1), pages 19-34.
    11. Pereda-Fernández, Santiago, 2023. "Identification and estimation of triangular models with a binary treatment," Journal of Econometrics, Elsevier, vol. 234(2), pages 585-623.
    12. Graham, Bryan S. & Hahn, Jinyong & Poirier, Alexandre & Powell, James L., 2018. "A quantile correlated random coefficients panel data model," Journal of Econometrics, Elsevier, vol. 206(2), pages 305-335.
    13. de Castro, Luciano & Galvao, Antonio F. & Kaplan, David M. & Liu, Xin, 2019. "Smoothed GMM for quantile models," Journal of Econometrics, Elsevier, vol. 213(1), pages 121-144.
    14. Chernozhukov, Victor & Fernández-Val, Iván & Kowalski, Amanda E., 2015. "Quantile regression with censoring and endogeneity," Journal of Econometrics, Elsevier, vol. 186(1), pages 201-221.
    15. Maria Marino & Alessio Farcomeni, 2015. "Linear quantile regression models for longitudinal experiments: an overview," METRON, Springer;Sapienza Università di Roma, vol. 73(2), pages 229-247, August.
    16. Chen, Songnian, 2019. "Quantile regression for duration models with time-varying regressors," Journal of Econometrics, Elsevier, vol. 209(1), pages 1-17.
    17. Li, Ming-Yuan Leon, 2009. "Value or volume strategy?," Finance Research Letters, Elsevier, vol. 6(4), pages 210-218, December.
    18. Jungsik Noh & Sangyeol Lee, 2016. "Quantile Regression for Location-Scale Time Series Models with Conditional Heteroscedasticity," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 43(3), pages 700-720, September.
    19. Böheim, René & Himpele, Klemens & Mahringer, Helmut & Zulehner, Christine, 2013. "The distribution of the gender wage gap in Austria : evidence from matched employer-employee data and tax records," Journal for Labour Market Research, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany], vol. 46(1), pages 19-34.
    20. Martin Huber & Blaise Melly, 2012. "A test of the conditional independence assumption in sample selection models," Working Papers 2012-11, Brown University, Department of Economics.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:empeco:v:62:y:2022:i:1:d:10.1007_s00181-020-01898-0. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.