Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Clustered standard errors in -xtreg-


From   Thomas Cornelißen<[email protected]>
To   [email protected]
Subject   st: Clustered standard errors in -xtreg-
Date   Tue, 26 Dec 2006 18:24:13 +0100

Dear all,
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 ?

Best,
Thomas

-------------------------------
Thomas Cornelissen
Institute of Empirical Economic Research
University of Hannover

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




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index