cls_ts

hep_spt.cls_ts(alt, null)[source]

Create an instance of CLsTS from the alternative an null hypotheses. A check is done to see if both refere to the same type of probability function (discrete or continuous).

Parameters
  • alt (CLsHypo) – alternative hypothesis.

  • null (CLsHypo) – null hypothesis.

Returns

CLs test-statistics proxy.

Return type

CLsTS

Raises

RuntimeError – if the type of both hypotheses is different.