Professional Documents
Culture Documents
Nonparametric Statistics
General Objectives:
In Chapters 810, we presented statistical techniques for
comparing two populations by comparing their respective
population parameters (usually their population means). The
techniques in Chapters 8 and 9 are applicable to data that
are at least quantitative, and the techniques in Chapter 10 are
applicable to data that have normal distributions. The purpose
of this chapter is to present several statistical tests for
comparing populations for the many types of data that do not
satisfy the assumptions specified in Chapters 810.
Data 2 3 4 5 6 8 9
Rank 1 2 3 4 5 6 7
n1
n2 2 3 4 5 6 7 8
3 6
4 6 11
5 3 7 12 19
6 3 8 13 20 28
7 3 8 14 21 29 39
8 4 9 15 23 31 41 51
9 4 10 16 24 33 43 54
10 4 10 17 26 35 45 56
235 180
225 169
190 180
188 185
178
182
169 2 1
178 2 2
180 2 3
180 2 4
182 2 5
185 2 6
188 1 7
190 1 8
225 1 9
235 1 10
For this two-tailed test with .05, you can use Table 7(b) in
Appendix I with n1 4 and n2 6. The critical value of T such
P (T ) 2 .025
that is 12, and you should reject the null
hypothesis if the observed value of T is 12 or less.
T T (34 .5) 22
z 2.45
T 22
The Wilcoxon Rank Sum Test for Large Samples:
n1 10and n2 10
1. Null hypothesis:
H0 : The population distributions are identical.
2. Alternative hypothesis:
Ha : The two population distributions are not identical
(a two-tailed test).
or Ha : The distribution of population 1 is shifted to the right
(or left) of the distribution on population 2
(a one-tailed test )
t n1 n1 n2 1 2
z
n1n2 n1 n2 1 12
4. Rejection region:
a. For a two-tailed test, reject H0 if z z/2 or z z/2 .
b. For a one-tailed test in the right tail, reject H0 if z z/2.
c. For a one-tailed test in the left tail, reject H0 if z z/2 .
Or reject H0 if p value
Tabulated values of z are found in Table 3 of Appendix I.
x .5n 63 (.5)(100 ) 13
z 2.60
.5 n .5 100 5
Assumptions:
- All sample sizes are greater than or equal to five.
- Ties take on the average of the ranks that they would
have occupied if they had not been tied.
The two variables of interest are rank and test score. The former is
already in rank form and the test scores can be ranked similarly,
as shown in Table 15.12. The ranks for tied observations are
obtained by averaging the ranks that the ties observations would
have had if no ties had been observed.
1 7 1
2 4 5
3 2 3
4 6 4
5 1 8
6 3 7
7 8 2
8 5 6
4. Rejection region:
For a two-tailed test, reject H0 if rs r0or rs r0where r0 is
given in Table 9 in Appendix I. Double the tabulated
probability to obtain the value of for the two-tailed test.
For a one-tailed test, reject H0 if rs r0 ( for an upper-tailed
test) or rs r0 (for a lower-tailed test). The -value for a
one-tailed test is the value shown in Table 9 in Appendix I.
6 d i2
rs 1
n(n 2 1)
6(144 )
1 .714
8(64 1)
Teacher xi yi di d i2
1 7 1 6 36
2 4 5 1 1
3 2 3 1 1
4 6 4 2 4
5 1 8 7 49
6 3 7 4 16
7 8 2 6 36
8 5 6 1 1
Total 144
x y x2 x y log10 ( x )
1 1 10 1
2 4 100 2
3 9 1000 3
4 16 10,000 4
5 25 100,000 5
6 36 1,000,000 6
T T
z
T
1998 Brooks/Cole Publishing/ITP
III. Sign Test for a Paired Experiment
1. Find x, the number of times that observation A exceeds
observation B for a given pair.
2. To test for a difference in two populations, test H0 : p .05
versus a one- or two-tailed alternative.
3. Use Table 1 of Appendix I to calculate the p-value for the
test.
4. When the sample sizes are large, use the normal
approximation:
x .5 n
z
.5 n
T n( n 1) 4
z
n(n 1)(2n 1) 24