posthocbounds: Post Hoc Bounds on True Discoveries for Gaussian Tests

Computes lower confidence bounds on the number of true discoveries in any selection of hypotheses, chosen after seeing the data, from independent one-sided Gaussian test statistics. The bounds hold simultaneously over all selections, as in the post hoc inference of Goeman and Solari (2011) <doi:10.1214/11-STS356>. The bound on all hypotheses is the smallest of the Sidak bound, closed testing with the largest p-value as local test, and bounds from counts of statistics above thresholds and from a centered statistic that gathers many weak signals. For a selection, the bound also uses a reference family of p-value levels as in Blanchard, Neuvial and Roquain (2020) <doi:10.1214/19-AOS1847>. The package reports bounds for the most significant hypotheses and a bound on the false discovery proportion for each hypothesis, and it also covers statistics that are dependent within independent blocks of bounded size.

Package details

AuthorSatoshi Nakamura [aut, cre]
MaintainerSatoshi Nakamura <s-nakamura@med.mie-u.ac.jp>
LicenseGPL (>= 2)
Version0.1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("posthocbounds")

Try the posthocbounds package in your browser

Any scripts or data that you put into this service are public.

posthocbounds documentation built on Nov. 28, 2026, 1:08 a.m.