To Vary or Not To Vary: A Flexible Empirical Bayes Factor for Testing Variance Components
Fabio Vieira, Hongwei Zhao, Joris Mulder

TL;DR
This paper introduces a flexible empirical Bayes factor for testing the presence of random effects in various models, avoiding manual prior specification and multiple model fitting, thus simplifying the testing process.
Contribution
It proposes a novel empirical Bayes factor that tests all random effects simultaneously without needing external priors or multiple model fits.
Findings
Effective in synthetic data simulations
Applicable to diverse complex models
Eliminates need for multiple model fitting
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpatial and Panel Data Analysis · Psychometric Methodologies and Testing · Regional Economics and Spatial Analysis
