Skip to content

publipha

0.1.2

Bayesian Meta-Analysis with Publications Bias and P-Hacking

0packages depend
2.8Kdownloads / year
83.2%test coverage
0/13checks pass

Overview

About
Maintained by Jonas MossFirst published 2020-01-083 releasesCRAN page ↗

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

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 11.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.28
83.2%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-07-29
    0 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-27
    0 OK · 12 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    0 OK · 13 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 263 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
71%
Documented parameters
81%
Return-value docs
100%
References docs
58%

Downloads

2.8K
CRAN downloads in the past year
Rank #11,552 · ~8/day · ~234/mo
Daily download trend is not available in this view yet.
32330 days
85490 days
2.8K1 year
Compare downloads with other packages →
Also on405 r2u6 autocran48 c2d4u

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (3)
R >= 3.6.0methodsRcpp
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.2Latest
    2023-04-04 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.1
    2020-01-15 · diff ↗
  • 0.1.0
    2020-01-08
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("publipha")

CRAN DOI

https://doi.org/10.32614/CRAN.package.publipha

BibTeX, derived from DESCRIPTION

@Manual{publipha,
  title  = {publipha: Bayesian Meta-Analysis with Publications Bias and P-Hacking},
  author = {Moss, Jonas and Trustees of Columbia University},
  year   = {2023},
  note   = {R package version 0.1.2},
  doi    = {10.32614/CRAN.package.publipha},
  url    = {https://CRAN.R-project.org/package=publipha}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorypublipha,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {publipha} version 0.1.2},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/publipha},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for publipha version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/publipha

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for publipha version 0.1.2
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/publipha
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/publipha.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy