Two-sample Kolmogorov-Smirnov Test in Python Scipy

前端 未结 2 611
面向向阳花
面向向阳花 2020-12-07 09:32

I can\'t figure out how to do a Two-sample KS test in Scipy.

After reading the documentation scipy kstest

I can see how to test where a distribution is ident

2条回答
  •  一向
    一向 (楼主)
    2020-12-07 10:04

    This is what the scipy docs say:

    If the K-S statistic is small or the p-value is high, then we cannot reject the hypothesis that the distributions of the two samples are the same.

    Cannot reject doesn't mean we confirm.

提交回复
热议问题