In ks.test(x, y) : p-value will be approximate in the presence of ties
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/
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。