UK-based online statistics and data analysis support for USA, UK, and international clients. No exams, no impersonation, no fabricated data.
Nonparametric two-sample scale test

Siegel Tukey Test: 7 Essential Steps, Formula and Worked Example

The Siegel Tukey Test is a nonparametric two-sample dispersion procedure that ranks observations by alternating between the pooled extremes and the center. This complete guide explains the Siegel Tukey Test assumptions, median adjustment, alternating-extreme score construction, tie handling, interpretation, and reproducible workflows in Python, R, SPSS, Excel, MATLAB and SAS.

Two independent samplesScale / dispersionAlternating extremesMedian adjustedPython + R + SPSS + Excel
Sample sizes383 vs 266
Female score sum121,481.97
Two-sided p0.1924
DecisionNot significant
Quick answer

No statistically significant difference in median-adjusted grade dispersion was detected.

In this worked Siegel Tukey Test example, final grades were compared between female students (n = 383) and male students (n = 266). The original group medians were 12 and 11, so each observation was centered on its own group median before the scale test. The verified female score sum was T = 121,481.971071, compared with an expected value of 124,475. The standardized result was z = -1.303626 with a two-sided p = 0.192361. At α = .05, equal median-adjusted dispersion was not rejected.

Correct interpretation: the analysis did not find sufficient evidence that the spread of grades around the gender-specific medians differs. The result does not prove that population dispersions are identical, and it should not be described as an unadjusted comparison because the original medians differed.
1

What does the Siegel Tukey Test measure?

A rank-based comparison of relative spread for two independent samples.

The Siegel Tukey Test evaluates whether two independent populations differ in scale or dispersion after location has been made comparable. It is not Tukey HSD, not a post-hoc ANOVA procedure and not a generic test of any distributional difference. The Siegel Tukey Test uses a distinctive alternating-extreme ranking scheme so observations far from the pooled center receive the smallest scores.

The research question

The test addresses a focused question: after allowing for location, does one group occupy the pooled extremes more often than the other? A group with a larger population scale should contribute more observations to both tails. Since the Siegel–Tukey scoring rule assigns low scores to extreme positions and high scores near the pooled center, a group that is more dispersed tends to have a smaller total score.

This makes the procedure useful for response times, grades, manufacturing measurements, clinical outcomes and other ordered variables where the investigator cares about variability rather than a shift in the center. Review variance, standard deviation and the interquartile range before interpreting a formal scale comparison.

What it does not measure

The Siegel Tukey Test does not directly test means, medians, stochastic dominance or all possible shape differences. A significant result can be interpreted as a scale difference only when the groups have a common location or a justified location adjustment has been performed. If the scientific question concerns general rank location, use the Mann–Whitney U test. If the objective is complete distributional equality, consider the two-sample Kolmogorov–Smirnov test.

The method is also unrelated to Tukey’s honestly significant difference test. Tukey HSD compares means after ANOVA; the Siegel Tukey Test is a two-sample nonparametric dispersion test developed around alternating-extreme ranks.

Scale is the key word. The Siegel Tukey Test is best described as a test of relative spread or dispersion. Saying simply “the groups differ” removes the very feature that makes the method useful.
2

When should you use the Siegel Tukey Test?

Use the decision logic below before selecting software.

Use the Siegel Tukey Test when there are exactly two independent groups, the outcome is orderable, the research target is dispersion and location has either been shown to be common or has been adjusted in a defensible way. A failed normality test alone is not enough justification.

Two groups?

The standard procedure compares exactly two independent samples.

Ordered outcome?

The response must be numeric or ordinal with a meaningful low-to-high order.

Independent units?

No student, patient, device or cluster should appear in both groups.

Comparable location?

Check medians before interpreting alternating-extreme ranks as scale.

Scale question?

The hypothesis must concern dispersion rather than mean or median differences.

Good uses

Comparing variability in two independent production processes.
Testing whether centered response times have different spreads.
Comparing grade dispersion after a justified location alignment.
Using a nonparametric sensitivity analysis alongside Levene-type methods.

Do not use it automatically

For paired or repeated observations.
When location differences remain unaddressed.
For three or more independent groups.
When the target is a mean, median or broad stochastic ordering.

The current example illustrates why the location check cannot be skipped. Female students have an observed median final grade of 12, while male students have a median of 11. Applying the ordinary unadjusted procedure to those raw values would mix location and scale. The workbook therefore centers grades within gender before assigning the alternating-extreme scores. That choice changes the precise inferential target: the result concerns spread around the separately estimated group medians.

3

Siegel Tukey Test assumptions: six conditions to check

The method is nonparametric, but it is not assumption-free.

The Siegel Tukey Test assumptions determine whether a rank-sum result can be interpreted as evidence about scale. Independence, an orderable outcome, comparable location, similar standardized shape, transparent handling of ties and a design supporting inference are substantive conditions.

Independent samples

Observations must be independent within and between groups. Clustered, matched or repeated measurements need a design-aware alternative.

Ordered outcome

The response must support meaningful ranking. Continuous outcomes are ideal, but tied integer outcomes can be analyzed with averaged scores.

Comparable location

A pure scale interpretation requires a common population center or a justified adjustment for a location difference.

Comparable shape

The cleanest interpretation assumes the populations share a similar standardized shape apart from scale.

Random design

Random sampling or random assignment is needed for broad population or causal inference.

Ties handled explicitly

Tied centered values share the average of all alternating-extreme scores associated with their occupied positions.

Median adjustment is not invisible. The original medians in this example differ by one grade point. Subtracting each sample median creates a centered comparison, but it also means the result is conditional on an estimated alignment. Report that step explicitly rather than presenting the output as the ordinary unadjusted test.

Nonparametric procedures still require careful design reasoning. See parametric vs nonparametric tests for a broader explanation. The most important question is not whether the data are normal; it is whether alternating-extreme ranks answer the scientific question you actually have.

4

Siegel Tukey Test hypotheses: population scale after location adjustment

State the scale null and identify the centered outcome used in the analysis.

The Siegel Tukey Test does not literally test whether the observed standard deviations are numerically equal. It tests whether two independent population distributions have equal relative spread under the model and alignment used to construct the alternating-extreme scores.

Formal location–scale idea

For a clean unadjusted interpretation, the two populations can be represented as sharing a location θ and standardized shape ε while allowing different positive scale multipliers:

X = θ + σFε    and    Y = θ + σMε

If θ differs, pooled extremes can be created by a location shift rather than a scale difference. The current analysis therefore replaces raw grades with deviations from the observed gender-specific medians.

Applied target: the workbook compares the dispersion of G3 around the separately estimated female and male medians. This is a median-adjusted scale analysis, not a claim that the raw distributions share a common center.

Applied variables

OutcomeG3, the final numeric grade.
GroupingGender, coded F and M.
Original mediansFemale = 12; male = 11.
Analyzed outcomeG3 minus the median of the observation’s own gender group.
Sample sizesFemale n = 383; male n = 266.

The public article uses the label gender consistently. The categories F and M are treated as the two independent groups supplied in the analysis files.

Two-sided test

H0: σF = σM
H1: σF ≠ σM

Applied wording: after median adjustment, the female and male population distributions have equal spread under the assumed common standardized shape.

Directional alternatives

Female more dispersed

A smaller-than-expected female score sum supports greater female spread.

Female less dispersed

A larger-than-expected female score sum supports smaller female spread.

Two-sided

Either direction can produce rejection.

Choose a directional alternative before seeing the scores. The current article uses the safer two-sided alternative.

What the observed score sum says

The observed female score sum was 121,481.971071, below its null expectation of 124,475. Since low scores are assigned to pooled extremes, the sign points toward somewhat greater female tail occupancy after centering. However, the standardized distance is only z = -1.304 and the two-sided p-value is 0.192. The directional hint is not statistically significant and should not be converted into a firm population conclusion.

5

Siegel Tukey Test formula, alternating-extreme scores and large-sample calculation

The test orders the pooled centered values and scores them from the extremes toward the center.

The Siegel Tukey Test formula can be understood as a Wilcoxon-style rank-sum test applied to a special score sequence. Unlike ordinary ranks, the scores alternate between the lowest and highest pooled positions so extreme observations receive small numbers and central observations receive large numbers.

Step 1: center when location differs

Cij = G3ij − Mdn(G3j)

The current workbook subtracts each gender group’s sample median. Female grades are centered on 12 and male grades on 11.

Step 2: pool and sort the centered values

Combine all 649 centered observations and order them from the smallest negative deviation to the largest positive deviation. At this stage, group labels remain attached to the observations but do not affect score assignment.

Step 3: assign alternating-extreme scores

Assignment stepPooled positionScoreInterpretation
1Smallest centered value1Extreme low tail
2Largest centered value2Extreme high tail
3Second largest3Next high-tail position
4Second smallest4Next low-tail position
5Third smallest5Continue inward
6Third largest6Continue inward
T = ∑i ∈ F si

T is the sum of tie-adjusted Siegel–Tukey scores for the female sample. Small T values place more female observations at the pooled extremes.

E(T) = nF

The score vector is a permutation of 1 through N before tie averaging, so s̄ = (N + 1)/2 = 325. Therefore E(T) = 383 × 325 = 124,475.

Var(T) = [nFnM / N(N − 1)] ∑(si − s̄)2

The workbook evaluates this finite-population variance from the complete tie-adjusted score set.

z = [T − E(T)] / √Var(T)

The two-sided large-sample p-value is calculated from |z| using the standard normal distribution.

Ties require average scores. If several observations share the same centered value, they occupy multiple pooled positions. Every member of the tie block receives the average of all alternating-extreme scores assigned to those positions. Arbitrarily ordering tied cases would make the result depend on row order.

Verified large-sample calculation

Observed T121,481.971071
Expected T124,475.000000
Variance5,271,279.282712
Standard error2,295.926672
z statistic-1.303626
Two-sided p0.192361246

Direction of the result

The female score sum is 2,993.029 points below expectation. Since extremes receive low scores, the sign is consistent with slightly greater female spread after median centering. The evidence is not strong enough to reject equal scale.

The standardized descriptive index |z|/√N is 0.051. This is small and should be reported only as a descriptive supplement, not as a universally standardized Siegel–Tukey effect size.

6

Siegel Tukey Test example: final-grade dispersion by gender

A complete worked comparison using 649 final grades.

This Siegel Tukey Test example uses the final grade G3 and a two-level gender grouping. It documents the original location difference, median centering, alternating-extreme scores, tie averaging, group score sum, expected value, variance, z statistic and final interpretation.

Research scenario

The outcome is final grade G3. The research question asks whether grade dispersion around the group-specific median differs between female and male students. The original medians are not identical, so the workbook subtracts each group’s observed median before pooling the deviations.

Applied question: after centering female grades on 12 and male grades on 11, do the two gender groups differ in the spread of final grades around their respective centers?

This wording is more accurate than saying the raw distributions have equal location. It also prevents the scale conclusion from being confused with the observed one-point median difference.

Variables used

RoleVariableCoding / meaning
OutcomeG3Final numeric grade, observed from 0 to 19.
GroupingGenderF = female; M = male.
Sample 1Fn = 383.
Sample 2Mn = 266.
Analyzed score inputCentered G3Raw grade minus the within-gender median.
Mean, female12.2533SD = 3.1241
Mean, male11.4060SD = 3.3207
Original median12 vs 11Requires location attention
Centered |deviation| mean2.368 vs 2.353Very similar descriptive spread
Descriptive context: raw male grades have a slightly larger standard deviation, while mean absolute centered deviations are nearly identical. Those mixed summaries illustrate why no single descriptive measure should replace the formal alternating-extreme rank analysis.
7

Siegel Tukey Test statistics, results and interpretation

All verified outputs reconcile to the same nonsignificant conclusion.

The Siegel Tukey Test statistics connect the female score sum to the null distribution. The observed score sum is below expectation, but only 1.304 standard errors away, so the two-sided result does not reject equal median-adjusted dispersion.

Primary inference

p = 0.192

Fail to reject H0

At α = .05, the data do not provide statistically significant evidence that centered final-grade dispersion differs between female and male students.

Calculation audit

Observed female sum121,481.971071
Expected sum124,475.000000
Score variance5,271,279.282712
Standard error2,295.926672
z statistic-1.303626
EvidenceVerified valueDecisionInterpretation
Female score sum121,481.971071Below expectationDirectional tendency toward more female extreme occupancy
Expected score sum124,475Null referenceBased on random labels and the complete score set
z statistic-1.303626Not extremeOnly 1.304 standard errors below expectation
Two-sided p-value0.192361246Fail to rejectNo significant scale difference detected
Do not write “female and male variances are equal.” A nonsignificant result means that this analysis did not detect sufficient evidence of a difference. It is not an equivalence test and does not establish identical population dispersions.
8

Siegel Tukey Test in Python: complete calculation and charts

A transparent custom calculation reproduces the workbook exactly.

The Siegel Tukey Test in Python should expose the location adjustment, alternating-extreme score sequence, tie averaging and finite-population variance. A generic rank-sum function is not enough unless the special Siegel–Tukey scores have already been constructed correctly.

Python / pandas + SciPyimport numpy as np
import pandas as pd
from scipy.stats import norm

# The public analysis label is gender; categories are F and M.
df = pd.read_csv("student_grades.csv")[["G3", "gender"]].dropna()

# Align locations separately because the original medians are 12 and 11.
df["centered_G3"] = df["G3"] - df.groupby("gender")["G3"].transform("median")
df = df.sort_values("centered_G3", kind="mergesort").reset_index(drop=True)
N = len(df)

# Raw Siegel-Tukey position scores: lowest, highest, second-highest,
# second-lowest, then repeat the same two-from-each-extreme pattern.
pos_score = np.empty(N, dtype=float)
left, right, s = 0, N - 1, 1
while left <= right:
pos_score[left] = s; left += 1; s += 1
if left <= right:
pos_score[right] = s; right -= 1; s += 1
if left <= right:
pos_score[right] = s; right -= 1; s += 1
if left <= right:
pos_score[left] = s; left += 1; s += 1

# Average occupied position scores inside every tied centered value.
df["position_score"] = pos_score
df["st_score"] = df.groupby("centered_G3")["position_score"].transform("mean")

focus = "F"
n1 = (df["gender"] == focus).sum()
n2 = N - n1
T = df.loc[df["gender"] == focus, "st_score"].sum()
a = df["st_score"].to_numpy()
a_bar = a.mean()
E = n1 * a_bar
V = (n1 * n2 / (N * (N - 1))) * np.sum((a - a_bar) ** 2)
z = (T - E) / np.sqrt(V)
p_value = 2 * norm.sf(abs(z))
print(T, E, V, z, p_value)

Verification target: the Python code should return T = 121481.971071, E(T) = 124475, Var(T) = 5271279.282712, z = -1.303626 and p = 0.192361246. Material differences usually indicate a different extreme-score sequence, missing median adjustment or incorrect tie averaging.
Python primary metrics chart for the Siegel Tukey Test

Python result summary

The first Python chart gives the complete statistical headline: female n = 383, male n = 266, female score sum = 121,481.971, expected score sum = 124,475, variance = 5,271,279.283, z = -1.304 and p = 0.192. It is full-width so the compact metrics remain readable.

Python gender scale summary for the Siegel Tukey Test

Python gender scale summary

The group summary combines sample size, original median, centered spread summaries and score totals. The chart retains the supplied F and M coding while the article uses the public label gender. The important pattern is that descriptive spread measures are close and the female score sum is only modestly below expectation.

Python alternating extreme scoring chart for the Siegel Tukey Test

Python alternating-extreme scores

This method-specific chart shows the centered grade values and the way scores rise toward the pooled center. Very low and very high centered grades receive small scores, while values near zero receive the largest scores. The pattern explains why a more dispersed group tends to produce a smaller score sum.

Python score quantile comparison for the Siegel Tukey Test

Python score quantiles

The female and male score quantiles are almost identical: the pooled score quartiles are approximately 158.5, 375.493 and 526.5. The similarity of the central score summaries supports the nonsignificant result.

Python verified result summary for the Siegel Tukey Test

Python verified result summary

The final Python panel consolidates the observed sum, expected sum, variance, z statistic and p-value. Agreement with the workbook confirms that the location alignment, alternating-extreme sequence, tie correction and random-label variance were implemented consistently.

9

Siegel Tukey Test in R: reproducible scores, ties and validation

The R section uses exactly the same chart layout and statistical target as Python.

The Siegel Tukey Test in R can be run through a specialist package or implemented transparently with custom scores. The custom workflow shown here is useful because it makes the sample-median alignment and tie-adjusted score construction visible rather than relying on undocumented defaults.

R / dplyr + statslibrary(dplyr)

df <- read.csv("student_grades.csv") |>
select(G3, gender) |>
filter(complete.cases(.)) |>
group_by(gender) |>
mutate(centered_G3 = G3 - median(G3)) |>
ungroup() |>
arrange(centered_G3)

N <- nrow(df)
position_score <- rep(NA_real_, N)
left <- 1; right <- N; s <- 1
while (left <= right) {
position_score[left] <- s; left <- left + 1; s <- s + 1
if (left <= right) {position_score[right] <- s; right <- right - 1; s <- s + 1}
if (left <= right) {position_score[right] <- s; right <- right - 1; s <- s + 1}
if (left <= right) {position_score[left] <- s; left <- left + 1; s <- s + 1}
}

df$position_score <- position_score
df <- df |>
group_by(centered_G3) |>
mutate(st_score = mean(position_score)) |>
ungroup()

n1 <- sum(df$gender == "F")
n2 <- N - n1
T <- sum(df$st_score[df$gender == "F"])
a_bar <- mean(df$st_score)
E <- n1 * a_bar
V <- (n1 * n2 / (N * (N - 1))) * sum((df$st_score - a_bar)^2)
z <- (T - E) / sqrt(V)
p_value <- 2 * pnorm(-abs(z))
c(T=T, expected=E, variance=V, z=z, p=p_value)

Specialist R packages also provide Siegel–Tukey functions, but package defaults can differ on median adjustment, exact inference, score direction and tie handling. The article therefore reports the audited custom calculation and uses package output only as a secondary cross-check. The verified R result matches Python and Excel to floating-point precision.

R primary metrics chart for the Siegel Tukey Test

R result summary

The R result summary reproduces the same verified metrics as Python. It uses the same full-width card placement, not a smaller layout, so the statistical labels and scaled bars remain readable on desktop.

R gender scale summary for the Siegel Tukey Test

R gender scale summary

This R chart mirrors the Python gender summary in the same two-column card width. It shows the sample-size imbalance, the original medians, centered spread summaries and group score totals without changing the underlying analysis.

R alternating extreme scoring chart for the Siegel Tukey Test

R alternating-extreme scores

The R score profile shows the same alternating-extreme logic as Python. Scores are smallest in both tails and largest near centered zero, demonstrating that the method measures relative spread rather than location.

R score quantile comparison for the Siegel Tukey Test

R score quantiles

The R score quantile panel matches the Python panel in size, order and caption structure. The nearly overlapping quantiles are consistent with the failure to reject equal median-adjusted scale.

R verified result summary for the Siegel Tukey Test

R verified result summary

The final R panel repeats the audited statistic and p-value. Numerical agreement across R, Python and Excel is the central reproducibility check for this tied, median-adjusted analysis.

10

Siegel Tukey Test SPSS workflow and corrected interpretation

SPSS supports the data preparation, but the score test requires a custom workflow.

A Siegel Tukey Test SPSS analysis requires care because the standard menus do not expose a dedicated alternating-extreme score dialog. The supplied SPSS output should therefore be described as a validated custom workflow rather than as a native one-click table.

What SPSS can do directly

SPSS can verify coding, missing values, group sizes, medians, standard deviations, quartiles, histograms and boxplots. It can also calculate group medians, create centered grades and preserve the full row-level audit trail. These steps are essential because the original medians differ.

The final alternating-extreme score assignment and tie-adjusted variance can be completed through syntax, Python/R integration or an imported score column generated from the verified workbook.

Recommended workflow

Rename the public grouping label to gender.
Verify n = 383 and 266 and original medians = 12 and 11.
Center G3 within gender before pooling.
Assign and average alternating-extreme scores correctly.
Reconcile T, E(T), variance, z and p with Python, R or Excel.
SPSS syntax outline* Rename the source grouping field to gender for public reporting.
RENAME VARIABLES (sex = gender).

* Center G3 within each gender group before the scale comparison.
AGGREGATE OUTFILE=* MODE=ADDVARIABLES
/BREAK=gender
/group_median=MEDIAN(G3).
COMPUTE centered_G3=G3-group_median.
EXECUTE.

* SPSS has no standard one-click Siegel-Tukey dialog.
* Sort pooled centered values, assign alternating-extreme scores,
* average score positions within ties, and calculate the group sum,
* expectation, finite-population variance, z, and two-sided p.
* The supplied PDF documents the validated custom workflow.

Do not substitute a different procedure and label it Siegel–Tukey. Levene, Brown–Forsythe, Ansari–Bradley and Mood tests are valid scale methods, but each uses different scores or transformed deviations. Report the method actually calculated.
11

Siegel Tukey Test Excel calculation with median adjustment and ties

The worked workbook provides a full row-level audit trail.

The Siegel Tukey Test Excel file separates raw data, centered values, test scores, calculations, diagnostics and verified reporting. It is designed to show every numerical step rather than presenting a decorative p-value.

Recommended worksheet process

Excel calculation outline1. Calculate each group median and centered value:
=G3 - MEDIANIFS(G3_range, gender_range, current_gender)
2. Sort all centered values together from smallest to largest.
3. Assign raw Siegel-Tukey scores in this order:
lowest=1, highest=2, second-highest=3, second-lowest=4,
third-lowest=5, third-highest=6, fourth-highest=7,
fourth-lowest=8, and continue.
4. Average the occupied position scores inside ties with AVERAGEIFS.
5. Female score sum:
=SUMIFS(score_range, gender_range, "F")
6. Expected sum:
=nF*AVERAGE(score_range)
7. Variance:
=nF*nM/(N*(N-1))*DEVSQ(score_range)
8. z and p:
=(T-E)/SQRT(V)
=2*(1-NORM.S.DIST(ABS(z),TRUE))
Why tie averaging matters: the centered grade variable has many repeated integer values. Each repeated value occupies a block of alternating-extreme positions, and every observation in that block must receive the average score. Otherwise, results can depend on row order.

The reporting sheet cross-checks the workbook values against an independently verified reference. The differences are only floating-point rounding: approximately 1.46 × 10−11 for the score sum and 3.26 × 10−14 for the p-value. This confirms that Excel reproduces the intended calculation accurately.

12

Siegel Tukey Test in MATLAB and SAS

SAS provides native Siegel–Tukey scores; MATLAB generally requires a custom score routine.

Searches for the Siegel Tukey Test MATLAB and Siegel Tukey Test SAS often lead to Tukey HSD material instead. The procedures are unrelated. SAS PROC NPAR1WAY provides the ST option, while MATLAB users can reproduce the alternating-extreme ranks directly.

MATLAB custom implementation

MATLAB outline% G3 and gender are column vectors.
centered = G3;
centered(gender=="F") = G3(gender=="F") - median(G3(gender=="F"));
centered(gender=="M") = G3(gender=="M") - median(G3(gender=="M"));
% Sort pooled centered values, create the alternating-extreme
% position scores, average within ties, then calculate T, E, V, z and p.

MATLAB does not need a dedicated function for the calculation because the score sequence is deterministic. The implementation should be checked against the verified values in this guide.

SAS PROC NPAR1WAY

SAS / PROC NPAR1WAYproc npar1way data=centered_grades st;
class gender;
var centered_G3;
exact st / mc;
run;

The ST option requests Siegel–Tukey scores. SAS documentation notes that the procedure can provide asymptotic and exact or Monte Carlo inference. Report whether continuity correction, exact calculation or Monte Carlo estimation was used, because those details can produce small differences from the workbook’s uncorrected normal calculation.

13

Siegel Tukey Test vs Ansari Bradley, Levene and other scale tests

Choose according to the design, score system and inferential target.

The Siegel Tukey Test vs Ansari Bradley Test comparison is especially important because both are two-sample nonparametric scale procedures. They differ in their score patterns: Siegel–Tukey alternates ranks from the extremes, while Ansari–Bradley assigns directly symmetric center-outward scores.

MethodMain targetCore mechanismLocation concernBest use
Siegel–TukeyTwo-sample relative spreadAlternating-extreme ranksRequires comparable location or justified alignmentOrdinal or numeric independent samples
Ansari–BradleyTwo-sample scaleSymmetric center-outward scoresCommon location is centralClassical rank-based scale comparison
Levene testEquality of dispersionANOVA on absolute deviationsUses a chosen centerWidely used for two or more groups
Brown–Forsythe testRobust equality of dispersionAbsolute deviations from group mediansMedian-centered by designRobust multi-group comparison
Fligner–Killeen testHomogeneity of scaleRanked absolute deviationsRobust center handlingThree or more groups or robust sensitivity
Moses testExtreme reaction spreadControl-span logicDifferent constructionExtreme-dispersion alternatives

The current result can be compared with descriptive and alternative scale methods as a sensitivity analysis. However, analysts should not run many scale tests and report only the smallest p-value. Select a primary method before seeing the results and use alternatives to assess robustness, not to search for significance.

Why alternating-extreme ranks answer a different question

The Siegel Tukey Test is often introduced as if it were simply a Wilcoxon test with an unusual ranking order. That description is mechanically true but scientifically incomplete. Ordinary ranks increase monotonically from the smallest to the largest observation, so their sum is sensitive primarily to location or stochastic ordering. Siegel–Tukey scores deliberately break that monotonic pattern. They assign small values at both ends and large values near the middle. As a result, the Siegel Tukey Test reacts when one group occupies both tails more often, which is the pattern expected from a larger scale after location has been aligned.

This distinction also explains why the sign of the score difference can seem counterintuitive. In the current Siegel Tukey Test, the female sum is below its expectation. A lower score sum does not mean lower grades; it means more observations have received the low numbers reserved for pooled extremes. Because the grades were centered first, those extremes represent unusually large negative or positive deviations from the gender-specific median. Direction should therefore be described in terms of relative spread, not academic performance.

What the nonsignificant result does and does not imply

A p-value of 0.192 means the observed score imbalance is compatible with ordinary random variation under the equal-scale reference model. The Siegel Tukey Test did not detect a statistically persuasive difference, but the result does not establish exact equality. There may be a small population-scale difference that the current data and score test cannot distinguish from sampling noise. The standardized index of 0.051 is consistent with a small departure, and the centered absolute deviations are almost identical. Together, those pieces of evidence support a restrained conclusion rather than an absolute statement.

Formal equivalence requires a different design. Researchers would need to define a practically negligible range for a scale ratio or another dispersion parameter and then demonstrate that uncertainty lies inside that range. The Siegel Tukey Test provides a conventional difference test, so its nonsignificant outcome should be reported as insufficient evidence against equal median-adjusted scale.

Eight interpretation questions to answer before publication

Was the Siegel Tukey Test chosen because dispersion was the primary estimand? Was the Siegel Tukey Test applied to independent samples? Did the Siegel Tukey Test use an outcome with a meaningful order? Was location checked before the Siegel Tukey Test scores were assigned? Were ties in the Siegel Tukey Test averaged across all occupied positions? Does the reported Siegel Tukey Test statistic belong to a clearly named focus group? Is the Siegel Tukey Test p-value linked to the stated asymptotic, exact or Monte Carlo method? Does the final Siegel Tukey Test conclusion avoid claiming proven equality?

Answering all eight questions creates a compact audit trail. In the present analysis, the design is independent, the outcome is ordered, the original medians are disclosed, separate-median centering is stated, ties are averaged, the female group is the focus, the normal reference calculation is identified and the conclusion is deliberately cautious. The Siegel Tukey Test is therefore reproducible from the supplied files, and the Siegel Tukey Test interpretation remains tied to the stated median-adjusted target.

14

Diagnostics, sensitivity checks and common mistakes

A defensible analysis combines the p-value with location, shape and tie checks.

A credible Siegel Tukey Test report must explain why the score sum represents dispersion rather than location. Diagnostics should examine medians, standardized shapes, ties, bounded outcomes, influential tails, group imbalance and sensitivity to the chosen centering method.

Before the test

Confirm that the two gender samples are independent.
Inspect raw medians before pooling values.
Plot histograms, boxplots and empirical distributions.
Count ties and document average-score handling.
Check impossible grades and missing-value rules.

After the test

Report the separate-median alignment explicitly.
Compare descriptive spread measures with the score direction.
Avoid treating p > .05 as proof of equivalence.
Reconcile Python, R, SPSS and Excel results.
Use a robust alternative if the shape assumption is doubtful.

Frequent reporting errors

ErrorWhy it is wrongBetter practice
Confusing it with Tukey HSDTukey HSD is an ANOVA post-hoc mean-comparison procedure.Describe the Siegel–Tukey method as a two-sample scale test.
Ignoring unequal mediansA location shift can create apparent pooled extremes.Check location and describe any alignment.
Hiding sample-median centeringThe adjustment changes the analyzed outcome and inferential interpretation.Report original medians and the centering formula.
Breaking ties arbitrarilyResults can depend on row ordering.Average all occupied score positions within a tie.
Calling nonsignificance equalityFailure to reject is not an equivalence conclusion.Use cautious language and report descriptive uncertainty.

Supporting checks are explained in outlier detection, box plot interpretation, histogram interpretation and descriptive statistics.

Median-adjustment sensitivity

The most important sensitivity question in this worked Siegel Tukey Test is whether subtracting the two sample medians is an acceptable representation of the research target. The adjustment is easy to calculate, but it is not a neutral data-cleaning step. It removes the observed one-point location difference and asks whether residual deviations around the two estimated centers have different spreads. A reader who cares about the complete raw grade distributions may prefer to report a separate location analysis alongside the scale test.

A strong analysis plan can therefore contain two prespecified components. First, use a location procedure such as the Mann–Whitney U test or a model appropriate to the grade scale. Second, apply the Siegel Tukey Test to a defensibly aligned outcome when the dispersion question remains important. Keeping those targets separate prevents a location difference from being hidden inside a scale analysis and prevents the scale result from being misreported as a general gender comparison.

Ties, bounded grades and effective information

Final grades are bounded integers, so many students share the same centered value. The nominal sample size is 649, but the effective information available to the Siegel Tukey Test is reduced by repeated values. Tie averaging is mathematically necessary, and it also makes the score distribution less variable than it would be for 649 distinct continuous observations. Analysts should not assume that a large row count automatically guarantees high power when the outcome has only a modest number of possible values.

The bounded range also creates asymmetry after separate median centering. Female centered grades extend from −12 to 7, whereas male centered grades extend from −11 to 8. The Siegel Tukey Test combines both tails through its score ordering, but the shapes need not be mirror images. This is another reason to accompany the p-value with the supplied scored-observation chart, score quantiles and ordinary distribution summaries.

Power and sample-size interpretation

Power for the Siegel Tukey Test depends on sample sizes, group imbalance, the number and pattern of ties, the shape of the underlying populations and the form of the scale difference. With 383 female and 266 male observations, the study is not small, but the groups are unequal and grades are highly tied. A scale difference concentrated in only one tail may also be less aligned with the two-tail alternating-extreme score pattern than a broad symmetric expansion.

Prospective studies should use simulation whenever possible. Generate data that reflect the expected grade bounds, tie frequencies, location difference and candidate scale effects; apply the same median adjustment and Siegel Tukey Test algorithm; then estimate the rejection rate. Generic power formulas based on continuous normal outcomes may misrepresent the performance of this specific tied ordinal-like setting.

Calculator and software audit checklist

The raw group medians are displayed before any adjustment.
The centered outcome is created within the correct gender category.
All centered observations are pooled before score assignment.
The alternating order begins lowest, highest, second highest, second lowest.
Tie blocks receive average occupied scores.
The focus-group score sum is identified explicitly.
Expectation and variance use the full final score vector.
The sign is translated into extreme occupancy rather than raw grade direction.
The p-value method and continuity correction are named.
The conclusion avoids claims of proven equality.
15

How to report the Siegel Tukey Test in APA style

Include the scale question, location adjustment, statistic, p-value and cautious conclusion.

Report the Siegel Tukey Test with the group definitions, sample sizes, original medians, centering rule, tie handling, score sum, expectation, z statistic and p-value. Do not write that variances are equal merely because p exceeds .05.

APA-style result

Example: A two-sided Siegel–Tukey scale test compared final-grade dispersion between female students (n = 383, Mdn = 12, SD = 3.12) and male students (n = 266, Mdn = 11, SD = 3.32). Because the observed medians differed, grades were centered within gender before the pooled alternating-extreme scores were assigned. The median-adjusted difference in dispersion was not statistically significant, T = 121,481.97, z = -1.30, p = .192. Therefore, the data did not provide sufficient evidence that spread around the gender-specific medians differed.

Compact technical report

Siegel–Tukey: female n = 383; male n = 266; original medians = 12 and 11; separate-median adjustment; T = 121,481.97; E(T) = 124,475; tie-adjusted SE = 2,295.93; z = -1.304; two-sided p = 0.1924; fail to reject equal median-adjusted scale.

Reporting checklist

Outcome and groupsIndependent designGroup nOriginal mediansCentering ruleTie methodScore sumz statisticp-valueCautious conclusion
16

Siegel Tukey Test PDF, Excel and software downloads

Open the verified reports and formula-driven workbook.

The downloadable Siegel Tukey Test PDF reports and Excel file allow readers to verify the exact median adjustment, alternating-extreme scoring, tie handling and final inference. Python, R, SPSS and Excel should agree before publication.

17

Official Siegel Tukey Test references and software documentation

Primary and authoritative references used to verify the method and software syntax.

The Siegel Tukey Test implementation in this guide was checked against the original methodological paper, R package documentation and official SAS PROC NPAR1WAY documentation. These sources clarify the scale target, specialist function options and native SAS score analysis.

Original JASA paper

The original Siegel and Tukey paper introduced the nonparametric sum-of-ranks procedure for relative spread in unpaired samples.

R documentation

The CRAN CNPS::siegel_tukey documentation describes the two-sample scale test and its median-adjustment option.

SAS documentation

The official SAS PROC NPAR1WAY documentation lists Siegel–Tukey scores among its scale-difference analyses and identifies the ST option.

18

Siegel Tukey Test FAQs

Answers to the questions most often missed in short definitions.

These Siegel Tukey Test FAQs cover the scale target, alternating-extreme ranks, median assumptions, centering, ties, software, direction and the difference from Tukey HSD and Ansari–Bradley.

What is the Siegel Tukey Test?
It is a nonparametric two-sample rank test for relative spread or dispersion. Pooled observations are scored by alternating between the extremes and moving inward, after which a group score sum is evaluated under random labels.
Is the Siegel Tukey Test the same as Tukey HSD?
No. Tukey HSD is a post-hoc mean-comparison procedure after ANOVA. The Siegel–Tukey procedure is a two-sample nonparametric scale test.
What are the main assumptions?
The main conditions are two independent samples, an orderable outcome, comparable population location, similar standardized shape apart from scale, a design supporting inference and correct treatment of ties.
Why does common location matter?
A location shift can move one group toward a pooled tail even when its scale is unchanged. That can contaminate a test designed to interpret extreme occupancy as dispersion.
Why were grades centered separately in this example?
The original observed medians were 12 for female students and 11 for male students. The workbook subtracts each group’s sample median so the score comparison focuses on deviations around the group-specific centers. This adjustment must be reported because it changes the exact target.
How are Siegel–Tukey scores assigned?
The smallest observation receives score 1, the largest score 2, the second largest score 3, the second smallest score 4, the third smallest score 5, the third largest score 6, and the pattern continues inward.
How are ties handled?
Every tied observation receives the average of the alternating-extreme scores associated with the pooled positions occupied by the entire tie block. The null variance should use the resulting score set.
What does a low group score sum mean?
Because pooled extremes receive low scores, a lower-than-expected sum indicates that the focus group occupies more extreme positions and therefore tends toward greater spread.
How do I interpret p = .192?
The observed female score sum is not sufficiently far from its null expectation to reject equal median-adjusted dispersion at α = .05. No statistically significant scale difference was detected.
Can the test prove equal variability?
No. A nonsignificant result is not proof of equality. Formal equivalence requires a prespecified practically negligible difference and an appropriate equivalence design.
What is the difference between Siegel–Tukey and Ansari–Bradley?
Both are two-sample rank-based scale tests. Siegel–Tukey uses an alternating extreme ordering, while Ansari–Bradley uses directly symmetric scores that increase from both tails toward the center.
Does SPSS have a direct menu for the test?
Standard SPSS menus do not provide a dedicated one-click Siegel–Tukey scale-test dialog. A validated custom scoring workflow or Python/R integration is normally required.
Can it be used for more than two groups?
The standard test is for two independent samples. For three or more groups, consider Fligner–Killeen, Brown–Forsythe or another suitable multi-group dispersion method.
Should I report raw SDs too?
Yes. Report medians, SDs, IQRs or centered-deviation summaries alongside the score statistic and p-value, while making clear that the inferential target is rank-based scale rather than equality of observed SDs.

Related statistical guides

Continue with the method that best matches the next research question.

↑ Back to top