Skip to content

Shiny app to visualize different aspects of the R2-D2 prior distribution (Zhang et al 2020)

Notifications You must be signed in to change notification settings

sor16/R2D2_shiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

R2-D2 prior distribution visualization

The R2-D2 prior, presented by Zhang et al, provides an elegant way to define a prior on regression coefficients jointly by supplying a prior on $R^2$, the coefficient of variation, and then distributing through to the coefficient through a Dirichlet distribution. In addition to being an intuitive way to define a prior in a regression setting, an appealing property of the R2-D2 is that it can provide shrinkage. The aim of this Shiny app is to visualize how different choices of parameters to the prior distribution affects the resulting prior on the regression coefficients in an interactive way.

References

Yan Dora Zhang, Brian P. Naughton, Howard D. Bondell & Brian J. Reich (2022) Bayesian Regression Using a Prior on the Model Fit: The R2-D2 Shrinkage Prior, Journal of the American Statistical Association, 117:538, 862-874, DOI: 10.1080/01621459.2020.1825449

About

Shiny app to visualize different aspects of the R2-D2 prior distribution (Zhang et al 2020)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages