Are lavaan::lavInspect(fit, "converged") and lavaan::lavTech(fit, "post.check") redundant?

38 views
Skip to first unread message

Michael Truong

unread,
Jul 30, 2026, 2:24:34 PM (2 days ago) Jul 30
to lavaan
Hello,

I was just curious about something because I couldn't get a quick answer on Google and because I figured that others probably would want to be able to see this on Google quickly.

Is it true that lavaan::lavInspect(fit, "converged") and lavaan::lavTech(fit, "post.check") are non-redundant to each other? 

Looking at the documentation, https://cran.r-universe.dev/lavaan/doc/manual.html, the former seems to be about whether the optimizer has stopped, whereas the latter is for whether the parameter estimates is admissible. 

I'm just re-stating the documentation, but intuitively, I would've expected one function that covers everything. I also know that at least a few people would've mistakenly assumed that checking lavaan::lavInspect(fit, "converged") is sufficient during simulation studies, but I'm guessing that is probably not true...

Michael

Yves Rosseel

unread,
Jul 31, 2026, 5:09:40 AM (yesterday) Jul 31
to lav...@googlegroups.com
They are very different:

- "converged" is indeed about the optimizer only; most algorithms in
lavaan are iterative (using the nlminb() function) and the optimizer may
simply not converge, implying that it did not find a (reasonable) solution

- "post.check" is only relevant if the model converged; this is a check
to see if the estimated parameter values are all 'admissible' (i.e., no
negative variances, all covariance matrices positive-definite); this is
a very different type of information; not everyone wants to 'exclude'
improper (but converged) solutions in a simulation study, because not
everybody feels that, say, a tiny negative variance is problematic (in
particular when the sample size is small)

Yves.
> --
> You received this message because you are subscribed to the Google
> Groups "lavaan" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to lavaan+un...@googlegroups.com
> <mailto:lavaan+un...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> lavaan/5b9b2541-71e9-4b26-8a62-35af4c0d839fn%40googlegroups.com
> <https://groups.google.com/d/msgid/
> lavaan/5b9b2541-71e9-4b26-8a62-35af4c0d839fn%40googlegroups.com?
> utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages