Hi. I'd like to estimate a two-level model (people clustered with supervisors). I have specified a unidimensional model (for ordered categorical items) on the within level. I am aware of how to let loadings vary. However, how do I specify a model that lets the factor mean vary across clusters? Sorry if I'm being dense.
How do I let g1 vary across clusters (without getting an error)? To be clear, I don't hypothesize a cluster level factor. Rather, I want to estimate how much the factor varies within and across clusters.
For example, suppose y1 us a continuous variable. The following code would result in an estimate for the mean and the within and between level variance: %within% y1; %between% y1;