From | Buzz Burhans <[email protected]> |
To | [email protected] |
Subject | Re: st: Using the cluster command or GLS random effects? |
Date | Thu, 17 Jul 2003 10:43:10 -0400 |
Dear all,
I am using a repeated cross-section of pupil-level data to regress exam
attainment on various characteristics. Since pupils are clustered in particular
schools, I need to correct the standard errors for clustering at school-level.
I could adopt one of the following approaches:
regress Y X, cluster(school)
xtreg Y X, re (i=school)
So the first approach corrects standard errors by using the cluster command.
The second approach uses a random effects GLS approach.
I thought that the two approaches do the same thing and should give the
same results. However, I find that the standard errors are alot smaller
using the second approach.
Does anyone know how the two approaches differ from one another?
Thanks,
Sandra
*
* 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/
* * 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 |