chisquare

mpsci.stats.chisquare(observed, expected, sum_rel_tol=None)

Pearson’s chi-square test.

Test whether the observed frequency distribution differs from the expected frequency distribution.