Comments (6)
in hypothesis_testing/test_statistics.py:219
when the numbers are negative, you clip them to zero. however, you then divide by the zero.
if you anyhow clip them, perhaps it is wiser to sqrt_qmuA to a very small positive number?
from spey.
ah sorry, didnt read the next line in the code
from spey.
Hi @WolfgangWaltenberger, I'm not sure if it can lead to a bias because
from spey.
Will be testing also. My mindset would be, we want these pathological cases to rightly inform the bracketing and optimization algorithms. Like if the right end of the bracket is absurdly far right, the bracketing algorithm must be able to deduce this from the numbers. If the optimizer got lost in an extreme part of parameter space, the gradient must point it back into a sensible part of parameter space.
from spey.
I cannot find your motivation for true_divide ( qmu_ - qmuA, 2.0 * sqrt_qmuA ), is this described in the CCGV paper?
Anyways, if qmuA is zero, then we do not have to worry about the centrality parameter, evidently everything is nicely
centralised. so we only need sqrt_qmu as the final test statistic, no?
from spey.
Hi @WolfgangWaltenberger, this is eq. 66 in CCGV.
from spey.
Related Issues (15)
- Can't find the likelihood maximum HOT 6
- maxiter HOT 2
- SL issue HOT 4
- third_momenta HOT 1
- Enable computation of p-values from chi-square CDF
- Error in ```UnCorrStatisticsCombiner```
- Numpy version dependency HOT 7
- Strong machine dependence of spey results (simplified likelihoods) HOT 11
- optimiser argument ntrial > 1 crashes HOT 1
- Differences between SModelS and MadStats upper limit on mu with pyhf backend HOT 2
- The minima of the Asimov negloglikelihood is not centralised at `poi_test = 0` HOT 1
- Wrong poi_upper_limit computation with pyhf backend HOT 5
- Error when computing likelihood from uncorrelated model with an absurdly high number of observed yields. HOT 6
- Loss in numeric stability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spey.