We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a learn notebook that demonstrates the s/sqrt(b) approximation using the q0 test statistic like so:
s/sqrt(b)
q0
>>> import pyhf >>> >>> model = pyhf.simplemodels.uncorrelated_background([25], [2500], [2.5]) >>> pyhf.infer.test_statistics.q0( ... 0.0, ... [2525] + model.config.auxdata, ... model, ... model.config.suggested_init(), ... model.config.suggested_bounds(), ... model.config.suggested_fixed(), ... ) array(0.24854737) >>> _**0.5 0.49854525422391327 >>> 25 / (2500**0.5) 0.5
Equation 53 in https://arxiv.org/abs/1007.1727
The text was updated successfully, but these errors were encountered:
In this context it might also be nice to include the approximation via best-fit POI value divided by its uncertainty.
Sorry, something went wrong.
include the approximation via best-fit POI value divided by its uncertainty.
what do you mean?
Assuming Gaussianity, the significance is (best-fit POI value) / (POI uncertainty), e.g. for mu = 1 +/- 0.5 this would translate to 2 sigma.
(best-fit POI value) / (POI uncertainty)
mu = 1 +/- 0.5
Hrmm, isn't that generally seen more like the z-score, rather than significance? (e.g. the distinction between p-value and z-score...)
No branches or pull requests
Summary
Create a learn notebook that demonstrates the
s/sqrt(b)
approximation using theq0
test statistic like so:Additional Information
Equation 53 in https://arxiv.org/abs/1007.1727
Code of Conduct
The text was updated successfully, but these errors were encountered: