EconPapers    
Economics at your fingertips  
 

Stacked linear regression analysis to facilitate testing of hypotheses across OLS regressions

Michael Oberfichtner and Harald Tauchmann

Stata Journal, 2021, vol. 21, issue 2, 411-429

Abstract: In empirical work, researchers frequently test hypotheses of parallel form in several regressions, which raises concerns about multiple testing. One way to address the multiple-testing issue is to jointly test the hypotheses (for exam- ple, Pei, Pischke, and Schwandt [2019, Journal of Business & Economic Statis- tics 37: 205–216] and Lee and Lemieux [2010, Journal of Economic Literature 48: 281–355]). While the existing commands suest (Weesie, 1999, Stata Tech- nical Bulletin Reprints 9: 231–248) and mvreg enable Stata users to follow this approach, both are limited in several dimensions. For instance, mvreg assumes homoskedasticity and uncorrelatedness across sampling units, and neither com- mand is designed to be used with panel data. In this article, we introduce the new community-contributed command stackreg, which overcomes the aforemen- tioned limitations and allows for some settings and features that go beyond the capabilities of the existing commands. To achieve this, stackreg runs an ordinary least-squares regression in which the regression equations are stacked as described, for instance, in Wooldridge (2010, Econometric Analysis of Cross Section and Panel Data, p. 166–173, MIT Press) and applies cluster–robust variance–covariance esti- mation.

Keywords: stackreg; xtstackreg; multiple testing; stacked regression; clustering; fixed effects (search for similar items in EconPapers)
Date: 2021
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj21-2/st0641/
References: Add references at CitEc
Citations: View citations in EconPapers (2)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0641 link to article purchase

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:tsj:stataj:v:21:y:2021:i:2:p:411-429

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X211025801

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:21:y:2021:i:2:p:411-429