文件名称:kstest_2s_2d

  • 所属分类:
  • matlab例程
  • 资源属性:
  • [Matlab] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 3kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • abea****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

kstest_2s_2d.m:功能做两样本的二维Kolmogorov - Smirnov检验



它类似于MATLAB的内置函数的“kstest2“从统计工具箱除了“kstest_2s_2d“与二维数据处理。



[小时,pValue,KSstatistic] = kstest_2s_2d(为x1,x2,α,尾)



函数在两栏输入“ד,并以“ד,其中每一列代表一个维度。其他的选项和产出是相同的含义,是“kstest2“格式。



摘要算法(峰值,1983年):考虑四个象限(十<的X,Y<Ÿ ),(十<X,y>年),(十>的X,Y<Y)和(x>的X,Y>Ÿ )反过来,采取了两者之间的经验累积分布的四个最后堪萨斯州最大的统计学差异。



test_kstest_2s_2d.m:试验台的“kstest_2s_2d“



请随时与我联系,如果你发现代码中的任何错误。希望我的理解和实施正确的参考意见...



作者:秋艳鹏@欧洲经委会/香港科技大学

日期:2011年5月11日



参考文献:

茉莉孔雀,英国皇家天文学会每月通告202(1983)615-627“二维拟合优的拟合天文学测试“。-kstest_2s_2d.m: function to do two-sample two-dimensional Kolmogorov-Smirnov test



It s similar to the MATLAB built-in funtion "kstest2" from Statistics Toolbox except that "kstest_2s_2d" deals with two-dimensional data.



[H, pValue, KSstatistic] = kstest_2s_2d(x1, x2, alpha, tail)



The function takes in 2-column inputs "x1" and "x2", where each column represents one dimension. The other options and the outputs are of the same meaning and format as "kstest2".



Algorithm summary (Peak, 1983): consider the four quadrants (x<X,y<Y), (x<X,y>Y), (x>X,y<Y) and (x>X,y>Y) in turn, and adopt the largest of the four differences between the two empirical cumulative distributions as the final KS statistic.



test_kstest_2s_2d.m: test-bench of "kstest_2s_2d"



Please feel free to contact me if you find any bugs in the code. Hope I understood and implemented the ideas in the references correctly...



Author: Qiuyan Peng @ ECE/HKUST

Date: 11th May, 2011



Refere
(系统自动生成,下载前可以参看下载内容)

下载文件列表

kstest_2s_2d.m

license.txt

test_kstest_2s_2d.m

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org