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: AW: Question on xtreg and the FE option


From   "JVerkuilen (Gmail)" <jvverkuilen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: Question on xtreg and the FE option
Date   Fri, 9 Nov 2012 00:10:20 -0500

On Thu, Nov 8, 2012 at 5:07 PM, Justina Fischer <JAVFischer@gmx.de> wrote:
> it depends also on the Staa version you use
>
> In my case -xtreg- requires -xtset-, and -xtset- requires both unit and time to be set

Not that I recall, though it's possible that was so with previous
versions of the program. You can iis() alone and run -xtreg- with fe.
I just tried it. Certainly true that fixed effects implies that all
within-cluster covariates drop out (unlike random effects) but it can
be run. It corresponds to using deviations from the cluster mean.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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