Chip Foundry Services Request Assessment

Non-Parametric Test

A non-parametric test draws a conclusion without assuming that the data follow a specific distribution, such as a normal curve with an estimated mean and spread. Most of these tests replace each measurement by its rank (1 for the smallest, 2 for the next, and so on) and ask whether the ranks are arranged unusually. Because only order matters, one extreme reading cannot dominate the result.

How the rank approach works:

Are the usual assumptions safe?
roughly normal, no wild outliers, interval-scale data
If not, replace values with ranksorder information survives, distance does not
Pool and rank all values
smallest = 1, ties share the average rank
Summarise ranks
rank sums, signs, or rank correlations
Reference distribution
exact permutation or a normal approximation
Pick the matching rank-based test
see the table of replacements below

Which test replaces which. Each common parametric test has a rank-based partner, and each partner has its own entry in this glossary:

QuestionParametric testRank-based partner
Two independent groupsTwo-sample t-testMann-Whitney U
Two paired measurementsPaired t-testWilcoxon signed-rank
Three or more independent groupsOne-way ANOVAKruskal-Wallis
Three or more repeated conditionsRepeated-measures ANOVAFriedman test
Monotone associationPearson correlationSpearman correlation

Why it matters: an outlier example. Recipe A and recipe B each etch six wafers. The six A values are $10.1,\,10.8,\,11.2,\,11.6,\,12.0,\,12.4$. For B they are $11.9,\,12.6,\,13.1,\,13.5,\,14.2$ and a stray $41.0$, perhaps a metrology glitch or a real excursion. B is higher almost wafer for wafer, but the single large value raises the B mean to $17.7$ and its standard deviation to $11.4$, so Welch's t-test gives $t=-1.36$ and $p=0.231$ and sees no difference. If the stray value were an ordinary $14.0$, the same test would give $p=0.0035$.

The rank version of the data is unaffected. In the pooled order the A wafers take ranks $1,2,3,4,6,7$ and the B wafers take $5,8,9,10,11,12$, with rank sums $23$ and $55$. The Mann-Whitney exact test gives $U=2$ and $p=0.0087$ whether the last value is $41.0$ or $14.0$, because both are simply the largest rank:

One extreme value can hide a clear difference same 12 measurements: raw values (left) and ranks (right); the ranks do not care how far 41.0 is Raw values: t-test sees the spread Recipe A mean 11.3 Recipe B mean 17.7 41.0 10 20 30 40 Welch t-test: p = 0.231 Ranks: the same data, order only Recipe A rank sum 23 Recipe B rank sum 55 1 4 8 12 Mann-Whitney: p = 0.0087 (also with 14.0)

This does not make the outlier unimportant. If $41.0$ is a real process excursion, it deserves investigation of its own. The rank test only prevents that one value from deciding the comparison of the typical wafer.

The trade-offs.

  • Cost of safety: under perfectly normal data the Mann-Whitney test needs only about $1/0.955$, or $5\%$, more observations than the t-test, since its asymptotic relative efficiency is $3/\pi\approx0.955$. It can never fall below $0.864$ ($108/125$) for any distribution, and with heavy tails or outliers it can be far more powerful.
  • What is tested: a rank test looks for one group tending to give larger values. It is a test of medians or means only when the group shapes are similar, apart from a shift.
  • Small samples: very few observations limit how small an exact p-value can be. With $n=3$ per group the smallest possible two-sided p-value is $0.1$.
  • Ties and ordinal data: ranks handle ordered categories such as 1-to-5 ratings, but many ties reduce power and need a tie correction.
  • Estimates: report a rank-based effect measure such as the Hodges-Lehmann shift or the probability that a random wafer from one group exceeds one from the other, not just the p-value.
  • Not assumption-free: these tests still assume independent observations and, for most, identical distribution shapes under the null.

Read a non-parametric test as swapping measurements for their order: you lose some information about distance, and in return a single glitch or a skewed distribution cannot steer the answer.