Dear lavaan community,
I have a question regarding the correlation between a residual variance and an external, manifest variable.
In our model, all manifest variables are dichotomous. We created pseudo-latent factors for the residuals and correlate these with a dichotomous manifest variable. We use WLSMV and theta parameterization. If I understand CFA for binary indicators correctly, the residual variance is expected to be approximately normally distributed.
My question is: what type of correlation gets calculated in lavaan for the continuous latent residual and the dichotomous manifest variable? Is it a biserial correlation, as would be expected with two manifest variables?
Thank you in advance,
Johanna
Here is a short example of our model syntax:
model <- ‘
f =~ a_1 + a_2 + a_4 + b_1 + b_3 + b_4
f ~~ 1*f
a_1~~0*a_1
a_2~~0*a_2
a_4~~0*a_4
b_1~~0*b_1
b_3~~0*b_3
b_4~~0*b_4
resid_a_1=~ 1*a_1
resid_a_2=~ 1*a_2
resid_a_4=~ 1*a_4
resid_b_1=~ 1*b_1
resid_b_3=~ 1*b_3
resid_b_4=~ 1*b_4
resid_a_1~~resid_a_1
resid_a_2~~resid_a_2
resid_a_4~~resid_a_4
resid_b_1~~resid_b_1
resid_b_3~~resid_b_3
resid_b_4~~resid_b_4
m_1~~resid_a_1 + resid_a_2 + resid_a_4 + resid_b_1 + resid_b_3 + resid_b_4’
model_fit <- lavaan(model=model, data = dat, ordered = T, estimator = "WLSMV", orthogonal = T, parameterization = "theta")) # estimate model
the correlation between a residual variance and an external, manifest variable.
We created pseudo-latent factors for the residuals
We use WLSMV and theta parameterization. If I understand CFA for binary indicators correctly, the residual variance is expected to be approximately normally distributed.
the correlation between a residual variance and an external, manifest variable.
By “external”, do you mean “exogenous”?
We created pseudo-latent factors for the residuals
Not sure why you think that is necessary.