Uche-Ikonne, O. and Dondelinger, F. and Palmer, T. (2021) Software Application Profile : Bayesian estimation of inverse variance weighted and MR-Egger models for two-sample Mendelian randomization studies-mrbayes. International Journal of Epidemiology, 50 (1). pp. 43-49. ISSN 0300-5771
Full text not available from this repository.Abstract
Motivation: We present our package, mrbayes, for the open source software environment R. The package implements Bayesian estimation for inverse variance weighted (IVW) and MR-Egger models, including the radial MR-Egger model, for summary-level data in Mendelian randomization (MR) analyses. Implementation: We have implemented a choice of prior distributions for the model parameters, namely; weakly informative, non-informative, a joint prior for the MR-Egger model slope and intercept, and an informative prior (pseudo-horseshoe prior), or the user can specify their own prior distribution. General features: Users have the option of fitting the models using either JAGS or Stan software packages with similar prior distributions; the option for the user-defined prior distribution is only in our JAGS functions. We show how to use the package through an applied example investigating the causal effect of body mass index (BMI) on acute ischaemic stroke. Availability: The package is freely available, under the GNU General Public License v3.0, on GitHub [https://github.com/okezie94/mrbayes] or CRAN [https://CRAN.R-project.org/package=mrbayes].