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]

st: cluster


From   Elin Vimefall <Elin.Vimefall@oru.se>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: cluster
Date   Wed, 27 Feb 2013 11:53:29 +0000

Dear list members

To analyze which children that are enrolled in school I use a probit model. To control for the fact that the error terms are correlated at district level I use cluster() 

Probit school x1 x2..., cluster(district)

However; I do not really understand how the cluster() works. When reading about clustering I understand that you can do both fixed effects and random  effects. How can I do that in stata, and which of them do cluster do?

Best regards /Elin Vimefall


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