Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Sign test

returns
the `p`

= signtest(`x`

,`y`

)*p*-value of a two-sided sign test. Here,`signtest`

tests
for the hypothesis that the data in `x`

– `y`

has
a distribution with zero median against the alternative that the distribution
does not have zero median. Note that a hypothesis of zero median for `x`

– `y`

is
not equivalent to a hypothesis of equal median for `x`

and `y`

.

returns
the `p`

= signtest(`x`

,`y`

,`Name,Value`

)*p*-value for the sign test with additional options
specified by one or more `Name`

,`Value`

pair
arguments.

`[___] = signtest(`

returns
any of the output arguments in the previous syntaxes for the sign
test with additional options specified by one or more `x`

,`m`

,`Name,Value`

)`Name`

,`Value`

pair
arguments.

[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.

Was this topic helpful?