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

st: GLLAMM help with syntaxis in multilevel.


From   Martha Martinez-Martinez <[email protected]>
To   [email protected]
Subject   st: GLLAMM help with syntaxis in multilevel.
Date   Mon, 19 Jan 2004 17:37:23 -0500 (EST)

I am working on a multilevel database and I have some doubts about
syntaxis for gllamm program. My database samples organizations, and within
organizations I have data for several employees. I am trying to explain
social capital measures (interval variables) on individual and
organizational level variables.  Given the survey design, I expect a
random effect on both the constant and the coefficients.  My programming
looks like this:

gen cons=1;
eq ran1=cons;
eq ran2=univer married party size service outsource;
gllamm exten univer married party size service outsource, i(companyid)
nrf(2) eqs(ran1 ran2) nocor;

The first three variables are individual level, the last three
organizationa;. I am assuming that all coefficients are affected by sample
design, and that these mdoel should correct for selection bias and model
mispecification at the organizational level.  Is this a correct
assumption?

Thanks.

Martha Martinez
*
*   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