You are on page 1of 8

WILCOXON SIGNED-RANK TEST

SOLUTIONS
QUESTION 1
Hypotheses:

H0: M 163.5

H1: M > 163.5 (claim)

= 0.05

n = 15

Weight (Xi)

Di=Xi-M0

Rank of Di

188.0
211.2
170.8
212.4
156.9
223.1
235.9
183.9
214.4
221.0
162.0
222.8
174.1
210.3
195.2

+24.5
+57.7
+7.3
+48.9
-6.6
+59.6
+72.4
+20.4
+50.9
+57.5
-1.5
+59.3
+10.6
+46.8
+31.7

6
12
3
9
2
14
15
5
10
11
1
13
4
8
7

Signed rank of Di
T+
T+6
+12
+3
+9
-2
+14
+15
+5
+10
+11
-1
+13
+4
+8
+7
T+=117
T-=3

Since T- =3 is less than T+ =117, the test statistics is T=3


From Table A.3: P-value=0.0002<0.05
Decision: Reject H0
Conclusion: There is enough evidence to support the claim that the median weight is greater
than 163.5 pounds

QUESTION 2
Hypotheses:

H0: M 45.32

H1: M < 45.32 (claim)

= 0.05
Readiness score
(Xi)
33
19
40
35
51
41
27
23
39
21
41
31
46
51
34
37
36
55
52
32

n = 20

Di=Xi-M0

Rank of Di

-12.32
-26.32
-5.32
-10.32
+5.68
-4.32
-18.32
-22.32
-6.32
-24.32
-4.32
-14.32
+0.68
+5.68
-11.32
-8.32
-9.32
+9.68
+6.68
-13.32

14
20
4
12
5.5
2.5
17
18
7
19
2.5
16
1
5.5
13
9
10
11
8
15

Signed rank of Di
T+
T-14
-20
-4
-12
+5.5
-2.5
-17
-18
-7
-19
-2.5
-16
+1
+5.5
-13
-9
-10
+11
+8
-15
T+=31
T-=179

Since T+ =31 is less than T- =179, the test statistics is T=31


From Table A.3: P-value=0.021<0.05
Decision: Reject H0
Conclusion: There is enough evidence to support the claim the median score is less than
45.32
QUESTION 3
Hypotheses:

H0: M = 119 (claim) H1: M 119


= 0.05

n = 16-1=15

Hours (Xi)

Di=Xi-M0

Rank of Di

136
103

+17
-16

6
5

Signed rank of Di
T+
T+6
-5

91
122
96
145
140
138
126
120
99
125
91
142
119
137

-28
3
-23
+26
+21
+19
+7
+1
-20
+6
-28
+23
0
+18

14.5
2
11.5
13
10
8
4
1
9
3
14.5
11.5
Eliminate
7

-14.5
2
-11.5
+13
+10
+8
+4
+1
-9
+3
-14.5
+11.5
+7
T+=54.5

T-=65.6

Since T- =54.4 is less than T+ =65.6, the test statistics is T=54.5


From Table A.3: P1-value=2(0.3808)=0.7616 and P2-value=2(0.4020)=0.804. Both the
P-value > 0.05
Decision: Do not reject H0
Conclusion: There is not enough evidence to reject the claim that the median of population
from which the sample is drawn is 119 hours

LARGE SAMPLE APRROXIMATION


QUESTION 1
Hypothesis:

H0: M = 6.0 (claim)


=0.05

; H1: M 6.0
n = 32

Xi
6.7
6.3
4.5
8.6
7.3
7.0
2.5
6.1
8.9
6.5
6.3
1.6
5.8
6.3
5.9
9.0
4.1
6.2
7.3
5.9
6.3
8.1

Di = Xi-M0
0.7
0.3
-1.5
2.6
1.3
1.0
-3.5
0.1
2.9
0.5
0.3
-4.4
-0.2
0.3
-0.1
3.0
-1.9
0.2
1.3
-0.1
1.3
2.1

Ranks of Di
14
7.5
19
25
17.5
15.5
29
2
26
11.5
7.5
31
4.5
7.5
2
27
21
4.5
17.5
2
7.5
23

6.4
7.0
6.0
5.4
6.5
2.3
7.7
8.4
8.0

0.4
1.0
0
-0.6
0.5
-3.7
1.7
2.4
2.0

10
15.5
Eliminated
13
11.5
30
20
24
22

Signed-Ranks of |Di|
+14
+7.5
-19
+25
+17.5
+15.5
-29
+2
+26
+11.5
+7.5
-31
-4.5
+7.5
-2
+27
-21
+4.5
+17.5
-2
+7.5
+23
+10
+15.5
-13
+11.5
-30
+20
+24
+22
T+=344.5

T-=151.5

Since we are using Case A, where H0: M=6.0, therefore we are choosing test statistic from the
smaller of the two T. so our test statistic is T=151.5.

Find the value of T*, n=32-1=31


n(n + 1)
4
T* =
n( n + 1)( 2n + 1)
24
31(31 + 1)
151 .5
4
T* =
31(31 + 1)( 2(31) + 1)
24
T * = 1.891066597 1.8911
T

P-value = P(z -1.8911) = 0.029305


Since this is two tailed case, so 2P-value = 0.05861. P-value > = 0.05
Decision: Do not reject H0
Conclusion: There is not enough evidence to reject the claim that the median of the time
taken is equal to 6.0 minutes

QUESTION 2
Hypothesis:

H0: M 150
=0.05

H1: M < 150 (claim)


n = 35

Profit, Xi

Di=Xi-M0

Rank of Di

372
111
165
95
191
83
136

+222
-39
+15
-55
+41
-67
-14

35
18
9
24
19.5
26
7.5

Signed rank of Di
T+
T+35
-18
+9
-24
+19.5
-26
-7.5

149
37
119
142
136
137
171
122
133
133
342
126
64
61
100
225
127
92
140
140
75
108
96
138
318
179
243
109

-1
-113
-31
-8
-14
-13
+21
-28
-17
-17
+192
-24
-86
-89
-50
+75
-23
-58
-10
-10
-75
-42
-54
-12
+168
+29
+93
-41

1
32
17
2
7.5
6
12
15
10.5
10.5
34
14
29
30
22
27.5
13
25
3.5
3.5
27.5
21
23
5
33
16
31
19.5

-1
-32
-17
-2
-7.5
-6
+12
-15
-10.5
-10.5
+34
-24
-29
-30
-22
+27.5
-13
-25
-3.5
-3.5
-27.5
-21
-23
-5
+33
+16
+31
T+ = 217

-19.5
T- = 423

Since T+=217 is less than T-=423, we take T+ as test statistics T=217


Since n= 35 is greater than 30, we cannot use Table A.3 to determine the significance of
computed value of test statistic. Thus we use,

T* =

T* =

n(n + 1)
4
n( n + 1)( 2n + 1)
24
T

35 (35 + 1)
4
35 (35 + 1)( 2(35 ) + 1)
24
217

T * = 1.605156012 1.60516

P (z<-1.60516)=0.054229 >0.05
Decision: Since 0 is more than 0.05, thus we do not reject H0
Conclusion: There is not enough evidence to support the claim that the median number of
faculty for proprietary (for-profit) colleges and universities is less than 150

QUESTION 3
Hypothesis:

H0 : M 44 ;
=0.05

H1 : M > 44 (claim)
n = 40

Xi

Di=Xi-M0

Rank of Di

47
46
40
44
49
35
37
40
73
38
31
48
50
40
48
45
65
47
48
45
70
39
45

3
2
-4
Eliminate
5
-9
-7
-4
29
-6
-13
4
6
-4
4
1
21
3
4
1
26
-5
1

7.5
5
13
19
34
27
13
38
23.5
35
13
23.5
13
13
2.5
36
7.5
13
2.5
37
19
2.5

Signed rank of Di
T+
T7.5
5
-13
19
-34
-27
-13
38
-23.5
-35
13
23.5
-13
13
2.5
36
7.5
13
2.5
37
-19
2.5

36
49
49
52
39
47
37
38
44
40
37
38
52
43
36
46
47

-8
5
5
8
-5
3
-7
-6
Eliminate
-4
-7
-6
8
-1
-8
-8
3

31
19
19
31
19
7.5
27
23.5
13
27
23.5
31
2.5
31
31
7.5

-31
19
19
31
-19
7.5
-27
-23.5
-13
-27
-23.5
31
-2.5
-31
-31
7.5
T+ = 335

T- = 406

New n = 40 2 = 38
Since this is Case C, (H0 44), we take T- value.. Hence, our test statistic will be T = 406

T* =

T* =

n(n + 1)
4
n( n + 1)( 2n + 1)
24
T

38 (38 + 1)
4
38 (38 + 1)( 2(38 ) + 1)
24
406

T * = 0.5148307865 0.51483

P (z < 0.51483) = 0.69666


Decision: Since P-value is 0.69666 and more than 0.05, thus we do not reject H0
Conclusion: There is not enough evidence to support the claim that the median hits
represented by the sample is more than 44

You might also like