Skip to content

Methods · Bayesian statistics · MCMC algorithms

Reversible-Jump MCMC (Regression Variable Selection)

Reversible-jump MCMC is a Markov chain Monte Carlo method that moves between models with different numbers of parameters, so the number of parameters itself is treated as unknown. Here each step can add or remove one predictor of a linear regression, with an acceptance rule that keeps the chain in balance across dimensions, and the time spent in each model estimates its posterior probability.

모수의 개수가 서로 다른 모형 사이를 옮겨 다니는 MCMC 방법으로, 모수의 개수 자체를 미지수로 다룹니다. 여기서는 선형회귀의 예측변수를 한 번에 하나씩 넣거나 빼며, 차원이 바뀌어도 균형이 유지되는 채택 규칙을 쓰고 각 모형에 머문 비율로 사후확률을 추정합니다.

Which predictors belong in my regression, how many are there likely to be, and how confident can I be about each?

어떤 예측변수가 회귀모형에 들어가야 하고, 그 수는 몇 개쯤이며, 각 변수에 대해 얼마나 확신할 수 있을까요?

The sampler alternates a birth or death move, which proposes adding a new coefficient drawn near its likely value or dropping an existing one and accepts it with Green's rule, with ordinary Gibbs updates of the coefficients, intercept and error variance within the current model. Visit frequencies give posterior model probabilities, inclusion probabilities for each predictor and the posterior distribution of the number of predictors. With up to 12 predictors the exact posterior is computed as well, so the sampler can be checked.

When to use Reversible-Jump MCMC (Regression Variable Selection)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Reversible-jump MCMC over [value] candidate predictors ([value] retained iterations) gave the highest posterior probability to the model [value] (posterior probability [value]); inclusion probabilities were [value] for x1 and [value] for x2.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 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 Reversible-Jump MCMC (Regression Variable Selection) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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.

Method ID Q15124 · Reviewed 2026-10-25