Practical 4 Memo - Sem2
Practical 4 Memo - Sem2
1. H 0 : p=0.6 H 1 : p ≠0.6
275
−0.6
500
Z calc= =−2.282
√
0.6 × 0.4
500
Reject the zero hypothesis if Z calc <−Z 1−∝ =−2.576
2
Do not rejected H 0 .
2. n1 = 80
x̄ 1 = 78 S1 = 5
n2 = 100
x̄ 2 = 80 S2 = 10
H0: 1 = 2 H1: 1 2 .
μ μ
78−80
√
25 100
+
z = 80 100 = -1.75
= 0.10
We reject H0 if z Z0.95 = 1.645 or z Z0.95 = 1.645.
Reject H0 . The population means differ.
3. n1 = 50
x̄ 1 = 4 S1 =0.25
n2 = 55
x̄ 2 = 3 S2 = 0.5
H0: 1 = 2 H1: 1 2 .
μ μ
4−3
√
0 . 0625 0 . 25
z = 50
+
55 = 13.14
= 0.05
We reject H0 if z Z0.975 = 1.96 or z Z0.975 = 1.96.
Reject H0 . The population means differ.
H 0 : μ A =μ B H a : μA< μB
α =0.05
√ √
2 2
( n1 −1 ) s 1+ ( n2−1 ) s 2 2 2
12 ( 16.8041 ) + 14 ( 10.5788 )
s p= = =13.8054
n1+ n2−2 13+15−2
x 1−x 2 817.4538−829.7067
t= = =−2.3422
√
s 1 1 1 1
√
p +
n n1
13.8054
2
+
13 15
5.
Nest 1 2 3 4 5 6 7 8 9 10 11 12
Before 20 9 10 12 7 14 8 8 10 13 7 6
After 7 10 12 11 9 14 8 11 8 3 11 3
Difference 13 -1 -2 1 -2 0 0 -3 2 10 -4 3
6. H 0 : p 1= p2 ; H 1 : p 1< p 2
Female Male
n1=100 n2 =110
13 33
^p1= ^p2=
100 110
α =0.05
^p1−^p2 0.13−0.3
z= =−2.9750
√ (
^) 1 + 1
^p ( 1− p
n1 n2
=
) √
0.2190 ( 1−0.2190 )
1
100
+
1
110 ( )
−Z 1− α=−1.645
Reject H 0 if Z ≤−Z1−α
Reject H₀.
The proportion of female patients with high blood-pressure is smaller than the proportion of
male patients with high blood-pressure.