ansaribradley
Ansari-Bradley test
Syntax
Description
returns
a test decision for the null hypothesis that the data in vectors h
= ansaribradley(x
,y
)x
and y
comes
from the same distribution, using the Ansari-Bradley test. The alternative
hypothesis is that the data in x
and y
comes
from distributions with the same median and shape but different dispersions
(e.g., variances). The result h
is 1
if
the test rejects the null hypothesis at the 5% significance level,
or 0
otherwise.
returns
a test decision for the Ansari-Bradley test with additional options
specified by one or more name-value pair arguments. For example, you
can change the significance level, conduct a one-sided test, or use
a normal approximation to calculate the value of the test statistic.h
= ansaribradley(x
,y
,Name,Value
)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Version History
Introduced before R2006a