To Vary or Not To Vary: A Flexible Empirical Bayes Factor for Testing Variance Components

📅 2025-08-02
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Classical variance-component tests for random effects suffer from boundary issues due to non-negativity constraints on variance parameters, leading to invalid asymptotic distributions and poor inferential performance. Method: We propose a flexible empirical Bayes factor (EBF) approach that tests the joint nullity of all random effects—thereby circumventing boundary problems—and employs an empirical Bayes framework to estimate the random-effects distribution automatically, without subjective prior specification. Leveraging the Savage–Dickey density ratio, EBF conducts hypothesis testing within a single full model, avoiding multi-model fitting and prior sensitivity. Contribution/Results: EBF is universally applicable to generalized linear mixed models, spatial random-effects models, dynamic structural equation models, and nonlinear mixed-effects models. Systematic evaluation on synthetic data demonstrates its high statistical power and robustness, substantially enhancing flexibility, generality, and practicality in detecting random effects within complex modeling frameworks.

Technology Category

Application Category

📝 Abstract
Random effects are the gold standard for capturing structural heterogeneity in data, such as spatial dependencies, individual differences, or temporal dependencies. However, testing for their presence is challenging, as it involves a variance component constrained to be non-negative -- a boundary problem. This paper proposes a flexible empirical Bayes factor (EBF) for testing random effects. Rather than testing whether a variance component is zero, the EBF tests the equivalent hypothesis that all random effects are zero. Crucially, it avoids manual prior specification based on external knowledge, as the distribution of random effects is part of the model's lower level and estimated from the data -- yielding an "empirical" Bayes factor. The EBF uses a Savage-Dickey density ratio, allowing all random effects to be tested using only the full model fit. This eliminates the need to fit multiple models with different combinations of random effects. Simulations on synthetic data evaluate the criterion's general behavior. To demonstrate its flexibility, the EBF is applied to generalized linear crossed mixed models, spatial random effects models, dynamic structural equation models, random intercept cross-lagged panel models, and nonlinear mixed effects models.
Problem

Research questions and friction points this paper is trying to address.

Testing variance components for random effects presence
Avoiding manual prior specification in Bayes factor
Flexible application across diverse statistical models
Innovation

Methods, ideas, or system contributions that make the work stand out.

Flexible empirical Bayes factor for random effects
Avoids manual prior specification using data
Uses Savage-Dickey ratio for full model testing
🔎 Similar Papers
No similar papers found.
F
Fabio Vieira
Department of Methodology and Statistics, Tilburg University
H
Hongwei Zhao
Unit of Quantitative Psychology and Individual Differences, KU Leuven
Joris Mulder
Joris Mulder
Associate Professor, Tilburg University
Bayesian statisticsnetwork modelingGaussian processessocial science research