Hello
I am trying to run a model as follows:
dmodel = '
g =~ a*item1 + b*item2 + c*item3 + d*item4 + e*item5 + f*item6
k =~ a*item7 + b*item8 + c*item9 + d*item10
g ~ k
binary01 ~ item11 + g
'
dfit = sem(model = dmodel,
data = aux,
ordered = c("binary01"))
So: items 1 through 6 are measured items that define latent variable g
items 7 through 10 are measured items that define latent variable k
k predicts g
then g + measured item11 predict a binary outcome (01 variable, ordered as needed)
The model seems to run fine but I have a few questions, in case anyone can help:
1. How to interpret the coefficients of my final regression. Ideally, I would like to use logistic regression so that I could interpret the coefficient of g and item11 as odds ratios. Can I?
Regressions:
Estimate Std.Err z-value P(>|z|) Std.lv Std.all
g ~
k -0.201 0.029 -6.830 0.000 -0.266 -0.266
binary01 ~
item11 0.174 0.035 4.927 0.000 0.174 0.201
g 0.320 0.045 7.174 0.000 0.293 0.287
2. What does this mean, it is given in the output?
Scales y*:
Estimate Std.Err z-value P(>|z|) Std.lv Std.all
binary01 1.000 1.000 1.000
3. When I use lavaan() the model does not really run (most estimates are zero or the same value) but it does run with cfa() or sem(). And the error at the end is:
Warning message:
In cov2cor(Sigma.hat) :
diag(.) had 0 or NA entries; non-finite result is doubtful
??
THANKS!!