Skip to content

mhtopt

1.0.0

Optimal Multiple Hypothesis Testing Corrections

0packages depend
129downloads / year
50.1%test coverage
13/13checks pass

Overview

About
Maintained by Erick Rosas LopezFirst published 2026-07-291 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 1.3 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.26
50.1%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    10 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-30
    5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 196 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
100%

Downloads

129
CRAN downloads in the past year
Rank #24,662 · ~0/day · ~11/mo
Daily download trend is not available in this view yet.
12930 days
12990 days
1291 year
Compare downloads with other packages →
Also on3 r2u

Repository

Repository
1Stars
1Forks
0Open issues
0Open PRs
0Releases
18Commits
2Contributors
License MIT · 18 commits · Last activity 2026-07-20

Stars over time

2026-07-30 · 02026-08-02 · 1

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
Research and citation (1)
CITATION.cff
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-05-18

claude

Most recent: claude on 2026-05-18

Evidence
  • claude: on or before 2026-05-18 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Maintainer, Contributor
Authors (3)
Contributors (1)
Maintainer, Contributor
Package Timeline

1 release. R releases are shown for context.

  • 1.0.0Latest
    2026-07-29 · current release
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mhtopt version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

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.

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