ranksum (Statistics Toolbox)
文章推薦指數: 80 %
ranksum. Wilcoxon rank sum test that two populations are identical ... p = ranksum(x,y,alpha) returns the significance probability that the populations ... StatisticsToolbox ranksum Wilcoxonranksumtestthattwopopulationsareidentical Syntax p=ranksum(x,y,alpha) [p,h]=ranksum(x,y,alpha) [p,h,stats]=ranksum(x,y,alpha) Description p=ranksum(x,y,alpha) returnsthesignificanceprobabilitythatthepopulationsgeneratingtwoindependentsamples,xandy,areidentical.xandyarebothvectors,butcanhavedifferentlengths.alphaisthedesiredlevelofsignificanceandmustbeascalarbetweenzeroandone. [p,h]=ranksum(x,y,alpha) alsoreturnstheresultofthehypothesistest,h.hiszeroifthepopulationsofxandyarenotsignificantlydifferent.hisoneifthetwopopulationsaresignificantlydifferent. pistheprobabilityofobservingaresultequallyormoreextremethantheoneusingthedata(xandy)ifthenullhypothesisistrue.Ifpisnearzero,thiscastsdoubtonthishypothesis. [p,h,stats]=ranksum(x,y,alpha) alsoreturnsastructurecontainingthefieldstats.ranksumwhosevalueisequaltotheranksumstatistic.Forlargesamples,italsocontainsstats.zvalthatisthevalueofthenormal(Z)statisticusedtocomputep. Example Thisexampleteststhehypothesisofequalityofmeansfortwosamplesgeneratedwithpoissrnd. x=poissrnd(5,10,1); y=poissrnd(2,20,1); [p,h]=ranksum(x,y,0.05) p= 0.0027 h= 1 SeeAlso signrank,signtest,ttest2 range raylcdf
延伸文章資訊
- 1ranksum (Statistics Toolbox)
ranksum. Wilcoxon rank sum test that two populations are identical ... p = ranksum(x,y,alpha) ret...
- 2(獨立)雙樣本中位數差異檢定(Wilcoxon rank-sum test)
Wilcoxon rank-sum test ... 此方法又稱為曼-惠特妮U檢定(Mann-Whitney U test),當樣本數夠大時(通常樣本個數≧30的樣本可視為樣本數夠大),建議可用...
- 3Wilcoxon Rank Sum Test for Independent Samples
How to perform the Wilcoxon ranked sum non-parametric test for independent samples in Excel, a te...
- 4rank sum test in R vs. MATLAB: exact p-value when ties are ...
Dear masters of R and MATLAB! As documented, the rank sum test in R can not yield the exact p-val...
- 5IEA216 T-test and Ranksum - YouTube