Bayesian Meta-Analysis with Publications Bias and P-Hacking
Overview
Tools for Bayesian estimation of meta-analysis models that account for publications bias or p-hacking. For publication bias, this package implements a variant of the p-value based selection model of Hedges (1992) doi:10.1214/ss/1177011364 with discrete selection probabilities. It also implements the mixture of truncated normals model for p-hacking described in Moss and De Bin (2019) arXiv:1911.12445.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) ma.Rd:62: Lost braces
62 | \item{yi}{Numeric vector of length code{k} with observed effect size
| ^
checkRd: (-1) ma.Rd:65: Lost braces
65 | \item{vi}{Numeric vector of length code{k} with sampling variances.}
| ^NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Jonas Moss <jonas.gjertsen@gmail.com>’ The Description field contains <arXiv:1911.12445>. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- NOTE13 NOTE2026-07-29
- ERROR12 NOTE, 1 ERROR2026-07-27
- NOTE14 NOTE2026-04-22
- ERROR13 NOTE, 1 ERROR2026-04-18
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 19 (5 internal)includes a package overview page
- Examples that run
- 71%5 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 81%
- Return-value docs
- 100%
- Help pages citing references
- 58%
Downloads
Dependencies
Installing publipha adds 49 packages (23 with compiled code, 43 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, loo 2.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.1.2Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.1.12020-01-15 · diff ↗
- 0.1.02020-01-08
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-01-08
- Total releases
- 3 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 42 KB / 5 files
- Download size
- 111 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("publipha")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.