Repository navigation
hypothesize 0.10.0
SICP-inspired redesign with a consistent API for hypothesis testing.
Highlights
- Data abstraction: Tests are S3 objects with accessor functions (
pval(),test_stat(),dof()) - Closure property: Combining tests yields tests (
fisher_combine()) - Higher-order functions: Transform tests into new tests (
adjust_pval())
Test types
z_test()— one-sample z-testwald_test()— general parameter testinglrt()— likelihood ratio test for nested modelsfisher_combine()— combine independent p-valuesadjust_pval()— multiple testing corrections (Bonferroni, BH, etc.)