Dear all,
I'm facing some problems with gsem. I have a two-level hierarchy data with households [hhID] nested within areas[PSU].
I'd like to specify a SEM in which the measurement model expresses the relationship between the latent variable (defined at the household level) L1 and a set of binary observed items q1-q8, and the structural model has a multilevel structure that allows for decomposing the variance of the latent variable in its between- and within-area components.
The specification of the (empty) multilevel structural model is
L1_jk = v_00 + u_0k + e_jk
where u_0k and e_jk represent, respectively, residuals at level two and one (j is the subscript for the households and k subscript for the areas).
How can I code such a model using gsem?
My try (contaminating with code from xtmixed) has been:
gsem (L1->q1-q8, logit) (L1<- ||v001: )
But of course it does not work.
I've found a lot of material about latent variables specified at level two but few about multilevel structural model.
Can you please help me?
Many thanks,
F
I'm facing some problems with gsem. I have a two-level hierarchy data with households [hhID] nested within areas[PSU].
I'd like to specify a SEM in which the measurement model expresses the relationship between the latent variable (defined at the household level) L1 and a set of binary observed items q1-q8, and the structural model has a multilevel structure that allows for decomposing the variance of the latent variable in its between- and within-area components.
The specification of the (empty) multilevel structural model is
L1_jk = v_00 + u_0k + e_jk
where u_0k and e_jk represent, respectively, residuals at level two and one (j is the subscript for the households and k subscript for the areas).
How can I code such a model using gsem?
My try (contaminating with code from xtmixed) has been:
gsem (L1->q1-q8, logit) (L1<- ||v001: )
But of course it does not work.
I've found a lot of material about latent variables specified at level two but few about multilevel structural model.
Can you please help me?
Many thanks,
F