Fits a regularised binomial (or Bernoulli) mixed-effects model using INLA, with enhanced diagnostics, stability checks and strategy selection.
qbrmb(
formula,
data,
family = "binomial",
strategy = "auto",
regularisation_strength = 0.1,
use_data_augmentation = TRUE,
min_group_size = 5,
verbose = FALSE,
diagnostics = FALSE,
silent = FALSE,
...
)An object of class c("qbrmb_fit", "qbrms_fit", "list")
containing the fitted model, diagnostics and metadata.
Model formula with random effects in lme4-style syntax.
Data frame containing the variables in the model.
Model family (currently "binomial" or "bernoulli";
default "binomial").
Fitting strategy: "auto", "enhanced",
"aggressive", or "minimal".
Regularisation strength in the interval
\([0, 1]\) (default 0.1).
Logical; if TRUE, add pseudo-observations
for additional numerical stability.
Minimum group size before triggering diagnostic warnings.
Logical; if TRUE, show detailed progress and
diagnostics while fitting.
Logical; if TRUE, compute and store extended
diagnostics in the returned object.
Logical; if TRUE, suppress printed output except
errors.
Additional arguments passed to INLA::inla().