Skip to main navigation Skip to search Skip to main content

Software application profile: Bayesian estimation of inverse variance weighted and MR-Egger models for two-sample Mendelian randomization studies

Okezie Uche-Ikonne*, Frank Dondelinger, Tom Palmer

*Corresponding author for this work

Research output: Contribution to journalArticle (Academic Journal)peer-review

3 Citations (Scopus)

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].
Original languageEnglish
Pages (from-to)43-49
Number of pages7
JournalInternational Journal of Epidemiology
Volume50
Issue number1
Early online date8 Dec 2020
DOIs
Publication statusPublished - 1 Feb 2021

Fingerprint

Dive into the research topics of 'Software application profile: Bayesian estimation of inverse variance weighted and MR-Egger models for two-sample Mendelian randomization studies'. Together they form a unique fingerprint.

Cite this