Unit-6 - Non Parametric Test
Unit-6 - Non Parametric Test
10 15 20 17 11 25 30 27 36 40 05 26
Solution: Let μ = 20
3) LOS = 0.05
5) Calculation Statistics:
Let 𝑃 = 0. 5 (always)
𝑍𝑡𝑎𝑏 = 1. 645
6) Decision:
Ex-2: The PQR company claims that the lifetime of a type of battery that it manufactures is more
than 250 hrs. A consumer advocate wishing to determine whether the claim is justified measures
the lifetime of 24 of the company’s batteries; the result are as follows. Assuming the sample to
be random .Detemine whether the company’s claim is justified at 0.05 significance level
271 230 198 275 282 225 284 219
253 216 262 288 236 291 253 224
264 295 211 252 294 243 272 268
3) LOS = 0.05
5) Calculation Statistics:
Let 𝑃 = 0. 5 (always)
6) Decision:
Ex-3: The production department of a company Typewriters has developed a new model. It is
claimed that new model is more efficient than the current model because on an average the new
one is capable of typing 20 words per minute. To verify the claim the test performance on a
random sample of 20 typists gave the following results. LOS = 0.05
Solution:
3) LOS = 0.05
5) Calculation Statistics:
Let 𝑃 = 0. 5 (always)
6) Decision:
Ex-4:The table below shows the hours of relief provided by two analgesic drugs in 12
patients suffering from arthritis. Is there any evidence that one drug provides longer relief
than the other?
Drug Drug
Case A B Case A B
01 2.0 3.5 7 14.9 16.7
02 3.6 5.7 8 6.6 6.0
03 2.6 2.9 9 2.3 3.8
04 2.6 2.4 10 2.0 4.0
05 7.3 9.9 11 6.8 9.1
06 3.4 3.3 12 8.5 20.9
Solution:
3) LOS = 0.05
5) Calculation Statistics:
Let 𝑃 = 0. 5 (always)
6) Decision:
Ex-5: The breaking strengths of a random sample of 25 ropes made by a manufacturer are given
in Table 10-32. On the basis of this sample, test at the 0.05 significance level the manufacturer’s
claim that the breaking strength of a rope is 25
41 28 35 38 23 37 32 24 46 30 25 36 22 41 37
43 27 34 27 36 42 33 28 31 24
Solution: Let μ = 25
3) LOS = 0.05
4) Critical Region :
− 1. 96 < 𝑍∝ < 1. 96
5) Calculation Statistics:
Let 𝑃 = 0. 5 (always)
𝑍𝑡𝑎𝑏 = 1. 96
6) Decision:
Ex-6: A company claims that if its product is added to an automobile’s gasoline tank, the mileage
per gallon will improve. To test the claim, 15 different automobiles are chosen and the mileage
per gallon with and without the additive is measured; the results are shown in Table Assuming
that the driving conditions are the same, determine whether there is a difference due to the
additive at significance levels of (a) 0.05, (b) 0.01.
With additive 34.7 28.3 19.6 25.1 15.7 24.5 28.7 23.5 27.7 32.1 29.6 22.4 25.7 28.1 24.3
Without additive 31.4 27.2 20.4 24.6 14.9 22.3 26.8 24.1 26.2 31.4 28.8 23.1 24.0 27.3 22.9
Solution:
− 1. 96 < 𝑍∝ < 1. 96
− 2. 58 < 𝑍∝ < 2. 58
5) Calculation Statistics:
Let 𝑃 = 0. 5 (always)
𝑍𝑡𝑎𝑏 = ∓2. 58
6) Decision:
Ex-7: A training manager claims that by giving a special course to company sales personnel, the
company’s annual sales will increase. To test this claim, the course is given to 24 people. Of
these 24, the sales of 16 increase, those of 6 decrease, and those of 2 remain unchanged. Test at
the 0.05 significance level the hypothesis that the course increased the company’s sales.
Solution:
𝑁+ = 16 and 𝑁− = 6
𝑁 = 𝑁+ + 𝑁− = 22
3) LOS = 0.05
4) Critical Region :
− 1. 96 < 𝑍∝ < 1. 96
5) Calculation Statistics:
Let 𝑃 = 0. 5 (always)
𝑋−μ 𝑁+−𝑁𝑃 16−22×0.5
𝑍𝑐𝑎𝑙 = σ
= = = 2. 13
𝑁𝑃(1−𝑃) 22×0.5×0.5
𝑍𝑡𝑎𝑏 = 1. 96
6) Decision:
EXERCISE
1. A company claims that if its product is added to an automobile’s gasoline tank, the mileage
per gallon will improve. To test the claim, 15 different automobiles are chosen and the mileage
per gallon with and without the additive is measured; the results are shown in Table 10-31.
Assuming that the driving conditions are the same, determine whether there is a difference due to
the additive at significance levels of (a) 0.05, (b) 0.01.
With additive 34.7 28.3 19.6 25.1 15.7 24.5 28.7 23.5 27.7 32.1 29.6 22.4 25.7 28.1 24.3
Without additive 31.4 27.2 20.4 24.6 14.9 22.3 26.8 24.1 26.2 31.4 28.8 23.1 24.0 27.3 22.9
2. A weight-loss club advertises that a special program that it has designed will produce a weight
loss of at least 6% in 1 month if followed precisely. To test the club’s claim, 36 adults undertake
the program. Of these, 25 realize the desired loss, 6 gain weight, and the rest remain essentially
unchanged. Determine at the 0.05 significance level whether the program is effective.
3. A training manager claims that by giving a special course to company sales personnel, the
company’s annual sales will increase. To test this claim, the course is given to 24 people. Of
these 24, the sales of 16 increase, those of 6 decrease, and those of 2 remain unchanged. Test at
the 0.05 significance level the hypothesis that the course increased the company’s sales.
4. The MW Soda Company sets up “taste tests” in 27 locations around the country in order to
determine the public’s relative preference for two brands of cola, A and B. In eight locations
brand A is preferred over brand B, in 17 locations brand B is preferred over brand A, and in the
remaining locations there is indifference. Can one conclude at the 0.05 that brand B is preferred
over brand A?
5. The breaking strengths of a random sample of 25 ropes made by a manufacturer are given in
Table 10-32. On the basis of this sample, test at the 0.05 significance level the manufacturer’s
claim that the breaking strength of a rope is (a) 25, (b) 30, (c) 35, (d) 40.
41 28 35 38 23 37 32 24 46 30 25 36 22 41 37
43 27 34 27 36 42 33 28 31 24
(
𝑁2 𝑁2+1 )
ii) 𝑈2 = 𝑁1𝑁2 + 2
− 𝑅2
𝑁1𝑁2
iv) µ𝑈 = 2
1
(
𝑁1𝑁2 𝑁1+𝑁2+1 )
v) σ𝑈 = 12
1
𝑈1−µ𝑈
vi) 𝑍𝑐𝑎𝑙 = σ𝑈
1
Ex: A professor has two classes in psychology a morning class of 9 students, and an afternoon
class of 12 students. On a final examination scheduled at the same time for all students, the
classes received the grades shown in Table Can one concludes at the 0.05 significance level that
the morning class performed worse than the afternoon class?
MC 73 87 79 75 82 66 97 75 70
AC 86 81 84 88 90 85 84 92 83 91 53 84
Sol :
CLASSES RANKS
MC AC R-1 R-2
73 86 04 15
87 81 16 8
79 84 07 12
75 88 5.5 17
82 90 09 18
66 85 02 14
97 84 21 12
75 92 5.5 20
70 83 03 10
91 19
53 1
84 12
𝑁1 = 9 𝑁2 = 12
∑ 𝑅1 = 73 ∑ 𝑅2 = 158
3) LOS = 0.05
5) Calculation Statistics:
𝑁1(𝑁1+1)
𝑈1 = 𝑁1𝑁2 + 2
− 𝑅1 = 80
𝑁2(𝑁2+1)
𝑈2 = 𝑁1𝑁2 + 2
− 𝑅2 = 28
𝑈1−µ𝑈
𝑍𝑐𝑎𝑙 = σ𝑈
1
= 1. 85
1
6) Decision:
𝑍𝑐𝑎𝑙 > 𝑍∝ = 1. 645 = 𝑅𝑒𝑗𝑒𝑐𝑡
Ex-2: Instructors A and B both teach a first course in chemistry at XYZ University. On a
common final examination, their students received the grades shown in Table Test at the 0.05
significance level the hypothesis that there is no difference between the two instructors’ grades.
A 88 75 92 71 63 84 55 64 82 96
B 72 65 84 53 76 80 51 60 57 85 94 87 73 61
Sol :
INSTRUCTORS RANKS
A B R-1 R-2
55 51 3 1
63 53 7 2
64 57 8 4
71 60 10 5
75 61 13 6
82 65 16 9
84 72 17.5 11
88 73 21 12
92 76 22 14
96 80 24 15
84 17.5
85 19
87 20
94 23
𝑁1 = 10 𝑁2 = 14
∑ 𝑅1 = 141.5 ∑ 𝑅2 = 158.5
3) LOS = 0.05
4) Critical Region:
5) Calculation Statistics:
𝑁1(𝑁1+1)
𝑈1 = 𝑁1𝑁2 + 2
− 𝑅1 = 53. 5
𝑁2(𝑁2+1)
𝑈2 = 𝑁1𝑁2 + 2
− 𝑅2 = 86. 5
𝑈1−µ𝑈
𝑍𝑐𝑎𝑙 = σ𝑈
1
=− 0. 966
1
6) Decision:
EXERCISE
1.The following tables shows strength of cable made from 4 different alloys 1 and 2 .There are
two samples 10 cables of alloy 1 and 10 samples of alloy 2 using mann- whilney- U test whether
there is significant difference in them. LOS 0.05
2. Instructors A and B both teach a first course in chemistry at XYZ University. On a common
final examination, their students received the grades shown in Table Test at the 0.05 significance
level the hypothesis that there is no difference between the two instructors’ grades.
A 88 75 92 71 63 84 55 64 82 96
B 72 65 84 53 76 80 51 60 57 85 94 87 73 61
3. A farmer wishes to determine whether there is a difference in yields between two different
varieties of wheat, I and II. Table 10-34 shows the production of wheat per unit area using the
two varieties. Can the farmer conclude at significance levels of (a) 0.05, (b) 0.01 that a difference
exists?
Wheat 15.9 15.3 16.4 14.9 15.3 16.0 14.6 15.3 14.5 16.6 16.0
I
Wheat 16.4 16.8 17.1 16.9 18.0 15.6 18.1 17.2 15.4
II
4. A company wishes to determine whether there is a difference between two brands of gasoline,
A and B. table shows the distances traveled per gallon for each brand. Can we conclude at the
0.05 los (a) that there is a difference between the brands (b) that brand B is better than brand A?
A 30.4 28.7 29.2 32.5 31.7 29.5 30.8 31.1 30.7 31.8
B 33.5 29.8 30.1 31.4 33.8 30.9 31.3 29.6 32.8 33.0
Distance
Runners Cyclists Swimmers Skiers
185 190 166 201
179 209 159 195
192 182 170 180
165 178 183 187
174 181 160 215
Is a difference in anaerobic thresholds among the different groups of elite athletes?
Solution:
Distance Ranks
Runners Cyclists Swimmers Skiers 𝑅1 𝑅2 𝑅3 𝑅3
185 190 13166 201 15 4 18
179 209 8159 195 19 1 17
192 182 16170 180 11 5 9
165 178 3183 187 7 12 14
174 181 6160 215 10 2 20
R1=46 R2=62 R3=24 R4=78
1) Null Hypothesis 𝐻0: No difference in Performances
3) LOS = 0.05
2 2
4) Critical Region :𝐻𝑐𝑎𝑙 < χ ∝
= 𝐴𝑐𝑐𝑒𝑝𝑡 and 𝐻𝑐𝑎𝑙 > χ ∝= Reject
5) Calculation Statistics:
⎰𝐽=𝐾
2
12 𝑅𝑗 ⎱
𝐻= ∑ − 3(𝑁 + 1)
𝑁(𝑁+1) ⎱𝐽=1 𝑛𝐽 ⎰
( ) − 3(20 + 1)⎤⎥⎦ = 9. 11
2 2 2 2
12 46 62 24 78
𝐻 = ⎡⎢ 20(20+1) 5
+ 5
+ 5
+ 5
⎣
2
And χ at ∝ = 0. 05 and 𝑑𝑜𝑓 = ϑ = 𝑘 − 1 = 4 − 1 = 3
2 2
χ [∝,ϑ]
χ [0.05,3]
= 7. 815
6) Decision
2
𝐻𝑐𝑎𝑙 < χ [∝,ϑ]
= 𝐴𝑐𝑐𝑒𝑝𝑡
Ex-2: During one semester a student received in various subjects the grades shown in Table. Test
at the (a) 0.05, (b) 0.01 significance levels whether there is a difference between the grades in
these subjects.
Mathematics 72 80 83 75
Science 81 74 77
English 88 82 90 87 80
Economics 74 71 77 70
Solution:
Subjects Ranks
Maths Science English Economics 𝑅1 𝑅2 𝑅3 𝑅3
72 74 80 70 3 4.5 9.5 1
75 77 82 71 6 7.5 12 2
80 81 87 74 9.5 11 14 4.5
83 - 88 77 13 - 15 7.5
- - 90 - - - 16 -
R1=31.5 R2=23 R3=66.5 R4=15
1) Null Hypothesis 𝐻0: No difference in Grades
5) Calculation Statistics:
⎰𝐽=𝐾
2
12 𝑅𝑗 ⎱
𝐻= ∑ − 3(𝑁 + 1)
𝑁(𝑁+1) ⎱𝐽=1 𝑛𝐽 ⎰
⎰𝐽=4
2
12 𝑅𝑗 ⎱
𝐻= ∑ − 3(16 + 1)
16(16+1) ⎱𝐽=1 𝑛𝐽 ⎰
2 2 2 2
12 ⎰ 𝑅1 𝑅2 𝑅3 𝑅5 ⎱
𝐻= + + + − 3(16 + 1)
16(16+1) ⎱ 𝑛1 𝑛2 𝑛3 𝑛4 ⎰
2 2
χ [∝,ϑ]
= χ [0.01,3]
= 11. 34
6) Decision
2
𝐻𝑐𝑎𝑙 < χ [0.05,3]
= 𝑅𝑒𝑗𝑒𝑐𝑡
2
𝐻𝑐𝑎𝑙 < χ [0.01,3]
= 𝐴𝑐𝑐𝑒𝑝𝑡
EXERCISE
1. During one semester a student received in various subjects the grades shown in Table. Test at
the (a) 0.05, (b) 0.01 significance levels whether there is a difference between the grades in these
subjects.
Mathematics 72 80 83 75
Science 81 74 77
English 88 82 90 87 80
Economics 74 71 77 70
2. A teacher wishes to test three different teaching methods: A, B, and C. To do this, the teacher
chooses at random three groups of five students each and teaches each group by a different
method. The same examination is then given to all the students, and the grades in following table
are obtained. Determine at the (a) 0.05 and (b) 0.01 significance levels whether there is a
difference between the teaching methods. [KWT]
Method A 78 62 71 58 73
Method B 76 85 77 90 87
Method C 74 79 60 75 80
A 68 72 77 42 53
B 72 53 63 53 48
C 60 82 64 75 72
D 48 61 57 64 50
E 64 65 70 68 53
4. A teacher wishes to test three different teaching methods: A, B, and C.To do this, the teacher
chooses at random three groups of five students each and teaches each group by a different
method. The same examination is then given to all the students, and the grades in following table
are obtained. Determine at the (a) 0.05 and (b) 0.01 significance levels whether there is a
difference between the teaching methods.
Method A 78 62 71 58 73
Method B 76 85 77 90 87
Method C 74 79 60 75 80
A 20 12 15 19
B 17 14 12 15
C 23 16 18 14
D 15 17 20 12
E 21 14 17 18
6. A company wishes to test four different types of tires: A, B, C, and D. The lifetimes of the
tires, as determined from their treads, are given (in thousands of miles) in Table . Each type has
been tried on six similar automobiles assigned to the tires at random. Determine whether there is
a significant difference between the tires at the (a) 0.05, (b) 0.01 levels.
A 33 38 36 40 31 35
B 32 40 42 38 30 34
C 31 37 35 33 34 30
D 27 33 32 29 31 28
7. A teacher wishes to test three different teaching methods: I, II, and III. To do this, the teacher
chooses at random three groups of five students each and teaches each group by a different
method. The same examination is then given to all the students, and the grades in Table 10-40
are obtained. Determine at the (a) 0.05, (b) 0.01 significance levels whether there is a difference
between the teaching methods.
Method I 78 62 71 58 73
Method II 76 85 77 90 87
Method III 74 79 60 75 80
8. During one semester a student received in various subjects the grades shown in Table 10-41. Test at
the (a) 0.05, (b) 0.01 LOS whether there is a difference between the grades in these subjects.
Mathematics 72 80 83 75 -
Science 81 74 77 - -
English 88 82 90 87 80
Economics 74 71 77 70 -
3) LOS = 0.05
4) Critical Region :
− 1. 96 < 𝑍 < 1. 96
5) Calculation Statistics:
2𝑁1𝑁2(2𝑁1𝑁2−𝑁1−𝑁2) 2×10×38(2×10×38−10−38)
σ𝑣 = 2 = 2 = 2. 234
(𝑁1+𝑁2) (𝑁1+𝑁2−1) (10+38) (10+38−1)
𝑉−µ𝑣 11−16.8333
𝑍𝑐𝑎𝑙 = σ𝑣
= 2.234
=− 2. 6095
6) Decision
Example: In 30 tosses of a coin, the following sequence of heads (H) and tails (T) is obtained:
H T T H T H H H T H H T T H T H T H H T H T T H T H H T H T
(a) Determine the number of runs, V.
(b) Test at the 0.05 significance level whether the sequence is random.
3) LOS = 0.05
4) Critical Region :
− 1. 96 < 𝑍 < 1. 96
5) Calculation Statistics:
2𝑁1𝑁2(2𝑁1𝑁2−𝑁1−𝑁2) 2×16×14(2×16×14−16−14)
σ𝑣 = 2 = 2 = 2. 679
(𝑁1+𝑁2) (𝑁1+𝑁2−1) (16+14) (16+14−1)
𝑉−µ𝑣 22−15.93
𝑍𝑐𝑎𝑙 = σ𝑣
= 2.679
= 2. 27
6) Decision
(a) A B A B B A A A B B A B (b) H H T H H H T T T T H H T H H T H T
Test at the 0.05 significance level whether the responses are random.