Statalist The Stata Listserver


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

st: slopes as outcomes?


From   SamL <[email protected]>
To   Stata Listserve <[email protected]>
Subject   st: slopes as outcomes?
Date   Wed, 15 Nov 2006 09:51:28 -0800 (PST)

I've attempted to figure out how to specify a slopes-as-outcomes
multilevel model using _xtmixed- and at this point I am swirling in
confusion.  I have checked statalist and the manual, and cannot find an
example that I am confident matches my aim.  So, if my data has persons
(i) nested within univerities (j), and Model 1, a 2-equation model I seek
to estimate, is:

Y_ij = b0 + b1_j*X1_ij + b2*X2_ij + e_ij
b0 = g00
b1_j = g10 + g11*Z1_j + u1_j
b2 = g20

what would be the appropriate syntax?  And, if Model 2 has a slightly
different specification:

Y_ij = b0_j + b1*X1_ij + b2*X2_ij + e_ij
b0 = g00 + g01*Z1_j + u0_j
b1 = g10
b2 = g20

what would be the appropriate syntax?

I appreciate any assistance you can provide.

Thanks a bunch.
Sam
*
*   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