Displaying 1 result from an estimated 1 matches for "variablein".
2013 Mar 18
1
"save scores" from sem
I'm not aware of any routine that those the job, although I think that
it could be relatively easily done by multiplication the manifest
variable vector with the estimates for the specific effect.
To make an example:
v1; v2; v3; v4 are manifest variables that loads on one y latent
variablein a data frame called "A"
the code for the model should be like:
model <-specifymodel(
y -> v1, lam1, NA
y -> v2, lam2, NA
y -> v3, lam3, NA
y -> v4, lam4, NA
After fitting the model with sem
model.sem <- sem(model, data=A)
you should be able to compute the y variable l...