[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Hausman test
Date sent: Thu, 05 Dec 2002 02:00:13 -0500
From: Zhehui Luo <email@example.com>
Subject: st: Hausman test
Copies to: "Nick Cox" <firstname.lastname@example.org>
Send reply to: email@example.com
> Dear Listers,
> In Stata manual on Hausman method and formulas, they describe the test as
> H=(b1-b2)'[V(b1)-V(b2)]^-1(b1-b2). I assume they use the difference of the
> variances, instead of the variance of the difference. Is that the case?
Yes, that's right. You can find this in most any graduate
econometrics textbook, or, of course, in Hausman's original (1978)
> so, is it correct to use heteroskedasticity robust standard errors for
> Hausman test?
This is correct, though you need to beware of two things:
- You might get a negative test statistic. An interpretation
problem, though not a big one.
- Stata's -hausman- command deduces the degrees of freedom for the
test from the rank of the variance-difference matrix. In the case of
robust variances, this method might or might not yield the correct
degrees of freedom.
For example, if you are testing for endogeneity in an IV estimation,
the correct degrees of freedom will be the number of regressors
tested. The rank of the matrix will typically be greater than this,
however, and hence the method used by -hausman- will typically cause
it to give you the right test statistic but with too many degrees of
<Shameless self promotion follows>
This is discussed in the working paper by myself, Kit Baum and Steve
Stillman, available on the Boston College web site:
If indeed you want to do an endogeneity test for IV estimation with
robust standard errors, then you can use ivreg2 (also written by us)
for this and guarantee a positive test stat with the right degrees of
freedom. See the paper.
Hope this helps.
> In other words, is it correct to do the following?
> .estimate the less efficient, but consistent model, with robust option
> .hausman, save
> .estimate the fully efficient model, with robust option
> Thanks for any helpful comments.
> * 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/
Prof. Mark E. Schaffer
Centre for Economic Reform and Transformation
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS UK
44-131-451-3485 CERT administrator
* For searches and help try: