scikit-hep / pyhf

pure-Python HistFactory implementation with tensors and autodiff
https://pyhf.readthedocs.io/
Apache License 2.0
283 stars 84 forks source link

Understanding shapesys modifier #2545

Closed andrewfowlie closed 2 months ago

andrewfowlie commented 2 months ago

Summary

I’m trying to understand the shapesys modifer. I’ve read the documentation at https://pyhf.readthedocs.io/en/v0.7.6/intro.html#tab-modifiers-and-constraints

I understand that this modifier contributes a factor to the likelihood

Poisson( naux | gamma naux)

where gamma is the multiplicative modifier and

naux = (b / delta b)^2.

That is, it’s the pmf for a Poisson for naux counts given gamma naux expected counts.

I don’t understand this as naux isn’t in general an integer.

Please can you clarify:

Many thanks 🙏

Additional Information

Code of Conduct