spey.ExpectationType

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 expected to a desired ExpectationType:

>>> expected = spey.ExpectationType.aposteriori

This will trigger appropriate action to be taken through out the package.

__init__(*args, **kwds)#

Attributes

apriori

aposteriori

observed