Next Page Previous Page Home Tools & Aids Search Handbook
7. Product and Process Comparisons
7.3. Comparisons based on data from two processes

7.3.5.

Do two arbitrary processes have the same mean?

The nonparametric equivalent of the t-test is due to Mann and Whitney, called the U test By "arbitrary" we mean that we make no underlying assumptions about normality or any other distribution. The test is called the Mann-Whitney U-Test, which is the nonparametric equivalent of the t-test based for normal means.

The U-test (as the majority of nonparametric tests) uses the rank sums of the two samples.

Procedure The procedure flows as follows
  1. Rank all (n1 + n2) observations in ascending order. Ties receive the average of their observations.

  2. Calculate the sum of the ranks, call these Ta and Tb

  3. Calculate the U statistic,

      Ua = n1(n2) + .5(n1)(n1 + 1) - Ta

    or

      Ub = n1(n2) + .5(n2)(n2 + 1) - Tb

    where Ua + Ub = n1(n2).

Null Hypothesis The null hypothesis is: the populations have the same median. The alternative hypothesis is: The medians are NOT the same.
Test statistic The test statistic, U, is the smaller of Ua and Ub. For sample sizes larger than 20, we can use the normal z as follows:
    z = [ U - E(U)] / sigma
where
    E(U) = 0.5*(n1)*(n2) and sigma**2 = [n1*n2*(n1+n2+1)]/12
The critical value is the normal tabled z for alpha/2 for a two-tailed test or z at alpha level, for a one-tail test.

For small samples use tables, which are readily available in most textbooks on nonparametric statistics.

Example
An illustrative example of the U test Two processing systems were used to clean wafers. The following data represent the (coded) particle counts. The null hypothesis is that there is no difference between the means of the particle counts; the alternative hypothesis is that there is a difference. The solution shows the typical kind of output software for this procedure would generate, based on the large sample approximation.

Group A Rank Group B Rank

.55 8 .49 5
.67 15.5 .68 17
.43 1 .59 9.5
.51 6 .72 19
.48 3.5 .67 15.5
.60 11 .75 20.5
.71 18 .65 13.5
.53 7 .77 22
.44 2 .62 12
.65 13.5 .48 3.5
.75 20.5 .59 9.5


N Sum of Ranks U Std. Dev of U Median
A 11 106.000 81.000 15.229 0.540
B 11 147.000 40.000 15.229 0.635

Enter value for alpha (press Enter for .05): .05
Enter 1 or 2 for One- or Two-sided test: 2

E(U) = 60.500000

The Z-test statistic = 1.346133
The critical value = +/- 1.960395.

Phi(1.346133) = 0.910870
Right Tail Area = 0.089130

Cannot reject the null hypothesis.

A two-sided confidence interval about U - E(U) is:

Prob {-9.3545 < DELTA < 50.3545 } = 0.9500

DELTA is the absolute difference between U and E(U).
The test statistic is given by: (DELTA / SIGMA).

Home Tools & Aids Search Handbook Previous Page Next Page