HDHETTEST: Stata module to compute heteroskedasticity tests with exact Monte Carlo p-values for linear regressions with many regressors
Yusuf Yusuf
Statistical Software Components from Boston College Department of Economics
Abstract:
The Breusch-Pagan and White tests rely on asymptotics with a fixed number of regressors p. When p is a sizeable fraction of n, as with many indicator variables or fixed effects, they lose their nominal size (the Koenker version of the Breusch-Pagan test becomes very conservative) and the White test cannot be computed.
Language: Stata
Requires: Stata version 14
Keywords: heteroskedasticity; tests; Bruesch-Pagan; White (search for similar items in EconPapers)
Date: 2026-11-10
Note: This module should be installed from within Stata by typing "ssc install hdhettest". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/h/hdhettest.ado
http://fmwww.bc.edu/repec/bocode/h/hdhettest.sthlp
http://fmwww.bc.edu/repec/bocode/h/hdhettest_example.do
http://fmwww.bc.edu/repec/bocode/_/_hdhettest_display.ado
http://fmwww.bc.edu/repec/bocode/_/_hdhettest_load.ado
http://fmwww.bc.edu/repec/bocode/_/_hdhettest_mata.ado
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:s460017
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 ().