Definition: A nonparametric
test (distributionfree) used to compare two independent groups of sampled data.
Assumptions: Unlike the
parametric ttest, this nonparametric makes no assumptions about the
distribution of the data (e.g., normality).
Characteristics: This test
is an alternative to the independent group ttest, when the assumption of
normality or equality of variance is not met. This, like many nonparametric
tests, uses the ranks of the data rather than their raw values to calculate the
statistic. Since this test does not make a distribution assumption, it is not as
powerful as the ttest.
Test: The hypotheses for the
comparison of two independent groups are:
H_{o}: The two samples
come from identical populations
H_{a}: The two samples
come from different populations
Notice that the hypothesis makes no
assumptions about the distribution of the populations. These hypotheses are also
sometimes written as testing the equality of the central tendency of the
populations.
The test statistic for the
MannWhitney test is U. This value is compared to a table of critical values for
U based on the sample size of each group. If U exceeds the critical value for U
at some significance level (usually 0.05) it means that there is evidence to
reject the null hypothesis in favor of the alternative hypothesis. (See the Zar
reference for details.)
Note: Actually, there are
two versions of the U statistic calculated, where U' = n_{1}n_{2}
 U where n_{1 }and_{ }n_{2} are the sample sizes of the
two groups. The largest of U or U' is compared to the critical value for the
purpose of the test.
Note: For sample sizes
greater than 8, a zvalue can be used to approximate the significance level for
the test. In this case, the calculated z is compared to the standard normal
significance levels.
Note: The U test is usually
perform as a twotailed test, however some text will have tabled onetailed
significance levels for this purpose. If the sample size if large, the ztest
can be used for a onesided test.
Graphical comparison: The
graphical comparison allows you to visually see the distribution of the two
groups. If the pvalue is low, chances are there will be little overlap between
the two distributions. If the pvalue is not low, there will be a fair amount of
overlap between the two groups. There are a number of options available in the
comparison graph to allow you to examine the two groups. These include box
plots, means, medians, and error bars.
Location in KWIKSTAT and WINKS:
The MannWhitney U test (independent group comparison test) is located in
the Analyze/Nonparametric comparisons menu. When there are more than two groups
in this comparison, the test becomes a KruskalWallis test.
See Also: The independent
group ttest.
Example: The MannWhitney U test in WINKS
The FERTILIZ.DBF database contains
information on the heights of plants that were grown using two different
fertilizers. The MannWhitney test can be used to determine if there is evidence
that one fertilizer that causes the plants to grow taller than the other.
Step 1: Open the FERTILIZ.SDA data set. (or create it as described in the ttest example.)
Step 2: Select Analyze, NonParametric Comparisons/Ind. Grp
Step 3: Select GROUP as the group field and OBS (Height) as the data field and choose Ok. The results will be displayed in the viewer.

NonParametric Independent Group Comparison

Results of
Non Parametric analysis:
Group
variable = GROUP Observation variable = OBS
Mann
Whitney U' = 24. U = 18.
Rank sum
group 1 = 46. N = 7 Mean Rank = 6.57
Rank sum
group 2 = 45. N = 6 Mean Rank = 7.5
Significance estimated using the z statistic.
Z = .357 p
= 0.721
(Note:
This Z calculation uses a correction for continuity.)
The program reports the pvalue
based on the z approximation. Since the sample sizes for both groups are less
than 8, you should can look up the critical value for n_{1} = 6 and n_{2}
= 7 in the table contained in the KWIKSTAT or WINKS manual (or in a textbook) to
see if the critical value is 34 for a test at the 0.05 level. Thus, if U' were
34 or greater, you could claim statistical significance at the 0.05 level. In
this case, the conclusion is that there is no difference in the two groups. Note
how this result agrees with the ttest for this same data set.
More about WINKS >>
Exercise: MannWhitney U test
Professor Testum wondered if
students tended to make better scores on his test depending if the test were
taken in the morning or afternoon. From a group of 19 similarly talented
students, he randomly selected some to take a test in the morning and some to
take it in the afternoon. The scores by groups were:
Morning 
Afternoon 
89.8 
87.3 
90.2 
87.6 
98.1 
87.3 
91.2 
91.8 
88.9 
86.4 
90.3 
86.4 
99.2 
93.1 
94.0 
89.2 
88.7 
90.1 
83.9 

1. Perform a MannWhitney U test on
this data. Remember that the program expect two fields, a Group field and an
Observation field.
2. What was the result?
3. From this evidence, does it
appear that time of day makes a difference in performance on a test?
4. Change the value 83.9 in the
second group to 11 and rerun the test. Does this change the statistic calculated
or the conclusion? Also perform an independent group ttest on the original and
changed data. Does it effect this statistic? Why?
5. Display a graphical comparison
of the original and changed data.
Do this analysis right NOW: WINKS SDA Statistical Software & Graphs provides extensive statistics in a professional and understandable software program designed from the ground up to be easy to learn and use.
We guarantee WINKS will meet your statistical needs  or your money back! (return within 30 days for full refund.)