Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: interaction in SEM


From   Zhi Su <su.zh@husky.neu.edu>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: interaction in SEM
Date   Wed, 7 Dec 2011 09:25:43 -0500

Hi, dear Statalists,

  I want to use "sem" for a structural equation model, where Y is
outcome, x is colntorl variable, t is variable with interest, A is a
latent variable. The latent variable has two indicators :a1 a2. I want
to run a model as the following.

Y<-x t t*A
A<-x
a1<-A
a2<-A

Here is the problem. t*A is the interaction term between A and t, and
Stata return that "t*A" is an unknown variable. The interaction term
can not be generated to be an variable by using "generate" because A
is a latent variable. How can I use an interaction term between latent
variable and observed variable in "sem"? Thanks!

-- 
Zhi Su
348 Holmes Hall
Northeastern University
360 Huntington Avenue
Boston, MA 02115
Office:1-617-373-2316
email:su.zh@husky.neu.edu
*
*   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   |   Site index