Академический Документы
Профессиональный Документы
Культура Документы
CHAPTER 15
Section 15.1
1. We test 100 :
0
= H vs. 100 :
a
H . The test statistic is s
+
= sum of the ranks
associated with the positive values of ) 100 (
i
x , and we reject H
o
at significance level .05
if 64
+
s . (from Table A.13, n = 12, with 026 . 2 / = , which is close to the desired
value of . 025), or if
( )
14 64 78 64
2
13 12
= =
+
s .
i
x ) 100 (
i
x
ranks
105.6 5.6 7*
90.9 -9.1 12
91.2 -8.8 11
96.9 -3.1 3
96.5 -3.5 5
91.3 -8.7 10
100.1 0.1 1*
105 5 6*
99.6 -0.4 2
107.7 7.7 9*
103.3 3.3 4*
92.4 -7.6 8
S
+
= 27, and since 27 is neither 64 nor 14 , we do not reject H
o
. There is not enough
evidence to suggest that the mean is something other than 100.
2. We test 25 :
0
= H vs. 25 : >
a
H . With n = 5 and 03 . , reject H
o
if 15
+
s .
From the table below we arrive at s
+
=1+5+2+3 = 11, which is not 15 , so do not reject H
o
.
It is still plausible that the mean = 25.
i
x ) 25 (
i
x
ranks
25.8 0.8 1*
36.6 11.6 5*
26.3 1.3 2*
21.8 -3.2 4
27.2 2.2 3*
Chapter 15: Distribution-Free Procedures
458
3. We test 39 . 7 :
0
= H vs. 39 . 7 :
a
H , so a two tailed test is appropriate. With n =
14 and 025 . 2 / = , Table A.13 indicates that H
o
should be rejected if either
21 84
+
or s . The ) 39 . 7 (
i
x s are -.37, -.04, -.05, -.22, -.11, .38, -.30, -.17, .06, -.44,
.01, -.29, -.07, and -.25, from which the ranks of the three positive differences are 1, 4, and 13.
Since 21 18 =
+
s , H
o
is rejected at level .05.
4. The appropriate test is 30 :
0
= H vs. 30 : <
a
H . With n = 15, and 10 . = , reject
H
o
if
( )
37 83
2
16 15
=
+
s .
i
x ) 30 (
i
x ranks
i
x ) 30 (
i
x ranks
30.6 0.6 3* 31.9 1.9 5*
30.1 0.1 1* 53.2 23.2 15*
15.6 -14.4 12 12.5 -17.5 13
26.7 -3.3 7 23.2 -6.8 11
27.1 -2.9 6 8.8 -21.2 14
25.4 -4.6 8 24.9 -5.1 10
35 5 9* 30.2 0.2 2*
30.8 0.8 4*
S
+
= 39, which is not 37 , so H
o
cannot be rejected. There is not enough evidence to prove
that diagnostic time is less than 30 minutes at the 10% significance level.
5. The data is paired, and we wish to test 0 :
0
=
D
H vs. 0 :
D a
H . With n = 12 and
05 . = , H
o
should be rejected if either 64
+
s or if 14
+
s .
d
i
-.3 2.8 3.9 .6 1.2 -1.1 2.9 1.8 .5 2.3 .9 2.5
rank 1 10* 12* 3* 6* 5 11* 7* 2* 8* 4* 9*
72 =
+
s , and 64 72 , so H
o
is rejected at level .05. In fact for 01 . = , the critical value
is c = 71, so even at level .01 H
o
would be rejected.
Chapter 15: Distribution-Free Procedures
459
6. We wish to test 5 :
0
=
D
H vs. 5 : >
D a
H , where
white black D
= . With n = 9
and 05 . , H
o
will be rejected if 37
+
s . As given in the table below, 37 =
+
s , which
is 37 , so we can (barely) reject H
o
at level approximately .05, and we conclude that the
greater illumination does decrease task completion time by more than 5 seconds.
i
d 5
i
d rank
i
d 5
i
d rank
7.62 2.62 3* 16.07 11.07 9*
8 3 4* 8.4 3.4 5*
9.09 4.09 8* 8.89 3.89 7*
6.06 1.06 1* 2.88 -2.12 2
1.39 -3.61 6
7. 20 . :
0
=
D
H vs. 20 . : >
D a
H , where
indoor outdoor D
= . 05 . = , and
because n = 33, we can use the large sample test. The test statistic is
( )
( )( )
24
1 2 1
4
1
+ +
+
+
=
n n n
n n
s
Z , and
we reject H
o
if 96 . 1 z .
i
d 2 .
i
d rank
i
d 2 .
i
d rank
i
d 2 .
i
d rank
0.22 0.02 2 0.15 -0.05 5.5 0.63 0.43 23
0.01 -0.19 17 1.37 1.17 32 0.23 0.03 4
0.38 0.18 16 0.48 0.28 21 0.96 0.76 31
0.42 0.22 19 0.11 -0.09 8 0.2 0 1
0.85 0.65 29 0.03 -0.17 15 -0.02 -0.22 18
0.23 0.03 3 0.83 0.63 28 0.03 -0.17 14
0.36 0.16 13 1.39 1.19 33 0.87 0.67 30
0.7 0.5 26 0.68 0.48 25 0.3 0.1 9.5
0.71 0.51 27 0.3 0.1 9.5 0.31 0.11 11
0.13 -0.07 7 -0.11 -0.31 22 0.45 0.25 20
0.15 -0.05 5.5 0.31 0.11 12 -0.26 -0.46 24
434 =
+
s , so 56 . 2
9665 . 55
5 . 143
25 . 3132
5 . 280 424
= =
= z . Since 96 . 1 56 . 2 , we reject H
o
at significance level .05.
Chapter 15: Distribution-Free Procedures
460
8. We wish to test 75 :
0
= H vs. 75 : >
a
H . Since n = 25 the large sample
approximation is used, so H
o
will be rejected at level .05 if 645 . 1 z . The ( ) s x
i
' 75 are
5.5, -3.1, -2.4, -1.9, -1.7, 1.5, -.9, -.8, .3, .5, .7, .8, 1.1, 1.2, 1.2, 1.9, 2.0, 2.9, 3.1, 4.6, 4.7, 5.1,
7.2, 8.7, and 18.7. The ranks of the positive differences are 1, 2, 3, 4.5, 7, 8.5, 8.5, 12.5, 14,
16, 17.5, 19, 20, 21, 23, 24, and 25, so s
+
= 226.5 and
( )
5 . 162
4
1
=
+ n n
. Expression (15.2)
for
2
should be used (because of the ties): 2
4 3 2 1
= = = = , so
( )( ) ( )( )( )
75 . 1380 50 . 25 . 1381
48
3 2 1 4
24
51 26 25
2
= = =
+
s
and 16 . 37 = . Thus
72 . 1
16 . 37
5 . 162 5 . 226
=
= z . Since 645 . 1 72 . 1 , H
o
is rejected.
( ) 0427 . 72 . 1 1 = value p . The data indicates that true average toughness of the
steel does exceed 75.
9.
r
1
1 1 1 1 1 1 2 2 2 2 2 2
r
2
2 2 3 3 4 4 1 1 3 3 4 4
r
3
3 4 2 4 2 3 3 4 1 4 1 3
r
4
4 3 4 2 3 2 4 3 4 1 3 1
D 0 2 2 6 6 8 2 4 6 12 10 14
r
1
3 3 3 3 3 3 4 4 4 4 4 4
r
2
1 1 2 2 4 4 1 1 2 2 3 3
r
3
2 4 1 4 1 2 2 3 1 3 1 2
r
4
4 2 4 1 2 1 3 2 3 1 2 1
D 6 10 8 14 16 18 12 14 14 18 18 20
When H
o
is true, each of the above 24 rank sequences is equally likely, which yields the
distribution of D when H
o
is true as described in the answer section (e.g., P(D = 2) = P( 1243
or 1324 or 2134) = 3/24). Then c = 0 yields 042 .
24
1
= = while c = 2 implies
167 .
24
4
= = .
Section 15.2
10. The ordered combined sample is 163(y), 179(y), 213(y), 225(y), 229(x), 245(x), 247(y),
250(x), 286(x), and 299(x), so w = 5 + 6 + 8 + 9 + 10 = 38. With m = n = 5, Table A.14 gives
the upper tail critical value for a level .05 test as 36 (reject H
o
if W 36 ). Since 36 38 ,
H
o
is rejected in favor of H
a
.
Chapter 15: Distribution-Free Procedures
461
11. With X identified with pine (corresponding to the smaller sample size) and Y with oak, we
wish to test 0 :
2 1 0
= H vs. 0 :
2 1
a
H . From Table A.14 with m = 6 and n
= 8, H
o
is rejected in favor of H
a
at level .05 if either 61 w or if 29 61 90 = w (the
actual is 2(.021) = .042). The X ranks are 3 (for .73), 4 (for .98), 5 (for 1.20), 7 (for 1.33),
8 (for 1.40), and 10 (for 1.52), so w = 37. Since 37 is neither 61 nor 29 , H
o
cannot be
rejected.
12. The hypotheses of interest are 1 :
2 1 0
= H vs. 1 :
2 1
>
a
H , where 1(X) refers
to the original process and 2 (Y) to the new process. Thus 1 must be subtracted from each x
I
before pooling and ranking. At level .05, H
o
should be rejected in favor of H
a
if 84 w .
x 1 3.5 4.1 4.4 4.7 5.3 5.6 7.5 7.6
rank 1 4 5 6 8 10 15 16
y 3.8 4.0 4.9 5.5 5.7 5.8 6.0 7.0
rank 2 3 7 9 11 12 13 14
Since w = 65, H
o
is not rejected.
13. Here m = n = 10 > 8, so we use the large-sample test statistic from p. 663.
0 :
2 1 0
= H will be rejected at level .01 in favor of 0 :
2 1
a
H if either
58 . 2 z or 58 . 2 z . Identifying X with orange juice, the X ranks are 7, 8, 9, 10, 11,
16, 17, 18, 19, and 20, so w = 135. With
( )
105
2
1
=
+ + n m m
and
( )
22 . 13 175
12
1
= =
+ + n m mn
, 27 . 2
22 . 13
105 135
=
+ + +
= k . Since 251 . 6 06 . 14 , reject
H
o
.
24. After ordering the 9 observation within each sample, the ranks in the combined sample are
1: 1 2 3 7 8 16 18 22 27 104
. 1
= r
2: 4 5 6 11 12 21 31 34 36 160
. 2
= r
3: 9 10 13 14 15 19 28 33 35 176
. 3
= r
4: 17 20 23 24 25 26 29 30 32 226
. 4
= r
At level .05,
4 3 2 1 0
: = = = H will be rejected if 815 . 7
2
3 , 05 .
= k . The
computed k is
( )
( ) 587 . 7 37 3
5
226 176 160 104
37 36
12
2 2 2 2
=
+ + +
= k . Since
7.587 is not 815 . 7 , H
o
cannot be rejected.
25.
3 2 1 0
: = = H will be rejected at level .05 if 992 . 5
2
2 , 05 .
= k . The ranks are 1,
3, 4, 5, 6, 7, 8, 9, 12, 14 for the first sample; 11, 13, 15, 16, 17, 18 for the second; 2, 10, 19,
20, 21, 22 for the third; so the rank totals are 69, 90, and 94.
( )
( ) 23 . 9 23 3
5
94
6
90
10
69
23 22
12
2 2 2
=
+ + +
= k
Because 344 . 11 86 . 17 , reject
H
o
.
31. From Table A.16, m = n = 5 implies that c = 22 for a confidence level of 95%, so
4 1 22 25 1 = = = + c mn . Thus the confidence interval extends from the 4
th
smallest difference to the 4
th
largest difference. The 4 smallest differences are 7.1, -6.5, -6.1,
-5.9, and the 4 largest are 3.8, -3.7, -3.4, -3.2, so the C.I. is (-5.9, -3.8).
Chapter 15: Distribution-Free Procedures
467
32.
a. 0 :
2 1 0
= H will be rejected in favor of 0 :
2 1
a
H if either 56 w or
( ) 28 56 1 7 6 6 = + + w .
Gait D L L D D L L
Obs .85 .86 1.09 1.24 1.27 1.31 1.39
Gait D L L L D D
obs 1.45 1.51 1.53 1.64 1.66 1.82
43 13 12 8 5 4 1 = + + + + + = w . Because 43 is neither 56 nor 28 , we dont
reject H
o
. There appears to be no difference between
1
and
2
.
b.
Differences
Lateral Gait
.86 1.09 1.31 1.39 1.51 1.53 1.64
.85 .01 .24 .46 .54 .66 .68 .79
Diagonal 1.24 -.38 -.15 .07 .15 .27 .29 .40
gait 1.27 -.41 -.18 .04 .12 .24 .26 .37
1.45 -.59 -.36 -.14 -.06 .06 .08 .19
1.66 -.80 -.57 -.35 -.27 -.15 -.13 -.02
1.82 -.96 -.73 -.51 -.43 -.31 -.29 -.18
From Table A.16, c = 35 and 8 1 = + c mn , giving (-.41, .29) as the C.I.
33.
a. With success as defined, then Y is a binomial with n = 20. To determine the binomial
proportion p we realize that since 25 is the hypothesized median, 50% of the
distribution should be above 25, thus p = .50. From the Binomial Tables (Table A.1)
with n = 20 and p = .50, we see that
( ) ( ) 021 . 979 . 1 14 1 15 = = = = Y P Y P .
b. From the same binomial table as in a, we find that
( ) ( ) 058 . 942 . 1 13 1 14 = = = Y P Y P (a close as we can get to .05), so
c = 14. For this data, we would reject H
o
at level .058 if 14 Y . Y = (the number of
observations in the sample that exceed 25) = 12, and since 12 is not 14 , we fail to
reject H
o
.
Chapter 15: Distribution-Free Procedures
468
34.
a. Using the same logic as in Exercise 33, ( ) 021 . 5 = Y P , and ( ) 021 . 15 = Y P ,
so the significance level is 042 . = .
b. The null hypothesis will not be rejected if the median is between the 6
th
smallest
observation in the data set and the 6
th
largest, exclusive. (If the median is less than or
equal to 14.4, then there are at least 15 observations above, and we reject H
o
. Similarly,
if any value at least 41.5 is chosen, we have 5 or less observations above.) Thus with a
confidence level of 95.8% the median will fall between 14.4 and 41.5.
35.
Sample: y x y y x x x y y
Observations: 3.7 4.0 4.1 4.3 4.4 4.8 4.9 5.1 5.6
Rank: 1 3 5 7 9 8 6 4 2
The value of W for this data is 26 9 8 6 3 = + + + = w . At level .05, the critical value
for the upper-tailed test is (Table A.14, m = 4, n = 5) c = 27 ( 056 . = ). Since 26 is not
27 , H
o
cannot be rejected at level .05.
36. The only possible ranks now are 1, 2, 3, and 4. Each rank triple is obtained from the
corresponding X ordering by the code 1 = 1, 2 = 2, 3 = 3, 4 = 4, 5 = 3, 6 = 2, 7 = 1 (so e.g.
the X ordering 256 corresponds to ranks 2, 3, 2).
X
ordering
ranks w
X
ordering
ranks w
X
ordering
ranks w
123 123 6 156 132 66 267 221 5
124 124 7 157 131 5 345 343 10
125 123 6 167 121 4 346 342 9
126 122 5 234 234 9 347 341 8
127 121 4 235 233 8 356 332 8
134 134 8 236 232 7 357 331 7
135 133 7 237 231 6 367 321 6
136 132 6 245 243 9 456 432 9
137 131 5 246 242 8 457 431 8
145 143 8 247 241 7 467 421 7
146 142 7 256 232 7 567 321 6
147 141 6 257 231 6
Since when H
o
is true the probability of any particular ordering is 1/35, we easily obtain the
null distribution and critical values given in the answer section.