Bayesian Shrinkage Regression (Horseshoe Prior)
Bayesian horseshoe regression is a linear regression whose coefficients receive a global-local shrinkage prior that pulls small effects strongly towards zero while leaving large effects nearly unshrunk.
베이즈 호스슈 회귀는 계수마다 전역·국소 축소 사전분포를 주어 작은 효과는 0 쪽으로 강하게 당기고 큰 효과는 거의 그대로 두는 선형회귀입니다.
I have many candidate predictors but expect only a few to matter; how can I fit a Bayesian regression that shrinks the irrelevant ones and tells me which predictors are supported?
후보 설명변수는 많은데 실제로 중요한 것은 몇 개뿐일 것 같습니다. 쓸모없는 변수는 줄이고 어떤 변수가 지지되는지 알려 주는 베이즈 회귀는 어떻게 하나요?
Fit a linear regression with a horseshoe or regularised horseshoe prior, in which each coefficient has its own local scale and all share a global scale set from the expected number of relevant predictors. Report posterior means with credible intervals, the shrinkage factor of each coefficient, and check R-hat, effective sample size and divergent transitions.
When to use Bayesian Shrinkage Regression (Horseshoe Prior)
- Many predictors are available and the true signal is expected to be sparse.
- You want uncertainty for every coefficient rather than a single selected model.
- Lasso-type shrinkage biases the large effects you care about.
When to use something else
- Predictors are few and all of interest; use ordinary Bayesian or least-squares regression.
- You need explicit posterior inclusion probabilities for each predictor; use spike-and-slab variable selection.
Assumptions and requirements
- The outcome is linear in the predictors with normal, constant-variance errors.
- The global scale reflects a sensible prior guess of how many predictors are relevant.
- The sampler has converged (R-hat near 1, adequate ESS, no or few divergences).
What the analysis reports
- Posterior means, SDs and credible intervals on the original scale
- Shrinkage factor kappa and a selection flag per predictor
- Global scale tau and effective number of nonzero coefficients
- R-hat, ESS, divergences and an OLS column for comparison
How to report it
A Bayesian linear regression with a horseshoe prior (tau0 = [value]; [value] chains x [value] draws, max R-hat = [value]) selected [value] of [value] predictors; [predictor] had b = [value], 95% CrI [[value], [value]].
Related methods
- Stochastic Search Variable Selection (Spike-and-Slab Gibbs)
- Bayesian Generalized Linear Model
- Lasso 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 Bayesian Shrinkage Regression (Horseshoe Prior) 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.