曼惠特尼u检验 matlab,采用Mann-Whitney-Wilcoxon检验

Mann-Whitney-Wilcoxon test

This file executes the non parametric Mann-Whitney-Wilcoxon test to evaluate the difference between unpaired samples. If the number of combinations is less than 20000, the algorithm calculate the exact ranks distribution; else it uses a normal distribution approximation. The result is not different from

RANKSUM MatLab function, but there are more output informations. There is an alternative formulation of this test that yields a statistic commonly denoted by U. Also the U statistic is computed.

Syntax: STATS=MWWTEST(X1,X2)

Inputs:

X1 and X2 - data vectors.

Outputs:

- T and U values and p-value when exact ranks distribution is used.

- T and U values, mean, standard deviation, Z value, and p-value when normal distribution is used.

If STATS nargout was specified the results will be stored in the STATS struct.

Example:

X1=[181 183 170 173 174 179 172 175 178 176 158 179 180 172 177];

X2=[168 165 163 175 176 166 163 174 175 173 179 180 176 167 176];

Calling on Matlab the function: mwwtest(X1,X2)

Answer is:

MANN-WHITNEY-WILCOXON TEST

--------------------------------------------------------------------------------

Sample size is good enough to use the normal distribution approximation

T U mT sT zT p-value (1-tailed)

--------------------------------------------------------------------------------

270.0000150.0000232.500024.10711.53480.0624

--------------------------------------------------------------------------------

You can visit my homepage http://home.tele2.it/cardillo

My profile on XING http://www.xing.com/go/invita/13675097

My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值