Thomas Cornelissen wrote:
> I am comparing two different ways of estimating a linear fixed-effects
> model:
>
> Method 1: Use -regress- and include dummy variables for the panels.
> Method 2: Use -xtreg, fe-.
>
> These two deliver exactly the same estimates of coefficients and their
> standard errors (if I do not cluster the standard errors).
>
> However, if I use the option -cluster- in order to get clustered
> standard errors (clustered on the panel ID), I get different results
> with the two ways of estimating the model.
>
> Why is this ?
Probably because the degrees-of-freedom correction is different in each
case. In -reg-, it's (N of obs - k variables - 1); in -reg, cluster()-,
it's (N of clusters - 1). The resultant df is often very different.
Take a look at these posts for more on this:
http://www.stata.com/statalist/archive/2004-07/msg00616.html
http://www.stata.com/statalist/archive/2004-07/msg00620.html
Note that -areg- is the same as -xtreg, fe-!
Hope that helps.
CLIVE NICHOLAS |t: 0(044)7903 397793
Politics |e: [email protected]
Newcastle University |http://www.ncl.ac.uk/geps
Whereever you go and whatever you do, just remember this. No matter how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
conditions.
*
* 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/