# WLSMV with some continuous variables

137 views

### Lucas Sempe

Jun 17, 2019, 4:24:43 PM6/17/19
to lavaan
Dear Lavaan team,

Thanks for all your work! It is invaluable for many of us! My PhD will have to acknowledge this forum too!

I have a technical question of how lavaan deals with continuous data when WLSMV is used.

I have an SEM were the vast majority of my variables are ordered. Therefore I've chosen a WLSMV estimator. One manifest variable is used in the structural part.

Following Yves presentation (https://personality-project.org/r/tutorials/summerschool.14/rosseel_sem_cat.pdf),  my question: am I correct to assume that stage 1 (estimation of thresholds) is omitted, that stage 2 estimates a polyserial/biserial correlation and finally stage 3 is estimated?

I've read few papers and many posts on why WLSMV is better for ordinal data rather than ML. But should I worry of the opposite (WLSMV not being proper to deal with a continuous variable)?

Thanks a lot,

Lucas

### Terrence Jorgensen

Jun 17, 2019, 5:39:46 PM6/17/19
to lavaan
am I correct to assume that stage 1 (estimation of thresholds) is omitted

No, that step still occurs because some variables do have thresholds.  Stage 2 estimates a correlation matrix that contains polychorics among ordered variables as well as polyserials between the ordered and continuous variables (as well as the continuous variable's variance, not fixed to 1 like the ordered variables' variances).  If there are multiple continuous variables, their covariances are also estimated.

`?lavCor`

WLSMV is appropriate when even a single endogenous variable is ordered/binary.

Terrence D. Jorgensen
Assistant Professor, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam

### Lucas Sempe

Jun 18, 2019, 7:55:59 AM6/18/19

A follow-up question. How the continuous variables are treated under wlsmv?

Thanks, Lucas

--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/ln6QXIlyylA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+un...@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.

### Terrence Jorgensen

Jun 19, 2019, 5:30:07 AM6/19/19
to lavaan
How the continuous variables are treated under wlsmv?

I thought I answered that above.  They are treated as continuous.  It might help to be more specific.  WLSMV is not a thing, it is shorthand for 3 things:

`estimator = "DWLS"se = "robust.sem"test = "scaled.shifted" # "mean.var.adjusted" also available, which is what "MV" stands for`

You can request estimator = "wls" for models with only continuous variables, but that is the ADF estimator described by Browne (1984), not the 3-stage estimator for models with any ordered variables for which we must assume a latent underlying distribution:

1. estimate thresholds from 1-way contingency tables
2. estimate polychoric/serial correlations from thresholds and 2-way tables
3. fit SEM to polychoric/serial matrix
The robust "MV" correction is to account for the uncertainty of estimates in steps 1 and 2 when fitting the model in step 3.  That is not an issue for (full) WLS/ADF with continuous variables only.