signtest
Sign test.
📝Syntax
p = signtest(x)
p = signtest(x, y)
p = signtest(x, m)
p = signtest(x, y, Name, Value)
[p, h, stats] = signtest(...)
📄Description

signtest performs a sign test for a median or paired difference. If y is omitted, values of x are tested against zero. If y is a scalar, values of x are tested against that scalar.

Name-value arguments include Alpha, Method, and Tail. Zero differences and NaN values are omitted.

💡Examples
x = [1 2 -3 4 -5];
[p, h, stats] = signtest(x)
🔗See Also
signrankranksumbinocdf
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub