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)

Previous topic

scipy.stats.friedmanchisquare

Next topic

scipy.stats.bartlett

This Page

Quick search