[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: "xtmixed" and bootstrapping standard errors of a ratio
Hello!
I want to estimate the correlation in income among pupils who went in
the same school. In order to achieve the variance components needed to
calculate the correlation I have used xtmixed in the following way:
xtmixed income || school:, cov(unstructured) variance
Then I get estimates of within and between school variance and their
standard errors. The correlation is calculated as the proportion of the
total variance that occurs between schools: ((between
variance/(between+within variance)). How do I bootstrap standard errors
of the correlation?
Best wishes
Lena Lindahl
*
* 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/