### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »

# scipy.stats.ansari

`scipy.stats.``ansari`(x, y)

  Determine if the scale parameter for two distributions with equal medians is the same using the Ansari-Bradley statistic.

  Specifically, compute the AB statistic and the probability of error that the null hypothesis is true but rejected with the computed statistic as the critical value.

  One can reject the null hypothesis that the ratio of variances is 1 if returned probability of error is small (say < 0.05)

### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »