hepstats.hypotests.core.basetest module#
- class hepstats.hypotests.core.basetest.BaseTest(calculator, poinull, poialt=None)[source]#
Bases:
objectBase class for hypothesis tests.
- Parameters:
calculator (
BaseCalculator) – calculator to use for computing the pvaluespoinull (
POI|POIarray) – parameters of interest for the null hypothesispoialt (
POI|POIarray|None) – parameters of interest for the alternative hypothesis
- Raises:
TypeError – if calculator is not a BaseCalculator instance
- property poinull#
Returns the POI for the null hypothesis.
- property poialt#
Returns the POI for the alternative hypothesis.
- property calculator#
Returns the calculator.