EconPapers    
Economics at your fingertips  
 

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

Harald Tauchmann and Michael Oberfichtner

Statistical Software Components from Boston College Department of Economics

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.

Language: Stata
Requires: Stata version 12 and cgmreg from Colin Cameron's website at UC Davis
Keywords: stacked regression; mutiple hypotheses; stack (search for similar items in EconPapers)
Date: 2021-02-24
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.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/stackreg.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stackreg.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtstackreg.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtstackreg.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458913

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s458913