R programming, 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/

posted @   emanlee  阅读(2799)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
历史上的今天:
2012-01-13 查看solaris下硬盘的物理大小
2012-01-13 Perl命令行开关
2012-01-13 如何查看perl的版本信息
2012-01-13 Solaris查看内存使用情况
2012-01-13 Solairs 命令查看系统版本
2012-01-13 FTP常用命令
2011-01-13 常用数学符号大全 特殊字符 特殊符号
点击右上角即可分享
微信分享提示