spey.ExpectationType#
- class spey.ExpectationType(value)[source]#
Expectation type has been used to determine the nature of the statistical model through out the package. It consists of three main arguments:
observed: Computes the p-values with via post-fit prescription which means that the experimental data will be assumed to be the truth (default).aposteriori: Computes the expected p-values with via post-fit prescription which means that the experimental data will be assumed to be the truth.apriori: Computes the expected p-values with via pre-fit prescription which means that the SM will be assumed to be the truth.
User can simply set the value of
expectedto a desiredExpectationType:>>> expected = spey.ExpectationType.aposteriori
This will trigger appropriate action to be taken through out the package.
- __init__(*args, **kwds)#
Attributes
aprioriaposterioriobserved