贝叶斯概率
计算机科学
先验概率
调解
贝叶斯统计
协变量
数据挖掘
机器学习
贝叶斯推理
人工智能
数据科学
政治学
法学
作者
Kevin da Silva Castanheira,Nika Zahedi,Milica Miočević
出处
期刊:Psychological Trauma: Theory, Research, Practice, and Policy
[American Psychological Association]
日期:2024-01-01
卷期号:16 (1): 149-157
摘要
Bayesian methods are growing in popularity among social scientists, due to the significant advantages offered to researchers: namely, intuitive probabilistic interpretations of results. Here, we highlight the benefits of using the Bayesian framework in research where collecting large samples is challenging, specifically: the absence of a requirement of large samples for convergence, and the possibility of building on prior research by including informative priors.We demonstrate how to fit a single mediator model and impute missing data in the Bayesian framework using the software JAGS via the R package rjags. To this end, we use open-access data to fit a mediation model and calculate the posterior probability that the mediated effect is above a specified criterion.We replicate the results of the original paper in the Bayesian framework and provide annotated code for mediation analysis in rjags, as well as two additional R packages for Bayesian analysis (brms and rstan) and two additional software packages (SAS and Mplus).We provide guidelines for reporting and interpreting results obtained in the Bayesian framework, and two extensions to the mediation model are discussed: adding covariates to the model and selecting informative priors. (PsycInfo Database Record (c) 2023 APA, all rights reserved).
科研通智能强力驱动
Strongly Powered by AbleSci AI