HypothesisTest#
- class cultivars.diagnostics.hypothesis.HypothesisTest(*, statistic, pvalue)[source]#
A scalar test statistic, its p-value, and a verdict at a level.
Every hypothesis-test record in the package descends from this one: a study that collects verdicts wants one type with
rejectandsummary, not a union of seven. Subclasses add the fields their construction needs and describe their own table through_summary_table(); the renderers –summary(),str(), the notebook HTML – are derived here once.__repr__stays a one-line verdict, because a test in a REPL should read as a sentence and not as a table.- Variables:
See also
HypothesisTest– the public name of this class.