You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem, if any, that your feature request is related to
I would like to compare the shapes of two hists created using coffea by using KS test and chisq/ndof test.
But the scipy implementation available is not
Describe the feature you'd like
It would be helpful to have something similar to:
KolmogorovTest(hist1, hist2)
with options for using Under/Overflow, comparison of normalization etc, and similarly
Chi2Test(hist1, hist2)
Describe alternatives, if any, you've considered
Tried the scipy.stat.ks_2samp and scipy.stat.chisquare, but they do not work out of the box for histograms.
The text was updated successfully, but these errors were encountered:
garvitaa
changed the title
[FEATURE] Having hist functionalities such as a chisq/ndof and KS test etc.
[FEATURE] Having hist functionalities such as a chisq/ndo, KS test etc.
Jun 7, 2023
Hi @henryiii, I think I would like to take a shot at this. I'm thinking of methods of hist.Hist objects to do one sample tests of the histogram vs a known distribution and methods to do two sample tests vs other hist.Hist objects.
Describe the problem, if any, that your feature request is related to
I would like to compare the shapes of two hists created using coffea by using KS test and chisq/ndof test.
But the scipy implementation available is not
Describe the feature you'd like
It would be helpful to have something similar to:
with options for using Under/Overflow, comparison of normalization etc, and similarly
Describe alternatives, if any, you've considered
Tried the
scipy.stat.ks_2samp
andscipy.stat.chisquare
, but they do not work out of the box for histograms.The text was updated successfully, but these errors were encountered: