Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: GLLAMM help


From   "Dana Shills" <[email protected]>
To   [email protected]
Subject   st: GLLAMM help
Date   Sat, 02 Oct 2004 22:24:15 +0000

Thank you Stas. I am working on this. I had one last question:

How do you obtain the residual variance in a model? Im trying to see what percentage of total variance is explained by the variables in the model. So for instance, when I run:

gllamm y, i(size country) link(ologit) adapt

I obtain

Variances and covariances of random effects
------------------------------------------------------------------------------
***level 2 (size)

var(1): .05399151 (.04772325)

***level 3 (country)

var(1): 0.0116962 (0.0113)
------------------------------------------------------------------------------

So is residual variance(ie unexplained variance) just=1-(0.05399151)-(0.0116962)?

Re: st: GLLAMM help

--------------------------------------------------------------------------------




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