- Introduced by
- Sidney Siegel & John W. Tukey
- Year
- 1960
- Type
- Nonparametric scale comparison
What does it do?
The Siegel-Tukey test is a nonparametric test that compares the spread (scale) of two independent samples rather than their central tendency.
Proposed by Sidney Siegel and John W. Tukey in 1960, it does not require a normality assumption and can be applied to ordinal as well as numerical data.
The intuition behind the method
Imagine two production lines whose average output is identical but whose consistency may differ. A standard comparison of means would miss that difference entirely. The Siegel-Tukey test reassigns ranks from the extremes inward — the most extreme observations (highest and lowest) receive the lowest ranks, and the middle observations the highest — so that a group with wider spread ends up with a systematically lower rank sum. If the rank sum is unusually low for one group, there is evidence that its distribution is more dispersed than the other's.
History
Siegel and Tukey published the procedure in 1960 in the Journal of the American Statistical Association, under the title 'A Nonparametric Sum of Ranks Procedure for Relative Spread in Unpaired Samples'. The original abstract presents it as a distribution-free alternative to the F test for differences in variance, whose sensitivity to non-normality is the main motivation. The paper includes critical-value tables and large-sample procedures. The Ansari-Bradley test is a closely related scale test and is mentioned here only as a related procedure.
When to use it
Choose the Siegel-Tukey test when you have two independent groups, the outcome is continuous or ordinal, and your question concerns variability rather than central tendency. It is suitable when normality is doubtful, because the parametric F test for variance differences is sensitive to departures from normality. The key condition is that the two groups have the same location; if they do not, subtract each group's median before pooling. The published exact tables cover group sizes up to 20 each, and a large-sample procedure is available for larger groups. Do not use it for three or more groups. When the data are close to normal, a parametric variance test may be more powerful.
Limitations and considerations
- When the data are approximately normal, parametric variance tests may be more powerful, because the Siegel-Tukey test keeps only the ranks of the observations and discards information in their actual values.
- The equal-location assumption is essential: a location difference between the groups feeds directly into the rank sum and can be mistaken for a difference in spread unless the medians are equalised first.
- The test compares two groups only; multi-group variance comparisons need other procedures, such as Fligner-Killeen or Bartlett's test.
- Ties complicate the alternating rank assignment. The tie correction is described for the large-sample procedure, so the small-sample tables should be used with care when ties are present.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Distribution-free under the usual randomisation assumptions when the two distributions are identical under the null, so no normality assumption is needed.
- Avoids the sensitivity to non-normality that the original paper attributes to the parametric F test for variance differences.
- Applies directly to ordinal data, since it uses only the ordering of the observations.
- The original paper provides critical-value tables for small samples and a large-sample procedure with a tie correction.
Applications
- Comparing the variability of biomarker measurements between a treated and a control group when normality is in doubt.
- Testing whether two manufacturing processes differ in the consistency of their output dimensions.
- Assessing whether two raters or two measurement instruments produce scores with similar variability.
- Checking whether two groups differ in variance before applying a procedure that assumes equal spread.
How it works
How it works
The null hypothesis is that the two samples come from identical populations; the alternative is that the populations differ in variability (spread). Because the test is exactly distribution-free only when the two distributions are identical under the null, a significant result can be read as a difference in spread only if the two groups share a common location. In practice this means the groups should have the same median, or each group's median should be subtracted before ranking. Otherwise a location difference can be mistaken for a difference in spread.
Formula
H_0:\ \sigma_1^2 = \sigma_2^2 \quad H_1:\ \sigma_1^2 \neq \sigma_2^2
The observations from both groups are pooled and sorted. Ranks are then assigned alternately from the two extremes inward, so the most extreme values receive the lowest ranks and the central values the highest. This alternating pattern makes the scheme sensitive to spread rather than location. The statistic T is the sum of the assigned ranks for one group (G1 in the formula above). A group with wider spread tends to have more observations in the tails and therefore a lower rank sum. The exact assignment sequence and the handling of tied observations should be taken from the original published procedure, which includes a tie correction for the large-sample case.
Formula
T = \sum_{i \in G_1} r_i, \quad r_i = \text{alternating rank from extremes inward}The null hypothesis is rejected if T lies beyond the critical value in the Siegel-Tukey tables, which cover group sizes n1 ≤ n2 ≤ 20, or, for larger samples, if the large-sample standardised statistic with tie correction gives p < 0.05. A rejection is read as evidence that one group's distribution is more variable than the other's, provided the groups share a common location. The 0.05 level is a conventional choice. The report should state which procedure (tables or large-sample) was used, and the result should be accompanied by a descriptive spread measure for each group (such as the interquartile range or standard deviation) to show the direction and size of the difference.
Formula
\text{reject } H_0 \text{ if } p < 0.05 \text{ (Wilcoxon-form reference distribution)}Common pitfalls
- Applying the test to groups with different medians without first equalising them, so that the rank-sum difference mixes location and spread effects.
- Confusing the Siegel-Tukey test (which compares spread) with the Mann-Whitney U test (which compares location). Both are rank-sum procedures, but they assign ranks differently and answer different questions, so they are not interchangeable.
- Ignoring ties. Ties make the alternating rank assignment ambiguous, so the tie correction described in the large-sample procedure should be applied, and conclusions from heavily tied data should be cautious.
- Reporting only that p is below 0.05 without stating which group is more variable and by how much.
Frequently asked questions
How does the Siegel-Tukey test differ from the Mann-Whitney U test?
Both are rank-based two-sample tests, but they assign ranks differently. Mann-Whitney ranks the pooled observations from smallest to largest to detect a shift in location. Siegel-Tukey ranks from the extremes inward, so the most extreme values receive the lowest ranks, to detect a difference in spread. The two tests answer different questions and should not be used interchangeably.
What should I do if the two groups have different medians?
Subtract each group's median from its own observations before pooling and ranking. This removes any shift in location, so that the rank imbalance reflects spread. The choice of centring should be stated explicitly in the report.
When should I prefer Levene's test over the Siegel-Tukey test?
Levene's test is generally more powerful when the data are approximately normally distributed, because it uses the actual values rather than only their ranks. The Siegel-Tukey test is preferable when normality is clearly violated, or when the sample is small and the distributional shape cannot be assessed with confidence. Analysts sometimes run both and note whether they agree.
Can I use the Siegel-Tukey test with ordinal data?
Yes. The test requires only a meaningful ordering of values, not interval-level measurement, so it can be applied to ordinal scales. Ties are more common with coarse ordinal scales, and they reduce the precision of the alternating rank assignment, so results should be interpreted with caution when many ties are present.
Related methods
Sources
Siegel, S. & Tukey, J. W. (1960). A Nonparametric Sum of Ranks Procedure for Relative Spread in Unpaired Samples. Journal of the American Statistical Association, 55(291), 429–444.
Open DOI reference