The R2D2 Prior for Generalized Linear Mixed Models

Eric Yanchenko, Howard D. Bondell, Brian J. Reich
11/21/2021
stat.ME
bayesian

Official code: eyanchenko/r2d2glmm (3 stars, HTML, last commit 2023-06-27).

Abstract

In Bayesian analysis, the selection of a prior distribution is typically done by considering each parameter in the model. While this can be convenient, in many scenarios it may be desirable to place a prior on a summary measure of the model instead.

Show full abstract

In this work, we propose a prior on the model fit, as measured by a Bayesian coefficient of determination ($R^2)$, which then induces a prior on the individual parameters. We achieve this by placing a beta prior on $R^2$ and then deriving the induced prior on the global variance parameter for generalized linear mixed models. We derive closed-form expressions in many scenarios and present several approximation strategies when an analytic form is not possible and/or to allow for easier computation. In these situations, we suggest approximating the prior by using a generalized beta prime distribution and provide a simple default prior construction scheme. This approach is quite flexible and can be easily implemented in standard Bayesian software. Lastly, we demonstrate the performance of the method on simulated and real-world data, where the method particularly shines in high-dimensional settings, as well as modeling random effects.

View on arXivView PDF

Code Implementations(1)

30HTML, RNov 11, 20213 years agoNOASSERTION

Similar Papers

Cite this paper

@article{yanchenko2021rd,
  title  = {The R2D2 Prior for Generalized Linear Mixed Models},
  author = {Eric Yanchenko and Howard D. Bondell and Brian J. Reich},
  year   = {2021},
  eprint = {2111.10718},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.10718}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.10718.svg)](https://codeofpaper.com/paper/2111.10718)

Discussion