hist icon indicating copy to clipboard operation
hist copied to clipboard

[FEATURE] plot_ratio() to support Weighted histograms

Open andreypz opened this issue 3 years ago • 1 comments

Describe the problem, if any, that your feature request is related to I believe the current plot_ratio() method does not take into account weights of the histograms when calculating the errors.

Describe the feature you'd like

Propagate errors correctly into the ratio uncertainty, taking into account the weights

Describe alternatives, if any, you've considered

Using coffea.hist.plotratio instead

andreypz avatar Nov 04 '22 15:11 andreypz

Hi, I just encountered this - can a warning at least be added to the documentation that says that weights will be ignored in the calculation of the ratio? It's not obvious at all that they are ignored and this could easily lead to / have already led to incorrect conclusions/analyses.

heatherrussell avatar Aug 09 '23 20:08 heatherrussell