Hypothesis testing#
|
Test statistic \(q_{\mu}\), see eq. |
|
Alternative test statistics, \(\tilde{q}_{\mu}\), see eq. |
|
Discovery test statistics, \(q_{0}\) see eq. |
|
Retreive the test statistic function |
Compute test statistics |
|
|
Wrapper for the computer function to track inputs and outputs |
|
Find upper limit for parameter of interest, \(\mu\) |
|
Find upper and lower bracket limits for the root finding algorithm |
|
Calculate the p-values for the observed test statistic under the signal + background and background-only model hypotheses. |
Calculate the \(p\) values corresponding to the median significance of variations of the signal strength from the background only hypothesis \(\mu=0\) at \((-2,-1,0,1,2)\sigma\). |
|
The distribution the test statistic in the asymptotic case. |
|
Create emprical distribution. |
|
|
Compute p values i.e. \(p_{s+b}\), \(p_b\) and \(p_s\). |
Compute confidence limits i.e. \(CL_{s+b}\), \(CL_b\) and \(CL_s\). |