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, is already up and running.

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

st: Re: xtoverid, cluster(X)

From   Kit Baum <>
Subject   st: Re: xtoverid, cluster(X)
Date   Thu, 18 Mar 2010 08:00:14 -0400

On Mar 18, 2010, at 2:33 AM, Marco wrote:

> I would like to run xtreg,fe or xtreg,re with cluster option and need
> to run xtoverid test to determine if re is appropriate. I guess I need
> to include cluster option when I run xtoverid as below indicated. Am I
> right?  Many thanks
> Marco
> xtreg, fe  cluster(X)
> est store fixed
> xtreg, re cluster(X)
> xtoverid, cluster(X)

xtoverid will inherit the VCE settings from the prior RE model, so strictly speaking, you don't have to use the 
cluster() option on xtoverid.

You also do not need to estimate the FE model, as it is not used in this artificial regression "generalized Hausman" test.

Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

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