MetaStan-package: The 'MetaStan' package.

Description Details Author(s) References


Fitting Bayesian meta-analysis models via Rstan.


To fit meta-analysis models using frequentist methods, there are many R packages available including 'metafor'. On the other hand, Bayesian estimation methods such as Markov chain Monte Carlo (MCMC) are very attractive for meta-analysis, especially because they can be used to fit more complicated models. These include binomial-normal hierarchical models and beta-binomial models which are based on the exact distributional assumptions unlike (commonly used) normal-normal hierarchical model. Another advantage of Bayesian methods to be able to use informative prior distributions for example to regularize heterogeneity estimates in case of low number of studies. Thus, we developed 'MetaStan' which uses Stan (a modern MCMC engine) to fit several pairwise meta-analysis models including binomial-normal hierarchical model and beta-binomial model. This package is also the accompanying package of Guenhan et al (2018).


Burak Kuersad Guenhan <>


Stan Development Team (2018). RStan: the R interface to Stan. R package version 2.17.3.

Günhan, B and Röver, C and Friede, T (2018). Meta-analysis of few studies involving rare events. E-print Archive.

MetaStan documentation built on April 14, 2020, 7:15 p.m.