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 <>
Subject   st: "xtmixed" and bootstrapping standard errors of a ratio
Date   Wed, 05 Apr 2006 12:55:42 +0200

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:

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