
STAT 371 Discussion #7 Testing without normality
1. Two independent samples - Wilcoxon-Mann-Whitney Test (Sect. 7.11)
•Applicability: when we have two independent samples without normality.
•Statement of H0and HA:
H0: The population distribution of Y1and Y2are the same.
HA: The population distribution of Y1and Y2are different.
•Steps to do:
(a) Sort data in Y1and Y2
(b) Determine K1and K2as follows:
–The K1count: for each observation in sample 1, we count the number of
observations in sample 2 that are smaller in value. We count 1/2 for each tied
observation. The sum of all counts in sample 1 is K1
–The K2count: for each observation in sample 2, we count the number of
observations in sample 1 that are smaller in value. We count 1/2 for each tied
observation. The sum of all counts in sample 2 is K2
–Check: if the work is correct, K1+K2=n1n2
(c) Test statistics Usis the larger of K1and K2:Us=max{K1, K2}
(d) P-value are bracketed from Table 6 with n = the larger sample size, and n’ = the
smaller sample size.
(e) Conclusion: reject H0when p−value < α
•Directional alternative: if the HAis directional rather than nondirectional, the WMW
has two steps:
(a) Step 1. Check to see if data deviate from H0in the direction specified by HA. If
not, p-value is greater than 0.5 and we can not reject H0. If so, proceed to step 2.
(b) Step 2. The p-value are bracketed from the one-tail title instead of the two-tail as
in the nondirectional.
•Conditions for use of WMW: we still need randomness and independence of data.
•Example: Prob. 7.80 in the text book (P. 297)
2. Paired Samples - Sign Test (Sect. 9.4)
•The sign test is a nonparametric test that does not depend on a normal assumption for
the population of differences.
•To carry out a sign test, we ignore the magnitude of differences and just record whether
each difference is positive or negative.
•P-values are then computed from a binomial distribution with p= 0.5.
•Technically, the sign test is not testing equality of population means. Instead, a sign test
is testing if the differences are equally likely to be positive versus either a nondirectional
or directional alternative.
Office hours: Mon 3:00-5:00pm 1http://www.stat.wisc.edu/∼tran