Bayesian R-Squared (Gelman-Goodrich)
Bayesian R-squared is computed for every posterior draw as the variance of the predicted values divided by that variance plus the residual variance, giving a posterior distribution of explained variance that always lies between 0 and 1.
베이즈 결정계수는 사후 표본마다 예측값의 분산을 예측값 분산과 잔차 분산의 합으로 나누어 구하므로, 늘 0과 1 사이에 있는 설명 분산의 사후분포를 줍니다.
How much variance does my Bayesian regression explain, and how uncertain is that figure?
베이즈 회귀모형이 분산을 얼마나 설명하는지, 그리고 그 값이 얼마나 불확실한지 어떻게 알 수 있나요?
For each posterior draw the predicted and residual variances are combined into an R-squared, so you get a median and a credible interval instead of one number. Because the denominator is predicted plus residual variance, the value cannot exceed 1 even with strong priors.
When to use Bayesian R-Squared (Gelman-Goodrich)
- Reporting explained variance for a Bayesian linear regression
- You want an interval for R-squared, not a single value
- Comparing models fitted with informative priors where classical R-squared can mislead
When to use something else
- You need out-of-sample predictive accuracy: use Information Criteria from Pointwise Log-Likelihood (WAIC, PSIS-LOO, DIC)
- You only need the classical fit statistic of an ordinary regression: use Bayesian Linear Regression output or OLS
Assumptions and requirements
- Normal linear model with independent errors
- Posterior computed under the stated prior (flat or conjugate normal-inverse-gamma)
- Enough rows to estimate all coefficients
What the analysis reports
- Posterior median, mean and SD of R-squared
- Credible interval and quantiles
- Classical and adjusted R-squared for comparison
How to report it
The Bayesian R-squared of the model had a posterior median of [value], 95% CrI [[value], [value]] (classical R-squared = [value]).
Related methods
- Bayesian Linear Regression
- Information Criteria from Pointwise Log-Likelihood (WAIC, PSIS-LOO, DIC)
- Bayesian Model Averaging for Linear Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Bayesian R-Squared (Gelman-Goodrich) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.