Solved – The amount of variables used in SEM models

I would like to use lavaan for SEM. I am have however struggling to get things running (I went through al the examples, but they always deal with these perfect datasets). The only thing that has worked is one regression with some (five) variables as I would put into any OLS.

When I use more variables, like 10 or 15, I get the message: Warning message:
In lavaan::lavaan(model = ..., data = ..., model.type = "sem", :
lavaan WARNING: the optimizer warns that a solution has NOT been found!

Now, I have three questions about this:

  1. Does SEM indeed get into trouble when I use many variables?
  2. Can I circumvent this by setting starting values (for example from OLS estimates)?
  3. Is similarly to OLS, the outcome biased in a misspecified model?
  1. Does SEM indeed get into trouble when I use many variables?

It doesn't 'get into trouble' but it can have more difficulty estimating the parameters, especially if the sample size is small.

  1. Can I circumvent this by setting starting values (for example from OLS estimates)?

Almost certainly not. The program picks good starting values on its own, using better approaches.

  1. Is similarly to OLS, the outcome biased in a misspecified model?

Yes.

P.S. I have edited your question, because none of this is specific to Lavaan.

Similar Posts:

Rate this post

Leave a Comment