Statalist


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

st: How to model heterogeneity in level 1 residual variance (sigma^2)?


From   "HsienYuan Hsu" <[email protected]>
To   [email protected]
Subject   st: How to model heterogeneity in level 1 residual variance (sigma^2)?
Date   Wed, 19 Mar 2008 13:29:41 -0500

Dear all,

I am tring to model heterogeneity in level 1 residual variance (sigma^2).

In my model, I have
DV: mathach
IV: Female

If I use the syntax:
xtmixed  mathach female || id:female , cov(unstruct) nocons , ml

It gives me "one sigma^2.  However, I want to model the sigma^2 for
male and female, respectively.
Does any expert know the syntax?
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index