Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: SV: Latent variable DVs in gllamm


From   Mads Meier Jæger <Mads@sfi.dk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: SV: Latent variable DVs in gllamm
Date   Wed, 11 Feb 2009 10:49:23 +0100

Rahsaan,

This can be done in gllamm by expanding the data so that the three observed variables (trust in police, etc.) form a multivariate response for each individual, and then by using a random effect to model the latent DV. You need to expand the data to "trick" gllamm into treating the three observed variables as a multivariate response, see chapter 4 and 8 in the gllamm manual. It should be easy enough also to include more random effects to account for additional multilevel (neighbourhood, etc.) clustering. You could also use eqs() to model covariate effects on the latent DV.

Mads
 

 
-----Oprindelig meddelelse-----
Fra: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] På vegne af Rahsaan Maxwell
Sendt: 11. februar 2009 06:49
Til: statalist@hsphsun2.harvard.edu
Emne: st: Latent variable DVs in gllamm

Does anyone know if it is possible to build a multi-level mixed effects model
with a latent DV using glamm?

I have a unobserved response variable (political trust) that is comprised of
three observed variables (trust in police, trust in government, trust in
politicians).  I am trying to run a multi-level model with fixed effects IVs at
the individual and neighborhood level and a random intercept for the
neighborhood grouping level.

However, I cannot figure out how to construct the DV as a latent variable.  I
have been trying to use the eqs function but that does not seem to work.

Thanks,

-Rahsaan


Rahsaan Maxwell, Ph.D.
Assistant Professor
Department of Political Science
University of Massachusetts, Amherst

Postdoctoral Fellow
Transatlantic Academy
German Marshall Fund of the United States
http://rahsaanmaxwell.googlepages.com
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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