Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: heteroskedasticity test in panel data


From   Christopher Baum <kit.baum@bc.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: heteroskedasticity test in panel data
Date   Wed, 28 Jul 2010 09:24:31 -0400

<>
On Jul 28, 2010, at 2:33 AM, Jing wrote:

> 
> . lrtest hetero ., df(620)
> 
> Likelihood-ratio test                                            LR chi2(620)=  -6436.22
> (Assumption: hetero nested in .)                       Prob > chi2 =    1.0000
> 
Backwards! Homo is a special case of hetero, which explains why you're getting a NEGATIVE Chi-square value. You have to 
give the arguments to lrtest in the right order.

A positive Chi-square of 6400 with a large df has a p-value of zero, not one.

Kit



Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index