Hi All,
I had posted a related question a few weeks ago, but to my delight I came across the SEM capabilities in Stata. While I found a thread about a related question, it doesn't seem to be working for me (http://www.statalist.org/forums/foru...able-after-sem). I will explain below.
I have multiple measurements of my latent variable, call them m1 m2 m3 m4, and my latent variable H. There are measurement equations, e.g. regressions of m_j on H, and a transition equation, e.g., regressions of HFOR (forward iterated) on H and another variable, call it B. I thought that this would work...
sem (m1 <- H) ///
(m2 <- H) ///
(m3 <- H) ///
(m3 <- H) ///
(HFOR <- H V)
predict lhcap, latent(H)
Thank you in advance for your help!
I had posted a related question a few weeks ago, but to my delight I came across the SEM capabilities in Stata. While I found a thread about a related question, it doesn't seem to be working for me (http://www.statalist.org/forums/foru...able-after-sem). I will explain below.
I have multiple measurements of my latent variable, call them m1 m2 m3 m4, and my latent variable H. There are measurement equations, e.g. regressions of m_j on H, and a transition equation, e.g., regressions of HFOR (forward iterated) on H and another variable, call it B. I thought that this would work...
sem (m1 <- H) ///
(m2 <- H) ///
(m3 <- H) ///
(m3 <- H) ///
(HFOR <- H V)
predict lhcap, latent(H)
Thank you in advance for your help!
Comment