Skip to content

v0.10.0: SICP-inspired redesign

Latest

Choose a tag to compare

@queelius queelius released this 25 Feb 03:41
· 24 commits to master since this release

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-test
  • wald_test() — general parameter testing
  • lrt() — likelihood ratio test for nested models
  • fisher_combine() — combine independent p-values
  • adjust_pval() — multiple testing corrections (Bonferroni, BH, etc.)