Skip to content

Methods · Bayesian statistics · Bayesian model evidence

Nested Sampling for Bayesian Evidence

Nested sampling computes the marginal likelihood (evidence) of a Bayesian model by shrinking the prior volume step by step: a set of live points drawn from the prior is repeatedly updated by replacing the point with the lowest likelihood by a new prior draw with a higher likelihood. The evidence is the sum of likelihoods weighted by the volume removed at each step, and the discarded points double as weighted posterior samples.

중첩 샘플링은 사전분포의 부피를 단계적으로 줄여 가며 베이즈 모형의 주변우도(증거)를 계산합니다. 사전분포에서 뽑은 살아 있는 점들 가운데 우도가 가장 낮은 점을 그보다 우도가 높은 새 점으로 바꾸는 일을 되풀이하고, 각 단계에서 제거된 부피로 우도를 가중 합산합니다. 버려진 점들은 가중 사후표본으로도 쓰입니다.

How strongly do my data support a regression model, in the form of its evidence and its Bayes factor against an intercept-only model, also when errors are heavy-tailed?

회귀모형이 자료로부터 얼마나 지지를 받는지, 즉 모형의 증거와 절편만 있는 모형 대비 베이즈 인자를 오차가 두꺼운 꼬리를 가질 때도 구할 수 있을까요?

The log evidence comes with a standard error sqrt(H/N) from the information H and the number of live points. For normal errors the exact conjugate evidence is shown beside the estimate as a check. The intercept-only model is run the same way, giving a log Bayes factor with its own standard error, and the weighted samples give posterior means and intervals of the coefficients and residual SD.

When to use Nested Sampling for Bayesian Evidence

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Nested sampling with [value] live points gave a log evidence of [value] (SE [value]); the log Bayes factor of the model against the intercept-only model was [value] (SE [value]).

Related methods

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 Nested Sampling for Bayesian Evidence 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.

Method ID Q15086 · Reviewed 2026-10-25