o********e 发帖数: 55 | 1 how to test whether two sample has same distribution?
多谢多谢! |
D******n 发帖数: 2836 | 2 KS test
【在 o********e 的大作中提到】 : how to test whether two sample has same distribution? : 多谢多谢!
|
b*****n 发帖数: 685 | |
o********e 发帖数: 55 | 4 不好意思 我背景不是统计 比较烂 不懂怎么做
可否请牛人详细指点一下 多谢多谢
【在 b*****n 的大作中提到】 : permutation亦可
|
b*****n 发帖数: 685 | 5 kolmogrov-smirnov test(以及类似的一堆基于cdf的test)是正解。
如果是permutation test的话,就是混合一下再重新分组,计算test statistic,重复
N次后,获得test statistic的distribution,由实际观测值计算p-value。
关键在于test statistic的选择,你可以选择mean/median,那么只能比较俩
distribution的1st moment,当然combine其他高阶moment也行,不过我觉得俩ecdf之
距离最大值也许最方便。 |
s**********e 发帖数: 63 | 6 卡方 - Chi Square 应该是最省事的。 |