To vary or not to vary: A flexible empirical Bayes factor for testing variance components

Fabio Vieira et al.

British Journal of Mathematical and Statistical Psychology2026https://doi.org/10.1111/bmsp.70048article
ABDC B
Weight
0.50

Abstract

Random effects are the gold standard for capturing structural heterogeneity, such as individual differences or temporal dependence. Yet testing their presence is difficult because variance components are constrained to be non-negative, creating a boundary problem. This paper introduces a flexible empirical Bayes factor (EBF) for testing random effects. Instead of testing whether a variance component equals zero, the EBF evaluates the equivalent hypothesis that all random effects are zero. The approach avoids manual prior specification: the distribution of the random effects is modeled at the lower level and estimated directly from the data, yielding an "empirical" Bayes factor. Using a Savage-Dickey density ratio, the EBF requires only the full model fit, eliminating the need to estimate multiple models with alternative random-effects structures. The method enables testing a single random effect as well as multiple, potentially correlated, random effects simultaneously. Simulation studies examine the operating characteristics of the criterion. To illustrate its breadth, the EBF is applied to several widely used models in psychological research and related fields, including generalized linear crossed mixed-effects models, spatial random-effects models, dynamic structural equation models, random-intercept cross-lagged panel models, and nonlinear mixed-effects models.

Open via your library →

Cite this paper

https://doi.org/https://doi.org/10.1111/bmsp.70048

Or copy a formatted citation

@article{fabio2026,
  title        = {{To vary or not to vary: A flexible empirical Bayes factor for testing variance components}},
  author       = {Fabio Vieira et al.},
  journal      = {British Journal of Mathematical and Statistical Psychology},
  year         = {2026},
  doi          = {https://doi.org/https://doi.org/10.1111/bmsp.70048},
}

Paste directly into BibTeX, Zotero, or your reference manager.

Flag this paper

To vary or not to vary: A flexible empirical Bayes factor for testing variance components

Flags are reviewed by the Arbiter methodology team within 5 business days.


Evidence weight

0.50

Balanced mode · F 0.40 / M 0.15 / V 0.05 / R 0.40

F · citation impact0.50 × 0.4 = 0.20
M · momentum0.50 × 0.15 = 0.07
V · venue signal0.50 × 0.05 = 0.03
R · text relevance †0.50 × 0.4 = 0.20

† Text relevance is estimated at 0.50 on the detail page — for your query’s actual relevance score, open this paper from a search result.