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
Meta-analysis commands; Metainf and metatrim vil not runHi! I'm a medical student and brand new to Stata. To start with I was told I need the following met…
how to generate a new variable to describe "symbol"Hi, I have panel data (symbols, daily returns) with 97 symbols to describe ETFs, and all of them ha…
calculate annualized std.dev of weekly stock returns (volatility)Hi Statalisters, I need some guidance about the calculation of volatility. I have data of weekly cl…
Lca with ordinal manifest variables -- equivalent of constraining constants?I am very new to doing LCA. I'm using Stata 15, in case that matters. I am trying to do a latent cl…
Looking for online courseI must learn basic data analysis, time series analysis, multilevel regression and the emphasis on pa…
Subscribe to:
Post Comments (Atom)
0 Response to Questions in doing sem
Post a Comment