Package: metamixr 0.1.0

Maximilian Maier

metamixr: Bayesian Meta-Analytic Mixture Modelling

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>.

Authors:Maximilian Maier [aut, cre], Trustees of Columbia University [cph]

metamixr_0.1.0.tar.gz
metamixr_0.1.0.zip(r-4.7-x86_64)metamixr_0.1.0.zip(r-4.7-arm64)metamixr_0.1.0.zip(r-4.6-x86_64)metamixr_0.1.0.zip(r-4.6-arm64)
metamixr_0.1.0.tar.gz(r-4.7-arm64)metamixr_0.1.0.tar.gz(r-4.7-x86_64)metamixr_0.1.0.tar.gz(r-4.6-arm64)metamixr_0.1.0.tar.gz(r-4.6-x86_64)
metamixr_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
metamixr/json (API)

# Install 'metamixr' in R:
install.packages('metamixr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/maxmaier42/metamix/issues

Pkgdown/docs site:https://maxmaier42.github.io

Uses libs:
  • onetbb– Parallelism library for C++
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

onetbbcpp

3.30 score 10 scripts 4 exports 48 dependencies

Last updated from:74b3605614. Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK344
linux-devel-x86_64OK363
source / vignettesOK577
linux-release-arm64OK345
linux-release-x86_64OK406
windows-devel-arm64OK402
windows-devel-x86_64OK321
windows-release-arm64OK428
windows-release-x86_64OK403
wasm-releaseOK269

Exports:re_mixsel_flexpbsel_mixsim_mix

Dependencies:abindbackportsBHcallrcheckmateclicpp11descdistributionalfarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglifecycleloomagrittrmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

Addressing multimodal posteriors
Reproducing the non-converged fit | Locating the modes | Refitting within each mode | Weighing the modes | Comparison to Other Nudge Mixtures | Final Remarks | References

Last update: 2026-10-21
Started: 2026-10-21

Application to Nudging (Mertens et al., 2022)
Data | Model specification | Convergence | Model comparison | Inspecting the selected model | Which studies belong to which component? | References

Last update: 2026-10-21
Started: 2026-10-21

Comparison between metamixr and RoBMA
Random-effects meta-analysis | One-sided selection | Two-sided selection | References

Last update: 2026-10-21
Started: 2026-10-21

Getting started
Simulating a meta-analysis | Random-effects mixture models | Adjusting for publication bias | Comparing models | Posterior predictive check | Alternative priors | References

Last update: 2026-10-21
Started: 2026-10-21