mhtopt: Optimal Multiple Hypothesis Testing Corrections

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.

Version: 1.0.0
Imports: stats
Suggests: testthat (≥ 3.0.0), haven, fixest, estimatr, knitr, rmarkdown
Published: 2026-07-29
DOI: 10.32614/CRAN.package.mhtopt (may not be active yet)
Author: Davide Viviano [aut], Kaspar Wuthrich [aut], Paul Niehaus [aut], Erick Rosas Lopez [cre, ctb]
Maintainer: Erick Rosas Lopez <erosaslpez at ucsd.edu>
BugReports: https://github.com/dviviano/mhtopt/issues
License: MIT + file LICENSE
URL: https://github.com/dviviano/mhtopt
NeedsCompilation: no
Language: en-US
Citation: mhtopt citation info
Materials: README, NEWS
CRAN checks: mhtopt results

Documentation:

Reference manual: mhtopt.html , mhtopt.pdf
Vignettes: Optimal Multiple Hypothesis Testing (source, R code)

Downloads:

Package source: mhtopt_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: mhtopt_1.0.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): mhtopt_1.0.0.tgz, r-oldrel (arm64): mhtopt_1.0.0.tgz, r-release (x86_64): mhtopt_1.0.0.tgz, r-oldrel (x86_64): mhtopt_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mhtopt to link to this page.