首页 > 移动平台 > 详细

In ks.test(x, y) : p-value will be approximate in the presence of ties

时间:2014-01-16 15:04:25      阅读:949      评论:0      收藏:0      [点我收藏+]
Warning message:
In ks.test(x, y) : p-value will be approximate in the presence of ties
 

The warning messages are due to the implementation of the KS test in R, which expects a continuous distribution and thus there should not be any identical values in the two datasets i.e. ties.

 

The presence of ties always generates a warning, since continuous distributions do not generate them. If the ties arose from rounding the tests may be approximately valid, but even modest amounts of rounding can have a significant effect on the calculated statistic.

 

ref:

http://www.cookbook-r.com/Graphs/

http://stat.ethz.ch/R-manual/R-devel/library/stats/html/ks.test.html

http://davetang.org/muse/2012/04/17/comparing-different-distributions/

In ks.test(x, y) : p-value will be approximate in the presence of ties

原文:http://www.cnblogs.com/emanlee/p/3518050.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!