Savage-Dickey Density Ratio Bayes Factor
The Savage-Dickey density ratio gives the Bayes factor for a point null nested in a larger model as the posterior density of the tested parameter at the null value divided by its prior density there.
사비지-디키 밀도비는 큰 모형 안에 포함된 점 귀무가설의 베이즈 인자를, 검정하는 모수의 귀무값에서의 사후밀도를 같은 값에서의 사전밀도로 나눈 값으로 구합니다.
How strongly do my data support a regression coefficient being exactly zero (or another value) versus being free?
회귀계수가 정확히 0(또는 특정 값)이라는 가설을 자료가 자유로운 계수에 비해 얼마나 강하게 지지할까요?
A Gibbs sampler draws from the posterior of the full regression model, and the posterior density at the null value is averaged over the draws of the conditional normal distribution (Rao-Blackwellisation). Dividing by the prior density at the null gives BF01; values above 1 favour the null and values below 1 favour the alternative. Several coefficients can be tested jointly.
When to use Savage-Dickey Density Ratio Bayes Factor
- You want a Bayes factor for one or more regression coefficients in a normal linear model
- You want evidence in favour of a null effect, not only against it
- You can state a sensible prior scale for the tested coefficients
When to use something else
- You want to compare two non-nested models: use Bridge Sampling Marginal Likelihood
- You want a default Bayes factor for a two-group mean difference: use Bayesian t Test (Bayes Factor)
- You only need credible intervals for the coefficients: use Bayesian Linear Regression
Assumptions and requirements
- Normal errors with constant variance
- Independent normal priors on the coefficients and an inverse-gamma prior on the variance
- The prior for the nuisance parameters does not depend on the tested coefficients
- The Bayes factor depends on the stated prior scale
What the analysis reports
- BF01 and BF10 with log BF10
- Posterior and prior densities at the null value
- Relative Monte Carlo error of the Bayes factor
- Posterior coefficient summaries with R-hat and ESS
How to report it
A Savage-Dickey density ratio test of H0: [predictor] = 0 gave BF01 = [value] (BF10 = [value]; prior SD = [value] outcome SDs per predictor SD), indicating [value]-fold support for the null.
Related methods
- Bayesian Linear Regression
- Fractional Bayes Factor for Linear Models
- Intrinsic Bayes Factor for Linear Models
- Bridge Sampling Marginal Likelihood
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 Savage-Dickey Density Ratio Bayes Factor 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.