Skip to content

[FEATURE] Having hist functionalities such as a chisq/ndo, KS test etc. #500

@garvitaa

Description

@garvitaa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions