You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Computes :math:`p`-values and test statistics for a single value of the parameter of interest
16
+
Compute :math:`p`-values and test statistics for a single value of the parameter of interest.
15
17
16
18
Args:
17
19
poi_test (Number or Tensor): The value of the parameter of interest (POI)
@@ -75,7 +77,6 @@ def hypotest(
75
77
- :math:`\left[q_{\mu}, q_{\mu,A}\right]`: The test statistics for the observed and Asimov datasets respectively. Only returned when ``return_test_statistics`` is ``True``.
Computes the expected :math:`p`-values CLsb, CLb and CLs for data corresponding to a given percentile of the alternate hypothesis.
73
+
Compute the expected :math:`p`-values CLsb, CLb and CLs for data corresponding to a given percentile of the alternate hypothesis.
70
74
71
75
Args:
72
76
sqrtqmuA_v (Number or Tensor): The root of the calculated test statistic given the Asimov data, :math:`\sqrt{q_{\mu,A}}`
73
77
nsigma (Number or Tensor): The number of standard deviations of variations of the signal strength from the background only hypothesis :math:`\left(\mu=0\right)`
74
78
75
79
Returns:
76
80
Tuple of Floats: The :math:`p`-values for the signal + background, background only, and signal only hypotheses respectivley
77
-
"""
78
81
82
+
"""
79
83
# NOTE:
80
84
# To compute the expected p-value, one would need to first compute a hypothetical
81
85
# observed test-statistic for a dataset whose best-fit value is mu^ = mu'-n*sigma:
0 commit comments