Abstract
In this article, we describe qregsel, a community-contributed command that implements a copula-based sample-selection correction for quantile regression recently proposed by Arellano and Bonhomme (2017, Econometrica 85: 1–28). The command allows the user to model selection in quantile regressions by using either a Gaussian or a one-dimensional Frank copula. We illustrate the use of qregsel with two examples. First, we apply the method to the fictional dataset used in the Stata Base Reference Manual for the heckman command. Second, we replicate part of the empirical application of the original article using data for the United Kingdom that cover the period 1978–2000 to compare wages of males and females at different quantiles.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: The Stata Journal: Promoting communications on statistics and Stata
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.