Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: heteroskedasticity questions


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: RE: heteroskedasticity questions
Date   Sun, 25 Feb 2007 12:37:50 -0500

At 11:02 AM 2/24/2007, Schaffer, Mark E wrote:
One way to approach this that is easy to understand is to use
-ivhettest-, which will handle OLS as a special case.

esttat hettest

gives you the same test stat as

ivhettest, ivlev bpg

which is the Breusch-Pagan-Godfrey-Cook-Weisberg version of the test
that assumes normality and the indicator variables (so to speak, the
directions in which you are looking for heteroskedasticity) are the
regressors excluding the constant (here, x).
To clarify, that is true when there is only one x, but not when there is more than one. More generally you can say

esttat hettest, rhs

gives you the same test stat as

ivhettest, ivlev bpg


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index