Skip to content

harmonicmeanp

3.0.1

Harmonic Mean p-Values and Model Averaging by Mean Maximum Likelihood

3packages depend
9.6Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Daniel WilsonFirst published 2017-07-195 releasesCRAN page ↗

The harmonic mean p-value (HMP) test combines p-values and corrects for multiple testing while controlling the strong-sense family-wise error rate. It is more powerful than common alternatives including Bonferroni and Simes procedures when combining large proportions of all the p-values, at the cost of slightly lower power when combining small proportions of all the p-values. It is more stringent than controlling the false discovery rate, and possesses theoretical robustness to positive correlations between tests and unequal weights. It is a multi-level test in the sense that a superset of one or more significant tests is certain to be significant and conversely when the superset is non-significant, the constituent tests are certain to be non-significant. It is based on MAMML (model averaging by mean maximum likelihood), a frequentist analogue to Bayesian model averaging, and is theoretically grounded in generalized central limit theorem. For detailed examples type vignette("harmonicmeanp") after installation. Version 3.0 addresses errors in versions 1.0 and 2.0 that led function p.hmp to control the familywise error rate only in the weak sense, rather than the strong sense as intended.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.5 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
1
Dependencies · direct
Check history
  • NOTE2026-06-27
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-21
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
100%

Downloads

9.6K
CRAN downloads in the past year
Rank #3,564 · ~26/day · ~797/mo
Daily download trend is not available in this view yet.
46430 days
2.7K90 days
9.6K1 year
Compare downloads with other packages →
Also on145 r2u18 autocran4.5K conda_forge61 c2d4u

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
Imports (0)
none
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
3direct
1indirect

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 1.0 to 3.0.1
Package Timeline

5 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
  • 3.0.1Latest
    2024-01-17 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 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
  • 3.0
    2019-08-19 · diff ↗
  • 2.0
    2019-07-06 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1
    2019-01-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0
    2017-07-19
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-07-19
Total releases
5 / 9 yrs
License
GPL-3 OSI
Download size
531 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("harmonicmeanp")

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 harmonicmeanp version 3.0.1 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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