mhtopt
1.0.0Optimal Multiple Hypothesis Testing Corrections
Overview
Implements the optimal multiple hypothesis testing correction from Viviano, Wuthrich, and Niehaus (2026) doi:10.48550/arXiv.2104.13367. Derives the optimal per-test significance level from the economic incentives of research production, providing a correction that lies between Bonferroni (too conservative) and unadjusted (too permissive). Supports two cost models: a Linear one calibrated to United States Food and Drug Administration (FDA) clinical-trial costs, and a Cobb-Douglas one calibrated to Abdul Latif Jameel Poverty Action Lab (J-PAL) project costs. Reports optimal, Bonferroni, Holm, Benjamini-Hochberg (BH), and unadjusted results side by side.
Install
Health
- OK2026-08-0512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0110 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-305 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- References docs
- 100%
Downloads
Repository
Stars over time
Forks over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/dviviano/mhtopt on 2026-08-16.
Development tooling
Uses AI-assisted development tooling (declared in repo)
Earliest detected marker: claude on 2026-05-18
Most recent: claude on 2026-05-18
- claude: on or before 2026-05-18 · evidence B, D
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
1 release. R releases are shown for context.
- 1.0.0Latest2026-07-29 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-07-29
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 38 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mhtopt")The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.