hypothesize: Consistent API for Hypothesis Testing

Provides a consistent API for hypothesis testing built on principles from 'Structure and Interpretation of Computer Programs': data abstraction, closure (combining tests yields tests), and higher-order functions (transforming tests). Implements z-tests, Wald tests, likelihood ratio tests, Fisher's method for combining p-values, and multiple testing corrections. Designed for use by other packages that want to wrap their hypothesis tests in a consistent interface.

Version: 0.11.0
Depends: R (≥ 3.5.0)
Imports: stats
Suggests: testthat (≥ 3.0.0), rmarkdown, knitr
Published: 2026-02-28
DOI: 10.32614/CRAN.package.hypothesize
Author: Alexander Towell ORCID iD [aut, cre]
Maintainer: Alexander Towell <lex at metafunctor.com>
BugReports: https://github.com/queelius/hypothesize/issues
License: MIT + file LICENSE
URL: https://github.com/queelius/hypothesize, https://queelius.github.io/hypothesize/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: hypothesize results

Documentation:

Reference manual: hypothesize.html , hypothesize.pdf
Vignettes: Boolean Algebra of Hypothesis Tests (source, R code)
Introduction to hypothesize (source, R code)

Downloads:

Package source: hypothesize_0.11.0.tar.gz
Windows binaries: r-devel: hypothesize_0.10.0.zip, r-release: hypothesize_0.10.0.zip, r-oldrel: hypothesize_0.10.0.zip
macOS binaries: r-release (arm64): hypothesize_0.10.0.tgz, r-oldrel (arm64): hypothesize_0.10.0.tgz, r-release (x86_64): hypothesize_0.10.0.tgz, r-oldrel (x86_64): hypothesize_0.10.0.tgz
Old sources: hypothesize archive

Reverse dependencies:

Reverse suggests: compositional.mle

Linking:

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