Fits Bayesian random-effects meta-analytic mixture models in which the true study effects are drawn from a mixture of normal components with component-specific means and between-study heterogeneity. The mixture model can be combined with step-function selection models (Vevea and Hedges, 1995, <doi:10.1007/BF02294384>) to adjust for publication bias, either with one selection model for all studies or with separate selection models for groups of studies. Models are estimated by Hamiltonian Monte Carlo using 'rstan' and returned as 'stanfit' objects, so posterior summaries, posterior predictive checks and marginal likelihoods for model comparison (via 'bridgesampling') are readily available. Also includes a data simulator and the nudging meta-analysis data of Mertens et al. (2022) <doi:10.1073/pnas.2107346118>.
| Version: | 0.1.0 |
| Depends: | R (≥ 3.5) |
| Imports: | methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.26.0), rstantools (≥ 2.4.0), stats |
| LinkingTo: | BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.26.0), StanHeaders (≥ 2.26.0) |
| Suggests: | testthat (≥ 3.0.0), bridgesampling, knitr, rmarkdown |
| Published: | 2026-10-21 |
| DOI: | 10.32614/CRAN.package.metamixr (may not be active yet) |
| Author: | Maximilian Maier |
| Maintainer: | Maximilian Maier <maximilianmaier0401 at gmail.com> |
| BugReports: | https://github.com/MaxMaier42/metamix/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/MaxMaier42/metamix, https://maxmaier42.github.io/metamix/ |
| NeedsCompilation: | yes |
| SystemRequirements: | GNU make |
| Language: | en-GB |
| Materials: | README, NEWS |
| CRAN checks: | metamixr results |
| Reference manual: | metamixr.html , metamixr.pdf |
| Vignettes: |
Comparison between metamixr and RoBMA (source) Getting started (source) Addressing multimodal posteriors (source) Application to Nudging (Mertens et al., 2022) (source) |
| Package source: | metamixr_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=metamixr to link to this page.