NEWS


robustlmm 3.5.1

Small-sample inference, variance-component tests and RANSAC

High-breakdown estimation (opt-in)

Usability and interoperability

Bug fixes

Infrastructure

robustlmm 3.5.0-2 (2026-07-30)

Bug fixes

master

An lmerMod passed as init supplies the model, not only the starting values -- the working object is built from it, so formula and data stop mattering from that point on. That is correct and efficient for a starting fit on the same data, which is what the argument was designed for. But ransac_lme4()$fit is fitted on the winning RANSAC subsample, so resolving init = "ransac" to that object silently dropped the rest of the data. On a two-dimensional random-effect block with m = 50 clusters and n = 1000 observations, the fit used 510 observations and 27 of the 50 clusters.

rlmer() now takes fixef, sigma and theta from the RANSAC fit and estimates the model on the full data. u is deliberately not carried over: it has one entry per random-effect coefficient of the fit it came from, and zeroing it instead is not a neutral choice -- combined with a theta from elsewhere it drives the random-effect covariance onto the boundary (theta = 0). Instead the effects are re-solved at the supplied sigma and theta. That solve is the robust IRLS step for beta and u jointly, run to convergence, so the RANSAC fixef acts as a warm start rather than as a value that is held fixed; sigma and theta are the parameters actually held.

Two supporting changes. The components of the list form of init are now optional; anything omitted keeps the value from the internal lmer initialisation, which is what makes the above expressible. And passing an lmerMod fitted on a different number of observations than data has rows now warns, since that is the same silent data-loss trap in user code. It is a warning rather than an error because dropping rows with NAs is a legitimate reason for the counts to differ.

Four call sites were affected, in three independent copies of the pattern: init = "ransac", rlmer_ransac(), and the inline start in fitDatasets_rlmer_ransac and fitDatasets_rlmer_ransac_bisq (which do not route through rlmer_ransac()). All four are fixed.

Found while running the estimator against the simulation design of Sugasawa, Hui and Welsh (2026, JCGS 35(2):720-733). Regression test: tests/ransac-init-fullwdata.R, which covers all four entry points.

robustlmm 3.5.0-1 (2026-07-10)

Several foundations of the new inference toolchain -- the cluster sandwich vcov, Wald and bootstrap confint, prediction intervals, the observation-level influence diagnostics and the base RANSAC initial estimator -- were first released to CRAN in the 3.4-4 / 3.4-5 series (see below). 3.5.0 adds the features listed here and extends several of the 3.4-5 foundations.

New user-facing inference methods

Robustness to high-leverage design points

Structured random-effect covariances (lme4 >= 2.0-0)

Small-J caveats and warnings

Bug fixes and improvements

Regression suite

Documentation

Dependencies

Internal / infrastructure

Known limitations

robustlmm 3.4-5 (2026-06-21)

The features below shipped to CRAN in 3.4-4 (2026-06-21) and its build fix 3.4-5 (2026-06-21). They are listed here so the changelog matches what CRAN users of those versions already have; 3.5.0 extends several of them (see above).

New user-facing inference methods

Regression suite

Dependencies