This release corrects the implementation of the regularized Bayesian
estimator so that it follows the derivation in Dashuk et al. (2025a,
2025b). Estimates and standard errors of beta_b
change; results from earlier versions can be reproduced with
MultiLevelOptimalBayes 0.0.4.0 from the CRAN archive. (GitHub branch
v0.0.5.0 has the same estimator family, with additional bug
fixes.)
MSA / n (mean tau + sigma / n) instead of
(MSA - MSD) / n (mean tau). The mean and
variance of both estimators are now computed exactly in closed
form.beta_b (Bayesian and ML) use the
same corrected moments. Where the variance of the ML ratio does not
exist under the gamma approximation (k_B <= 2), a
first-order approximation is reported.gamma).beta_b are now exactly equivariant to the
units of x and y (multiplying x
by s divides beta_b and its standard error by
s).(nJ + J + 1)-dimensional
covariance matrices, so mlob() (and especially
jackknife = TRUE) is much faster and works for large data
sets. The pracma dependency is removed.?mlob used conf.level = 0.01
(a 1% interval); it now uses 0.99.mlob() now gives correct results when the rows of a
group are not contiguous in data.mlob() now gives an explicit warning when the estimated
between-group variance of the predictor is negative. Previously this was
only hinted at later by messages such as “Please check grouping” or
“Singularities in the between-group estimation”.simulate_alcd_cv()) for the test suite only (not exported;
implements the data-generating process from the supplementary material
of Dashuk et al. (2025a, 2025b)).anova(lm())
implementation of the estimator (with and without control variables) and
with variance components from REML fits in lme4.ChickWeight example in ?mlob, which
demonstrates all S3 methods, is now wrapped in \donttest{}
to keep example run time within CRAN limits.#' to be
rendered literally in the ?mlob examples section.lme4 to Suggests (used in tests
only).