Professional Documents
Culture Documents
Govt. Graduate College For Women Gulberg Lahore: Project Report For Statistics Spss (Mann-Whitney Test)
Govt. Graduate College For Women Gulberg Lahore: Project Report For Statistics Spss (Mann-Whitney Test)
SUMMITTED BY:
FASEEHA SARWAR (13)
MUQADDAS ASHRAF (24)
SIBGHA AMJAD (37)
SYEDA ABEEHA FATIMA (38)
SUMITTED TO:
“MA’AM ZAHRA RAIZ
“MANN-WHITNEY TEST”
Introduction:
It is a non-parametric statistical test used to compare two samples or groups, that can be used in
place of an unpaired t-test. It is used to test the null hypothesis that two samples come from the same
population (i.e. have the same median) or, alternatively, whether observations in one sample tend to be
larger than observations in the other.
The Mann-Whitney U test is the nonparametric equivalent of the two sample t-test. While the t-test
makes an assumption about the distribution of a population (i.e. that the sample came from a t-distributed
population), the Mann Whitney U Test makes no such assumption.
o Null hypothesis: There is no difference (in terms of central tendency) between the two groups in the
population.
o Alternative hypothesis: There is a difference (with respect to the central tendency) between the two
groups in the population.
Definition:
“The Mann Whitney U test, sometimes called the Mann Whitney Wilcoxon Test or the Wilcoxon
Rank Sum Test, is used to test whether two samples are likely to derive from the same population (i.e., that
the two populations have the same shape).”
Properties:
Mann Whitney test is the non-parametric alternative test to the independent sample test .It is the
non-parametric test that is used to compare two samples mean that come from the same population and
used to test weather two samples mean are equal or not.
Assumptions:
Assumptions for the Mann Whitney U Test
The dependent variable should be measured on an ordinal scale or a continuous scale.
The independent variable should be two independent, categorical groups.
Observations should be independent. In other words, there should be no relationship between the
two groups or within each group.
Observations are not normally distributed. However, they should follow the same shape (i.e. both
are bell-shaped and skewed left).
The sample drawn from the population is random. 2. Independence within the samples and mutual
independence is assumed. That means that an observation is in one group or the other (it cannot be
in both).
Uses of Mann Whitney test:
There are following uses of Mann Whitney test:
Mann-Whitney U test is used for every field, but is frequently used in psychology, healthcare,
nursing, business, and many other disciplines. For example, in psychology, it is used to compare
attitude or behavior, etc. In medicine, it is used to know the effect of two medicines and whether
they are equal or not.
It is also used to know whether or not a particular medicine cures the ailment or not. In business, it
can be used to know the preferences of different people and it can be used to see if that changes
depending on location.
The Mann-Whitney test is used as an alternative to a t test when the data are not normally
distributed.
The test can detect differences in shape and spread as well as just differences in medians.
Differences in population medians are often accompanied by equally important differences in shape.
Researchers should describe the clinically important features of data and not just quote a P value.
The Mann-Whitney test is a test of both location and shape. Given two independent
samples, it tests whether one variable tends to have values higher than the other. As Altman states, one
form of the test statistic is an estimate of the probability that one variable is less than the other, 1 although
this statistic is not output by many statistical packages. In the case where the only distributional difference
is a shift in location, this can indeed be described as a difference in medians. Hence, for example, the online
help facility in Minitab 10.51 states that the Mann-Whitney test is "a two-sample rank test for the
difference between two population medians... It assumes that the data are independent random samples
from two populations that have the same shape." Figure Figure11 shows two distributions for which this is
the case. One distribution is shifted 0.75 units to the right: the medians differ by 0.75 units but the shapes
are identical.
Theoretically, in large samples the Mann-Whitney test can detect differences in spread
even when the medians are very similar. However, an alternative form of the test is better than the standard
Mann- Whitney test for this purpose.2. The alternative test, however, is not very efficient when population
medians are unequal and is not widely available in statistical packages.
Differences in population medians are often accompanied by other differences in spread and
shape. Moreover, the difference in medians may not be the most striking or the most clinically important
difference. It is important to look at distributional differences and discuss them. Figure Figure22 shows an
example in which the median values are 0.65 and 1.14 units. The distribution with the larger median also
has larger spread. The spread is shown clearly in figure figure33, which shows box plots of samples of 25
drawn from these two distributions. (The P value from the Mann-Whitney test is 0.02.) If the difference is
assumed to be merely a difference in medians other clinically important information could be ignored.
Ranks
OBS Samples N Mean Rank Sum of Ranks
1 40 25.65 1026.00
2 40 55.35 2214.00
Total 80
TEST STATISTICSa
OBS
Mann-Whitney U 206.000
Wilcoxon W 1026.000
Z -5.717
Asymp. Sig.(2-tailed) 000
a.Grouping Variable:
SAMPLES
Procedure:
The following procedure used to find the result on spss
In the start go to variable view, in name variable make samples and observation
Zeroed both decimals
Then label the value; group1 is labeled with “1” and group 2 labeled with “2”
Now back to the data view
In the samples columns, enter 40 times 1 for group1 and 40 times 2 for the group 2 which is already
labeled
Put the all values of the group1 and group2
After entering the values. Click the Analysis option on the top
Then click the non-parametric test.
Then click on it. Legacy Dialogs. Then, click the 2 Independent Samples
Now the 2 Independent -samples Test box on Now. Put “OBS” in Test variable list and “Samples”
are in grouping Variable
Then define groups1 is “1” and group2 is “2”
Then click on OK
STEP 5:
P>0.05 = Ho accepted
000>0.05
STEP 6:
Conclusion
Ho is accepted.