Hi Everyone!
I want to conduct a regression with latent variables. These are the latent variables I want to create in bold.
Outcome: math achievement (observed variables number and geometry)
Independent variables:
number (composed of 3 continuous observed variables)
geometry (composed of 3 continuous observed variables)
executive function (composed of 3 continuous observed variables).
I also want to control for age.
I want to run two separate regressions for two groups I am comparing (Indigenous vs. non-Indigenous students)
I can't figure out how to define the latent variables in order to run the regression. This is what I've tried and none of it defines the latent variables. Any help would be very greatly appreciated!!
sem (Spatial -> t1visspat, ) (Spatial -> t1mr2d, ) (Spatial -> t1ravens, ) (Number -> t1symadj, ) (Number -> t1dotadj, ) (Number -> t1ordadj, ) (EF ->
> t2htks, ) (EF -> t2pathfct, ) (EF -> t2pathrct, ) (Achieve -> t2numraw, ) (Achieve -> t1georaw, ) if indstatus2group == 1, covstruct(_lexogenous, diago
> nal) group() latent(Spatial Number EF Achieve ) cov( Spatial*Number Spatial*EF Spatial*Achieve Number*EF Number*Achieve EF*Achieve) nocapslatent
sem (SPATIAL -> t1visspat t1mr2d t1ravens)
sem (EF -> t1htks t1pathfor t1pathrev)
sem (NUMBER -> t1symadj t1dotadj t1ordadj)
sem (ACHIEVE -> t1numraw t1georaw)
I want to conduct a regression with latent variables. These are the latent variables I want to create in bold.
Outcome: math achievement (observed variables number and geometry)
Independent variables:
number (composed of 3 continuous observed variables)
geometry (composed of 3 continuous observed variables)
executive function (composed of 3 continuous observed variables).
I also want to control for age.
I want to run two separate regressions for two groups I am comparing (Indigenous vs. non-Indigenous students)
I can't figure out how to define the latent variables in order to run the regression. This is what I've tried and none of it defines the latent variables. Any help would be very greatly appreciated!!
sem (Spatial -> t1visspat, ) (Spatial -> t1mr2d, ) (Spatial -> t1ravens, ) (Number -> t1symadj, ) (Number -> t1dotadj, ) (Number -> t1ordadj, ) (EF ->
> t2htks, ) (EF -> t2pathfct, ) (EF -> t2pathrct, ) (Achieve -> t2numraw, ) (Achieve -> t1georaw, ) if indstatus2group == 1, covstruct(_lexogenous, diago
> nal) group() latent(Spatial Number EF Achieve ) cov( Spatial*Number Spatial*EF Spatial*Achieve Number*EF Number*Achieve EF*Achieve) nocapslatent
sem (SPATIAL -> t1visspat t1mr2d t1ravens)
sem (EF -> t1htks t1pathfor t1pathrev)
sem (NUMBER -> t1symadj t1dotadj t1ordadj)
sem (ACHIEVE -> t1numraw t1georaw)
Comment