Siegel–Tukey test


In statistics, the Siegel–Tukey test, named after Sidney Siegel and John Tukey, is a non-parametric test which may be applied to data measured at least on an ordinal scale. It tests for differences in scale between two groups.
The test is used to determine if one of two groups of data tends to have more widely dispersed values than the other. In other words, the test determines whether one of the two groups tends to move, sometimes to the right, sometimes to the left, but away from the center.
The test was published in 1960 by Sidney Siegel and John Wilder Tukey in the Journal of the American Statistical Association, in the article "A Nonparametric Sum of Ranks Procedure for Relative Spread in Unpaired Samples."

Principle

The principle is based on the following idea:
Suppose there are two groups A and B with n observations for the first group and m observations for the second. If all N observations are arranged in ascending order, it can be expected that the values of the two groups will be mixed or sorted randomly, if there are no differences between the two groups. This would mean that among the ranks of extreme scores, there would be similar values from Group A and Group B.
If, say, Group A were more inclined to extreme values, then there will be a higher proportion of observations from group A with low or high values, and a reduced proportion of values at the center.

Method

Two groups, A and B, produce the following values :
By combining the groups, a group of 13 entries is obtained. The ranking is done by alternate extremes.
The sum of the ranks within each W group:
If the null hypothesis is true, it is expected that the average ranks of the two groups will be similar.
If one of the two groups is more dispersed its ranks will be lower, as extreme values receive lower ranks, while the other group will receive more of the high scores assigned to the center. To test the difference between groups for significance a Wilcoxon rank sum test is used, which also justifies the notation WA and WB in calculating the rank sums.
From the rank sums the U statistics are calculated by subtracting off the minimum possible score, n/2 for each group:
According to the minimum of these two values is distributed according to a Wilcoxon rank-sum distribution with parameters given by the two group sizes:
Which allows the calculation of a p-value for this test according to the following formula:
a table of the Wilcoxon rank-sum distribution can be used to find the statistical significance of the results.
For the example data, with groups of sizes m=6 and n=7 the p-value is:
indicating little or no reason to reject the null hypothesis that the dispersion of the two groups is the same.