Package: hypothesize 1.0.0

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.

Authors:Alexander Towell [aut, cre]

hypothesize_1.0.0.tar.gz
hypothesize_1.0.0.zip(r-4.7-any)hypothesize_1.0.0.zip(r-4.6-any)hypothesize_1.0.0.zip(r-4.5-any)
hypothesize_1.0.0.tgz(r-4.6-any)hypothesize_1.0.0.tgz(r-4.5-any)
hypothesize_1.0.0.tar.gz(r-4.7-any)hypothesize_1.0.0.tar.gz(r-4.6-any)
hypothesize_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
hypothesize/json (API)

# Install 'hypothesize' in R:
install.packages('hypothesize', repos = c('https://queelius.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/queelius/hypothesize/issues

Pkgdown/docs site:https://queelius.github.io

On CRAN:

Conda:

hypothesis-testinglikelihoodlikelihood-ratio-teststatisticswald-test

4.90 score 2 stars 6 scripts 402 downloads 17 exports 0 dependencies

Last updated from:d9fb3638e1. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK130
source / vignettesOK173
linux-release-x86_64OK119
macos-release-arm64OK82
macos-oldrel-arm64OK105
windows-develOK73
windows-releaseOK72
windows-oldrelOK68
wasm-releaseOK115

Exports:adjust_pvalcomplement_testdoffisher_combinehypothesis_testintersection_testinvert_testis_significant_atlowerlrtpvalscore_testtest_statunion_testupperwald_testz_test

Dependencies:

Introduction to hypothesize
What is hypothesize? | The Hypothesis Testing Interface | Primitive Tests | The Z-Test: Simplest Case | The Wald Test: General Parameters | The Likelihood Ratio Test: Comparing Models | Duality: Tests and Confidence Intervals | The Closure Property: Combining Tests | Higher-Order Functions: Transforming Tests | Extending the Package | Summary

Last update: 2026-03-16
Started: 2025-12-04

Boolean Algebra of Hypothesis Tests
The Idea | The Trinity: Three Ways to Test a Hypothesis | Boolean Algebra: AND, OR, NOT | NOT: The Complement | AND: The Intersection | OR: The Union (via De Morgan) | The Full Algebra | Test-Confidence Duality | Multivariate Tests | The Design as an Algebra

Last update: 2026-02-27
Started: 2026-02-27