hepstats icon indicating copy to clipboard operation
hepstats copied to clipboard

Statistics tools and utilities.

Results 10 hepstats issues
Sort by recently updated
recently updated
newest added

This moves for asymptotic asimov dataset creation on the zfit binned PDFs and datasets. Abstracting this away makes it easy to go for multidimensional asimov datasets (as zfit supports it...

When generating the asimov histogram associated with a particular test, why is the generated histogram limited to a one-dimensional fit, implicitly by the call to `space.limit1d` [here](https://github.com/scikit-hep/hepstats/blob/cf650da0408de083e27c52b952fe4ef144014de8/src/hepstats/hypotests/calculators/asymptotic_calculator.py#L34)? This seems to...

Currently, AFAIK, the plotting is not public and just helper functions are provided. However, it could be useful to somehow provide them (based on the output). Maybe it is worth...

I think it could be worth to make the toy generator more publicly available. It's common to do some toys to study the bias of the fit and encapsulating this...

Following discussions with @chrisburr and others, we propose adding the Energy Test to `hepstats`. This is a two-sample hypothesis test currently used at LHCb to observe local CP violation in...

enhancement

After a chat yesterday at CERN with @mayou36 and Carsten, a RooFit developer, we concluded that storing the results of `hepstats` is crucial as they can be reused, for plotting...

enhancement

updates: - [github.com/nbQA-dev/nbQA: 1.5.2 → 1.5.3](https://github.com/nbQA-dev/nbQA/compare/1.5.2...1.5.3) - [github.com/python-jsonschema/check-jsonschema: 0.18.3 → 0.18.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.18.3...0.18.4)

![image](https://user-images.githubusercontent.com/5306213/197619423-d680f35a-978d-4c0e-a4fc-46a66ffc03bb.png) https://github.com/scikit-hep/hepstats/blob/85cdb1e9c0a2699fbe4715ff7c879f068ca7452f/src/hepstats/modeling/bayesian_blocks.py#L53-L54

### Description: When running the notebook `counting.ipynb` using `python==3.11` , `hepstats==0.7.1`, and `zfit==0.16.0`, the calculated significance of the asymptotic calculator is reported as `0.0`with a p-value of `0.5`. In addition,...

Indeed I see that at least these 2 files only mention up to 3.11. This seems to have slipped from PR https://github.com/scikit-hep/hepstats/pull/156.