Skip to content

Methods · Mediation & moderation · Mediation

Bayesian Mediation Analysis

Bayesian mediation analysis fits the mediator and outcome regressions jointly by Markov chain Monte Carlo and summarises the posterior distribution of the indirect effect a times b, the direct effect and the proportion mediated.

베이즈 매개분석은 매개변수 회귀와 결과 회귀를 마르코프 연쇄 몬테카를로로 함께 적합해 간접효과 a×b, 직접효과, 매개 비율의 사후분포를 요약하는 방법입니다.

Does training increase performance through motivation, and what is the probability that the indirect effect is positive?

교육이 동기를 거쳐 성과를 높이는지, 그리고 간접효과가 양수일 확률이 얼마인지 알고 싶어요.

Fit a regression of the mediator on the predictor and a regression of the outcome on the predictor and mediator in one Bayesian model, then compute a times b for every posterior draw. The credible interval of the indirect effect needs no normality assumption for the product, and the share of draws above zero gives the posterior probability of a positive indirect effect.

When to use Bayesian Mediation Analysis

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The Bayesian mediation model gave a = [value] (95% CrI [value] to [value]) and b = [value] (95% CrI [value] to [value]); the indirect effect was [value] (95% CrI [value] to [value]), with posterior probability [value] of being positive.

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 Bayesian Mediation Analysis on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, a treatment indicator 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.

Method ID Q43005 · Reviewed 2026-10-25