R2-D2 Shrinkage Regression
The R2-D2 prior sets a beta prior directly on the model's coefficient of determination (R-squared) and then divides the implied total prior variance among the coefficients with a Dirichlet distribution, using double-exponential local priors. Researchers can thus state how much variance they expect the predictors to explain, and the prior shrinks coefficients accordingly.
R2-D2 사전분포는 모형의 결정계수(R제곱)에 직접 베타 사전분포를 두고, 그로부터 정해지는 전체 사전분산을 디리클레 분포로 계수들에 나눈 뒤 이중지수 국소 사전분포를 씁니다. 연구자는 개별 계수 대신 예측변수들이 설명하리라 기대하는 분산의 크기를 밝히고, 사전분포는 그에 맞게 계수를 축소합니다.
How much of the outcome's variance do my predictors explain, and which coefficients matter, when I place an interpretable prior on R-squared?
R제곱에 해석하기 쉬운 사전분포를 둘 때, 예측변수들은 결과 변수의 분산을 얼마나 설명하며 어떤 계수가 중요할까요?
The Gibbs sampler gives posterior means and credible intervals of the coefficients on the original scale, the posterior of the model R-squared and of the residual SD, and the posterior share of prior variance given to each coefficient.
When to use R2-D2 Shrinkage Regression
- You can state a prior belief about R-squared rather than about individual coefficients
- Many predictors with an expected sparse signal
- You want adaptive shrinkage with good behaviour in both sparse and dense settings
When to use something else
- You want R-squared summaries of an already fitted Bayesian model: use Bayesian R-Squared (Gelman-Goodrich)
- You prefer a horseshoe prior: use Bayesian Shrinkage Regression (Horseshoe Prior)
- You want a ridge-type normal prior: use Bayesian Ridge Regression
Assumptions and requirements
- Linear relationship with normal, constant-variance errors
- Predictors are standardised so that R-squared is defined on their scale
- Exchangeable Dirichlet split across coefficients
What the analysis reports
- Posterior means, SDs and credible intervals of coefficients (original scale)
- Posterior model R-squared with credible interval
- Posterior variance shares
- Residual SD and effective sample sizes
How to report it
A Bayesian regression with an R2-D2 prior (Beta([value], [value]) on R-squared) gave a posterior model R-squared of [value] (95% CrI [value], [value]) and b = [value] (95% CrI [value], [value]) for [predictor].
Related methods
- Bayesian Shrinkage Regression (Horseshoe Prior)
- Dirichlet-Laplace Shrinkage Regression
- Bayesian R-Squared (Gelman-Goodrich)
- Normal-Gamma Shrinkage Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run R2-D2 Shrinkage Regression on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.