signrank
Wilcoxon signed rank test
Syntax
Description
returns
the p-value of a two-sided Wilcoxon signed rank test.p = signrank(x)
signrank tests the null hypothesis that data
in the vector x come from a distribution whose
median is zero at the 5% significance level. The test assumes that
the data in x come from a continuous distribution
symmetric about its median.
returns
the p-value for the sign test with additional options
specified by one or more p = signrank(x,y,Name,Value)Name,Value pair
arguments.
[___] = signrank( returns
any of the output arguments in the previous syntaxes for the signed
rank test with additional options specified by one or more x,m,Name,Value)Name,Value pair
arguments.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Algorithms
signrank treats NaNs in x and y as
missing values and ignores them.
For the two-sample case, signrank uses a tolerance based on the values
epsdiff = eps(x) + eps(y). signrank computes the
absolute values of the differences (abs(d(i)) where d(i) = x(i) –
y(i)) and compares them to epsdiff. Values with an absolute
value less than epsdiff (abs(d(i)) < epsdiff(i)) are
treated as ties.
References
[1] Gibbons, J. D., and S. Chakraborti. Nonparametric Statistical Inference, 5th Ed., Boca Raton, FL: Chapman & Hall/CRC Press, Taylor & Francis Group, 2011.
[2] Hollander, M., and D. A. Wolfe. Nonparametric Statistical Methods. Hoboken, NJ: John Wiley & Sons, Inc., 1999.
Version History
Introduced before R2006a