You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for a standardized way to get a status of convergence. Can I do something like converged(fitted) that returns a boolean? This is important for simulation studies.
so the function "converged" is what you are looking for. This relies on the flags of the used backend, and might be different for each backend. Other convergence properties has to be computed manually atm (heywood cases, for example).
Activity
brandmaier commentedon Jul 9, 2026
I understand that this is optimizer-dependent. Still, couldn't we implement a default way to access the Optim result status for standard models?
Maximilian-Stefan-Ernst commentedon Jul 9, 2026
The
SemFitobject is currently documented asso the function "converged" is what you are looking for. This relies on the flags of the used backend, and might be different for each backend. Other convergence properties has to be computed manually atm (heywood cases, for example).
brandmaier commentedon Jul 9, 2026
Perfect! Thanks, @Maximilian-Stefan-Ernst