BayesGmed: An R-package for Bayesian Causal Mediation Analysis

10/16/2022
by   Belay B Yimer, et al.
0

The past decade has seen an explosion of research in causal mediation analysis. However, most analytic tools developed so far rely on frequentist methods which may not be robust in the case of small sample sizes. In this paper, we propose a Bayesian approach for causal mediation analysis based on Bayesian g-formula. We created BayesGmed, an R-package for fitting Bayesian mediation models in R. The application of the methodology (and software tool) is demonstrated by a secondary analysis of data collected as part of the MUSICIAN study, a randomised controlled trial of remotely delivered cognitive behavioural therapy (tCBT) for people with chronic pain. We tested the hypothesis that the effect of tCBT would be mediated by improvements in active coping, passive coping, fear of movement and sleep problems. The analysis of MUSICIAN data shows that tCBT has better-improved patients' self-perceived change in health status compared to treatment as usual (TAU). The adjusted log-odds of tCBT compared to TAU range from 1.491 (0.452, 2.612) when adjusted for sleep problems to 2.264 (1.063, 3.610) when adjusted for fear of movement. Higher scores of fear of movement (log-odds, -0.141 (-0.245, -0.048)), passive coping (log-odds, -0.217 (-0.351, -0.104)), and sleep problem (log-odds, -0.179 (-0.291, -0.078)) leads to lower odds of a positive self-perceived change in health status. The result of BayesGmed, however, shows that none of the mediated effects are statistically significant. We compared BayesGmed with the mediation R package, and the results were comparable. Finally, our probabilistic sensitivity analysis using the BayesGmed tool shows that the direct and total effect of tCBT persists even for a large departure in the assumption of no unmeasured confounding.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/07/2021

WiSleep: Scalable Sleep Monitoring and Analytics Using Passive WiFi Sensing

Sleep deprivation is a public health concern that significantly impacts ...
research
08/01/2022

Model-Twin Randomization (MoTR): A Monte Carlo Method for Estimating the Within-Individual Average Treatment Effect Using Wearable Sensors

Temporally dense single-person "small data" have become widely available...
research
11/29/2021

Validating CircaCP: a Generic Sleep-Wake Cycle Detection Algorithm

Sleep-wake cycle detection is a key step when extrapolating sleep patter...
research
05/18/2020

Is being an only child harmful to psychological health?: Evidence from an instrumental variable analysis of China's One-Child Policy

This paper evaluates the effects of being an only child in a family on p...
research
02/19/2020

ivmodel: An R Package for Inference and Sensitivity Analysis of Instrumental Variables Models with One Endogenous Variable

We present a comprehensive R software ivmodel for analyzing instrumental...
research
05/18/2020

Is being the only child harmful to psychological health?: Evidence from an instrumental variable analysis of China's One-Child Policy

This paper evaluates the effects of being the only child in a family on ...

Please sign up or login with your details

Forgot password? Click here to reset