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
Oxaca Model InterpretationDear All, Below is an except of my results from the Oxaca model Country A Country B Male …
Esttab or Estout for IRRHello Statalist, I am trying to get estout or esttab to give show IRR rather than coefficients. Bel…
Setting an alternating number count within a loopHello, I am attempting to create a loop that goes through a sequence of variables. There are three d…
Dummy variableWill this be right if I create a new variable say games to have values of 1 from each variable Var…
Equivalent to glmer (R) in stata? for a GLM mixed models (Gamma distribution)Hi all, I am trying to get regression parameters from for a simple experiment for time response wit…
Subscribe to:
Post Comments (Atom)
0 Response to Questions in doing sem
Post a Comment