Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2009 Dec;14(4):301-22.
doi: 10.1037/a0016972.

Bayesian mediation analysis

Affiliations

Bayesian mediation analysis

Ying Yuan et al. Psychol Methods. 2009 Dec.

Abstract

In this article, we propose Bayesian analysis of mediation effects. Compared with conventional frequentist mediation analysis, the Bayesian approach has several advantages. First, it allows researchers to incorporate prior information into the mediation analysis, thus potentially improving the efficiency of estimates. Second, under the Bayesian mediation analysis, inference is straightforward and exact, which makes it appealing for studies with small samples. Third, the Bayesian approach is conceptually simpler for multilevel mediation analysis. Simulation studies and analysis of 2 data sets are used to illustrate the proposed methods. (PsycINFO Database Record (c) 2009 APA, all rights reserved).

PubMed Disclaimer

Figures

Figure 1
Figure 1
Diagram of the single-level mediation model.
Figure 2
Figure 2
Panel 1a–c show the prior, likelihood and posterior under weak prior information (µ ~ N(6, 1002)). In this case, the prior information has negligible effect on the posterior distribution. Panel 2a–c show the prior, likelihood and posterior under moderate prior information (µ ~ N(6, 62)). The posterior distribution is shrunk toward the prior distribution. Panel 3a–c show the prior, likelihood and posterior under strong prior information (µ ~ N(6, 22)). In this case, the prior information has strong effect on the posterior distribution. The likelihood is that x¯ ~ N(16, 42).
Figure 3
Figure 3
Informative normal prior distributions for α and β when the mediated effect size is zero, small, medium and large in the single level mediation simulation study.
Figure 4
Figure 4
Posterior distribution of the mediated effect (left panel) and the corresponding normal quantile-quantile plot (right panel) for the Bayesian single-level mediation analysis of the firefighter health promotion data.
Figure 5
Figure 5
Trace plot (a) and the Gelman-Rubin convergence statistic R (b) for posterior samples of the mediated effect αβ for the Bayesian single-level mediation analysis of the firefighter health promotion data.
Figure 6
Figure 6
Diagram of the two-level mediation model.
Figure 7
Figure 7
Trace plot of posterior samples of the indirect effect ab, total effect c and relative average indirect effect ab/c for the example of the multilevel mediation model.
Figure 8
Figure 8
The Gelman-Rubin convergence statistic R for the indirect effect ab, total effect c and relative average indirect effect ab/c in the example of the multilevel mediation model.

Similar articles

Cited by

References

    1. Aroian LA. The probability function of the product of two normally distributed variables. Annals of Mathematical Statistics. 1947;18:265–271.
    1. Ashby D. Bayesian statistics in medicine: A 25 year review. Statistics In Medicine. 2006;25:3589–3631. - PubMed
    1. Barcikowski RS. Statistical power with group mean as the unit of analysis. Journal of Educational Statistics. 1981;6:267–285.
    1. Baron RM, Kenny DA. The moderator mediator variable distinction in social psychological research: Conceptual, strategic, and statistical considerations. Journal of Personality and Social Psychology. 1986;51:1173–1182. - PubMed
    1. Bauer DJ, Preacher KJ, Gil KM. Conceptualizing and testing random indirect effects and moderated mediation in multilevel models: new procedures and recommendations. Psychological Methods. 2006;11:142–163. - PubMed

Publication types