Hi there! I want to conduct an SEM model to test the mediator. However, it shows 'factor-variable operators not allowed on latent variable I3a_7_0'.
In this model, dependent variable is unsafe(continuous variable) , independent variable is techono (continuous) , the meditator is anti_behav(continuous). Others are control variables, I3a_7_0 (category) age I2_1(category) maritalstatus (category) Igender(category) i.I1_3_2(category) income
The code is:
sem (anti_behav<-techno i.I3a_7_0 age i.I2_1 i.maritalstatus i.Igender i.I1_3_2 income) (unsafe<-anti_behav techno i.I3a_7_0 age i.I2_1 i.maritalstatus i.Igender i.I1_3_2 income)
Could anyone tell me where is wrong?
Related Posts with Questions in doing sem
Create variable using expansion factorDear all, I would like to ask you a question. In a database I have identified a group of people, who…
error: depvar may not be a factor variableHey everybody, I want to run a regression with binary variables but I am getting this error: depvar…
Generate two new variables in Stata representing the change in net-pay and the change in well-being between june and octoberHi, I'm new to Stata how can I show the above statement in Stata? I would really appreciate any advi…
Generalized propensity score matching for multilevel treatmentHi, I am a first-time user of the generalized propensity score. I have 3 treatment levels that are …
Weighted least squaresHello! I have conducted an ordinary least squares model and to test it I performed a sensitivity an…
Subscribe to:
Post Comments (Atom)
0 Response to Questions in doing sem
Post a Comment