IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s459750.html

XTHETEROQUANT: Stata module to compute quantiles of heterogeneous individual-specific coefficients in panel data, with SQB and CDQB bootstrap inference (Galvao, Hounyo and Lin, 2026)

Author

Listed:
  • Merwan Roudane

Programming Language

Abstract

xtheteroquant implements the two-step estimator of Galvao, Hounyo and Lin (2026) for the tau-quantile of the cross-sectional distribution of heterogeneous individual-specific coefficients in the linear panel-data model y_it = a_i + x_it'b_i + e_it, i = 1,...,N, t = 1,...,T, where every unit i has its own intercept a_i and its own slope vector b_i. The procedure is: Step 1 (individual estimation). For each unit i, estimate the coefficient vector by OLS using only that unit's time series. Step 2 (quantile aggregation). For each coefficient, take the empirical tau-quantile of the N first-step estimates, theta_hat(tau) = argmin_theta (1/N) sum_i rho_tau(theta_hat_i - theta), where rho_tau is the quantile-regression check function. Unlike conventional fixed-effects quantile regression (qreg / panel QR), where tau indexes the conditional distribution of the outcome, here tau indexes the distribution of the structural coefficients across units: tau = .9 answers "what is the slope for the 90th-percentile most-responsive unit?", not "what is the effect at the 90th percentile of y?". Typical uses: heterogeneous treatment or policy sensitivities, the distribution of mutual-fund timing skill, firm-specific pass-through, country-specific elasticities.

Suggested Citation

  • Merwan Roudane, 2026. "XTHETEROQUANT: Stata module to compute quantiles of heterogeneous individual-specific coefficients in panel data, with SQB and CDQB bootstrap inference (Galvao, Hounyo and Lin, 2026)," Statistical Software Components S459750, Boston College Department of Economics.
  • Handle: RePEc:boc:bocode:s459750
    Note: This module should be installed from within Stata by typing "ssc install xtheteroquant". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/x/xtheteroquant.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/x/xtheteroquant.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/x/xtheteroquant_example.do
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:boc:bocode:s459750. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    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.