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: RE: xtoverid, cluster(X)


From   Marco Buur <marco.buur@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: xtoverid, cluster(X)
Date   Wed, 17 Mar 2010 14:27:26 +0100

Noted
Thank you Mark
Marco
On Wed, Mar 17, 2010 at 11:28 AM, Schaffer, Mark E
<M.E.Schaffer@hw.ac.uk> wrote:
> Marco,
>
>> -----Original Message-----
>> From: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Marco Buur
>> Sent: Wednesday, March 17, 2010 9:31 AM
>> To: statalist@hsphsun2.harvard.edu
>> Subject: st: xtoverid, cluster(X)
>>
>> Dear Stata members
>>
>> 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
>
> No, it's simpler than that.  Just call xtoverid after your random
> effects estimation.  You don't have to say "cluster" after the xtreg,re
> estimation so long as you have it after xtoverid, as you do below.
>
> Cheers,
> Mark
>
>> Marco
>>
>>
>>
>> xtreg, fe  cluster(X)
>> est store fixed
>> xtreg, re cluster(X)
>>
>>
>> xtoverid, cluster(X)
>> *
>> *   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/
>>
>
>
> --
> Heriot-Watt University is a Scottish charity
> registered under charity number SC000278.
>
>
> *
> *   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/
>

*
*   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