Hi there,
I am fairly new to SEM and seeking some advice. I am running a SEM using the lavaan package to do mediation analysis and repeating the process on multiple imputed datasets. I have five latent variables (each made up of a number of ordered factor items), an exposure, and an outcome. I am using the latent variables as my mediators. I am interested in the direct and indirect effects. The estimator used was DWLS and I have a sample size of ~ 3,000. Each time I run the SEM (either with all five latent variables or with one latent variable) I get a number of warning messages as detailed below. Note that “my outcome variable”, “one of the items used for the latent variables” and “different item used for the latent variables” below are the variables that I am interested in.
In lav_bvmix_cor_twostep_fit(fit.y1 = UNI[[i]], fit.y2 = UNI[[j]], :
lavaan WARNING: estimation polyserial correlation did not converge for
variables [my outcome variable] and [one of the items used for the latent variables]
In lav_bvmix_cor_twostep_fit(fit.y1 = UNI[[i]], fit.y2 = UNI[[j]], :
lavaan WARNING: estimation polyserial correlation did not converge for
variables [my outcome variable] and [different item used for the latent variables]
etc.
The warning message above (i.e. “estimation polyserial correlation did not converge”) is only raised for a subset of my items making up the different latent variables and the outcome.
I should note that my models do converge even with these warning estimates and seem to provide sensible estimates. I would just like to understand what is causing these warnings and if I need to be concerned and/or address them.
Please could someone advice whether:
Many thanks
Kirsty
- Do these warnings would affect the estimates?
- Is it ok to use the estimates with these warnings?
- A possible solution to these warning messages?
in the context of multiple imputation, the problem can easily be bypassed by manually excluding the specific dataset(s) that throw the warning. For future releases of the semtools-package it might be worthwhile to automatize this procedure.