Hello,
I am trying to identify and estimate a complex nonrecursive model where I have three endogenous variables: EV1, EV2 and EV3. There are feedback relationships between EV1 and EV2, between EV2 and EV3 and between EV1 and EV3. There are also instrumental variables for each of the three endogenous variables to identify the nonrecursive model. I also have a set of exogenous variables predicting different endogenous variables. Most or all of my exogenous variables (including instrumental variables) are categorical or binary. EV1 and EV2 are both continuous endogenous variables. EV3 is a binary endogenous variable. Lastly, all three error terms of the three endogenous variables are specified to correlate (in all possible pairs: error1 with error2; error1 with error3 and error2 with error3).
When I run the Lavaan Diagonally-weighted Least Squares and try to look at the residual correlations by using the "residual(fit, type = "cor")" command afterwards, I get something like the following outputs (Below are not actual values. Values are made up here only for the purposes of this example. However, they look very similar to the real output values):
residuals(fit.model, type = "cor")
$type
[1] "cor.bollen"
$res.cov
EV1 EV2 EV3
EV1 0.000
EV2 0.002 0.000
EV3 -0.024 -0.031 0.000
EV1 EV2 EV3
0.000 0.000 3.736
EV3 |t1
0
$res.slopes
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12
EV1 -0.018 0.110 -0.100 -0.042 -0.044 0 0 0 0 -0.042 -0.030 0.024
EV2 0.069 -0.033 0.025 -0.088 0.022 0 0 0 0 0.008 -0.065 0.115
EV3 -0.050 0.010 -0.010 0.011 -0.001 0 0 0 0 -0.002 -0.004 -0.018
$cov.x
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12
V1 0
V2 0 0
V3 0 0 0
V4 0 0 0 0
V5 0 0 0 0 0
V6 0 0 0 0 0 0
V7 0 0 0 0 0 0 0
V8 0 0 0 0 0 0 0 0
V9 0 0 0 0 0 0 0 0 0
V10 0 0 0 0 0 0 0 0 0 0
V11 0 0 0 0 0 0 0 0 0 0 0
V12 0 0 0 0 0 0 0 0 0 0 0 0
$mean.x
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12
0 0 0 0 0 0 0 0 0 0 0 0
I am not sure what those shortened labels ($res.cov, $
res.int, $
res.th, $res.slopes, $cov.x, $mean.x) are indicating exactly. Is "$res.slopes" what I am looking at in terms of residual correlations (paying closer attention to those significantly greater than the absolute value of 0.1)? Is it possible to do residual correlations with categorical endogenous variables (in my case, binary endogenous variable)?
Also, I am getting 0 values for $cov.x and $mean.x (all the values in the lower triangle matrix are 0). What is the output indicating here?
Thank you very much!!