NEWS.md

INLAvaan 0.3.2

Deprecations

Bug fixes

Single-level fits with complete data do not change. Two-level fits with complete data get slightly different PPP values.

INLAvaan now gets the two values from lavaan. Single-level fits without covariates do not change.

The absolute indices (BRMSEA, BGammaHat, adjBGammaHat, BMc) do not change.

This changes elpd_loo and looic for fits with a unit at k_max >= 1. Without such a unit, the other data and the prior cannot identify some combination of the parameters. Thus, examine such units.

New features

The Gauss-Hermite rule gives the same shift on each run. On the benchmark models, it was more accurate than the default 64-node rule. It is faster than the default for fewer than approximately 30 free parameters, and slower for more. It gives no quadrature error, thus vb_mcse_sigma is NA. This feature is experimental.

You can now request the PPP and the DIC separately. For example, test = "dic" gives the DIC without the PPP.

The default no longer calculates the LOO and the WAIC. Before, the default calculated the LOO if its predicted time was less than 10 seconds. Thus the fit time was difficult to predict. INLAvaan now calculates the LOO and the WAIC only on request ("loo", "waic" or "full"). If the model does not support them (PML or ordinal data, conditional.x = TRUE, multigroup two-level models), you get a warning and the fit continues without them.

To get elpd_loo in fitmeasures(fit) as before, use test = "full" or add_loo(fit). add_loo() now stores the LOO and the WAIC (before, it stored only the LOO). loo(fit) and waic(fit) still calculate on request.

Minor improvements and fixes

The printed result also shows a new curvature check. It compares the total gap between the first-order and second-order estimates (elpd_gap) with half of pD. A large excess shows that the second-order expansion is not stable. The documentation now also tells you to use second_order = FALSE only for diagnostics or to decrease cost. A first-order score is too high by approximately half of pD, thus it cannot compare models of different sizes.

INLAvaan 0.3.1

Bug fixes

INLAvaan 0.3.0

New features

Minor improvements and fixes

Bug fixes

INLAvaan 0.2.5

Minor improvements and fixes

INLAvaan 0.2.4

New features

Minor improvements and fixes

Bug fixes

INLAvaan 0.2.3

INLAvaan 0.2.2

INLAvaan 0.2.1

INLAvaan 0.2

INLAvaan 0.1



Try the INLAvaan package in your browser

Any scripts or data that you put into this service are public.

INLAvaan documentation built on Oct. 2, 2026, 1:07 a.m.