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

STACKREG: Stata module to perform stacked linear regression analysis to facilitate testing of multiple hypotheses

Author

Listed:
  • Harald Tauchmann

    (Friedrich-Alexander-Universität Erlangen-Nürnberg)

  • Michael Oberfichtner

    (Institute for Employment Research (IAB))

Programming Language

Stata

Abstract

stackreg implements the stacked regression analysis which facilitates statistical testing in a multiple testing framework. The stacked regression approach was suggested e.g. by Weesie (STB, 1999) and Pei et al. (JBES, 2019). stackreg is closely realted to the Stata command suest. Unlike suest, which is extremely flexible in allowing inference involving regression models of different type, stackreg is confined to the linear model. However, in the context of the linear model, stackreg is more flexible than suest in several respects. In detail: (i) stackreg accomodates multi-way clustering (Cameron et al., JBES, 2011), if the community-distributed command cgmreg (by Jonah B. Gelbach and Douglas L. Miller) is installed; (ii) stackreg allows imposing cross-equation constraints by specifying the option constraints(); (iii) stackreg is a panel data command that accomodates fixed-effects estimation; (iv) unlike suest, stackrg applies a degrees-of-freedom adjustment that exactly reproduces the standard errors equation-by-equantion estimation yields; (v) stackreg allows for factor-variables in depvars. stackreg can also be regarded as more robust alternative to sureg and mvreg in particular. While these commands implement an FGLS estimator and, hence, rely on strong assumptions when estimating cross-equation coefficient covariances, stackreg uses clustering in the same fashion as suest. The stacked regression approach may alternatively implemented using the data management tool stack.

Suggested Citation

  • Harald Tauchmann & Michael Oberfichtner, 2021. "STACKREG: Stata module to perform stacked linear regression analysis to facilitate testing of multiple hypotheses," Statistical Software Components S458913, Boston College Department of Economics.
  • Handle: RePEc:boc:bocode:s458913
    Note: This module should be installed from within Stata by typing "ssc install stackreg". 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/s/stackreg.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/stackreg.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/x/xtstackreg.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/x/xtstackreg.sthlp
    File Function: help file
    Download Restriction: no
    ---><---

    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:s458913. 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.