Changelog
Source:NEWS.md
plavaan (development version)
-
penalized_est()gainsepscontrol for built-in penalties, includingeps = "telescoping"over a decreasing epsilon sequence. Telescoping reuses the original starting values by default; settelescoping_control = list(warm_start = TRUE)to warm-start later stages from prior estimates. - New
effective_df()for penalized fits: reports the effective number of parameters per penalty component and the effective model degrees of freedom, using the soft-count property of the penalties. -
effective_df()(and the fit-evaluation degrees of freedom) now count sample statistics correctly for models with ordinal/categorical indicators (e.g. WLSMV fits with thresholds). The count now uses lavaan’s ownlav_pt_ndat()where available (with a structural fallback), so it accounts for ordinal thresholds, composites, and the correlation metric, and always matches lavaan’s own model df. The previous count used a continuous-variables formula that miscounted such models. Results for purely continuous models are unchanged. - Fits returned by
penalized_est()are nowplavaanobjects.summary()reports the effective number of parameters and degrees of freedom, and — when fit evaluation is enabled withtest = "Chisq"(or"SatorraBentler") —fitmeasures()and the chi-square test insummary()additionally report fit indices at the effective degrees of freedom via a frozen refit at the penalized estimates. This fit evaluation is experimental and disabled by default (test = "none", the new default for thetestargument); an experimental notice is shown whenever it is used.
plavaan 0.0.2
CRAN release: 2026-07-28
- Added
penalized_est_multistart()and support for custom optimizer starting values viastartinpenalized_est(). - Minor changes to speed up the optimization process.