IVHETTEST: Stata module to perform Pagan-Hall and related heteroskedasticity tests after IV
Mark Schaffer ()
Statistical Software Components from Boston College Department of Economics
Abstract:
ivhettest performs various flavors of Pagan and Hall's (1983) tests of heteroskedasticity for instrumental variables (IV) estimation. It will also perform the related standard heteroskedasticity tests of Breusch-Pagan, Godfrey, Cook-Weisberg, White and Koenker after estimation by OLS or IV. These are tests of whether there is heteroskedasticity in the estimated regression that is related to one or more indicator variables. The test flavors vary according to the choice of indicator variables and the choice of test statistics. Under the null of no heteroskedasticity, the test statistic is distributed as chi-sq with degrees of freedom = number of indicator variables. This is version 1.2.0 of ivhettest, updated from that published in Stata Journal, 3(1). The routine now supports factor variables.
Language: Stata
Requires: Stata version 12.0
Keywords: instrumental variables; heteroskedasticity; Pagan-Hall test (search for similar items in EconPapers)
Date: 2002-10-20, Revised 2023-01-26
Note: This module may be installed from within Stata by typing "ssc install ivhettest". 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/i/ivhettest.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/ivhettest.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fvstrip.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fvstrip.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/i/ivhettestFile-U ... repec/bocode/_/cs.do sample do file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
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:s428801
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 ().