el() for model specification.
>
> (3) If you have the original data set, as you do, it's generally
> preferable to use the data argument to sem() than to pass it the covariance
> matrix for the observed variables.
>
> I hope that this helps,
> John
>
>
>
Hello,
I have just started to work on a path analysis (see attached image for the
diagram), but I have encountered an error message.
This is the code I have used:
cov_matrix<-var(xdata)
library(sem)
model.xdata<-specifyModel()
x1 -> y2, xy12, NA
x2 -> y1, xy21, NA
y1 -> y2, yy12, NA
y2 -> y
2 matches
Mail list logo