Statalist The Stata Listserver


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

st: "xtmixed" and bootstrapping standard errors of a ratio


From   lena Lindahl <lena.Lindahl@sofi.su.se>
To   statalist@hsphsun2.harvard.edu
Subject   st: "xtmixed" and bootstrapping standard errors of a ratio
Date   Wed, 05 Apr 2006 12:55:42 +0200

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/




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