spey.hypothesis_testing.distributions.AsymptoticTestStatisticsDistribution#
- class spey.hypothesis_testing.distributions.AsymptoticTestStatisticsDistribution(shift: float, cutoff: float = -inf)[source]#
The distribution the test statistic in the asymptotic case.
- Parameters:
shift (
float
) – The shift in test statistic distribution.
Methods
__init__
(shift[, cutoff])expected_value
(nsigma)Compute expected value of the test statistic with respec to the level of standard deviations
pvalue
(value)Compute the p-value for a given value of the test statistic.
Attributes
shift
cutoff