
Hello,
I have the following data set that will be used to test the models by performing structural equation modeling:
 3 Dependent variables (1 comorbid and 2 others)
 Age and Sex as covariates
 Independent variable (IV) : Latent Factor A (formed using Confirmatory factor analysis)
 4 moderator variables (protective factors)
Each model will test the latent factor and all protective factors. I am using the laavan package to perform structural equation modeling.
I have began by opening my dataset from SPSS in R and installing the lavaan package.
library(foreign)
file.choose()
install.packages("lavaan", dependencies=TRUE)
My question is regarding my next steps. How do you suggest proceeding and how will I actually fit the models and obtain model indices?
Thank you.
