Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: cluster
From
Elin Vimefall <[email protected]>
To
"[email protected]" <[email protected]>
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/