J*****n 发帖数: 4859 | 1 两个样本,出自于2维的分布,问怎么判定两个样本同分布。
我的想法是,先做empirical cumulative distribution,然后光滑之。
再算一个statistics,比如Cramer,最后run bootstrapping,把statistics的分布弄
出来。
结果那个面试的哥们好像还不是很满意。
大家有什么好办法么?
谢谢 | w**********y 发帖数: 1691 | 2 估计面你的人有统计背景吧?如果是统计出身的,应该偏向你回答nonparametric的方法,
经典方法是:Two Sample Kolmogorov–Smirnov test.这个方法还是挺经典挺强大的,因
为对underlying distribution没有restriction
http://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test
Cramer'V statistic is used to "measure the strength association of
dependency between two (nominal) categorical variables"
哪家公司,很看重统计背景么?面霸能不能pm一个..多谢 |
|