Professional Documents
Culture Documents
Step 7: Since -1.41 falls in the acceptance region we accept the null hypothesis.
The mean enzyme level in the population is not different from 25.
Example.2
Serum Amylase level determination was made on a sample of 15 apparently healthy subjects. The
sample yielded the mean of 96 units/100 ml and a standard deviation of 35 units /100 ml. The variance
of the population was unknown. We want to know whether we can conclude that the mean of the
population is different from 120 units/100 ml.
Solutions
At =0.05.
t value of 0.025 at df of 14: 2.145
Test of Hypothesis, Single Population Mean Cont..
Step 1and 2: DefinetheHo and H1.
Step 3: Decideappropratetest statistic.
t test
Step 4and 5: Decidelevel of significance and critical
value.
value of 0.05.
t value for of 0.025 at df of 14: 2.145
Step 6: Obtain the Valueof the Test Statistics and
label.
120 : =
o
H
120 :
1
= H
n S
X
t
/
=
15 / 35
120 96
= t
65 . 2 = t
283
Step 7: Make a decision and interpret it.
We reject the null hypothesis b/c
The cal test statistic -2.65 is in the rejection area
The corrspoinding P value of -2.65,is less than the /2 value of 0.025.
Example 3
A researcher wants to check whether the systolic blood pressure among males is different from females
or not. Among 50 male samples the mean SBP was 100mmHg with standard deviation of 5 mmHg.
Among 60 females, the mean SBP was 104mmHg with standard deviation of 10 mmHg. Is there
significant difference between the two means?
Solutions
Step 1 and 2: Define the Ho and H
1
Step 3: Decide approprate test statistic: Z test
Step 4 and 5: Decide the level of significance and critical value:
value of 0.05.
1.96 is the critical value.
Cont..
Step 6:Obtain the Value of the Test Statistic:
2
2
2
1
2
1
2 1
) (
n n
X X
Z
+
=
60
10
50
5
104 100
2 2
+
= Z
67 . 1 5 . 0
4
+
= Z
72 . 2
47 . 1
4
=
= Z
289
Step 7: Make a decision and interpret it.
We reject the H0 and accept the H1 (at95%confidence level) b/c
The cal test statistic -2.72 is in the rejection region.
The corrspoinding P value of -2.72 is less than the value of 0.025.
Example 4.
Serum amylase determination was made on a sample of 15 apparently healthy subjects and 21
hospitalized subjects. Among healthy subjects, the mean was 96 units/100ml with standard deviation of
35 units/100 ml. Among hospitalized patients, the mean was 120 units/100ml with standard deviation of
40 units/100 ml. Is there significant difference between the two mean values?
Solutions
Step 1 and 2: Define the H
o
and H
1
Step 3: Decide approprate test statistic.
t test
Step 4 and 5: Decide level of significance and critical value.
value of 0.01.
t value for /2 of 0.005 at df of 34: 2.728
Two Population Means Cont
Step 6:Obtain the Valueof the Test Statistics
38 1445.6
34
) 40 )( 20 ( ) 35 )( 14 (
2
) 1 ( ) 1 (
2 2
2 1
2
2 2
2
1 1
= =
+
=
+
+
=
n n
S n S n
S
293
Testing of Hypothesis about Two Population Means
Cont
Step 7:Make a decision and interpret it.
We accept the null hypothesis (at 99% confidence level)
b/ c:
The cal test statistic -1.89 is in the acceptance region.
The corrspoinding P value of -1.89is greater than the
value of 0.005.
21
38
15
38
120 96
2 2
+
= t
8 . 68 3 . 92
24
+
= t
89 . 1 = t
294
Example 5
A random sample of 10 young men was taken and the pulse rate was measured before and after taking
a cup of coffee. The result is given as follows. Does the coffee has any effect on the heart rate? (perform
the hypothesis testing with 95%CI)
Subject PR before PR after Difference
1 68 74 +6
2 64 68 +4
3 52 60 +8
4 76 72 -4
5 78 76 -2
6 62 68 +6
7 66 72 +6
8 76 76 0
9 78 80 +2
10 60 64 +4
Mean 68 71 +3
Testing of Hypothesis about Two Population Means
Cont
H0: Coffeeintakehasnoeffect onPR
H
1
: Coffeeintakehaseffect onPR
Test statistic: pairedt test
Critical value2.262
First calculatetheSD thenthetest statistic:
Reject thenull hypothesis(at 95%confidencelevel)
Coffeeintakehaseffect onPR.
92 . 3
1
) (
2
=
n
d di 4 . 2
10
92 . 3
3
= = t
299
Example 6
A survey was conducted to determine the prevalence of protein energy malnutrition in a rural kebele. Of
300 under five children assessed, 123 were stunted. Can we conclude that the prevalence of PEM in the
population is 50%?
Test of Hypothesis About Single Population
Proportion
Step 1and 2:Define the Ho and HN
Step 3: Approprate test statistic:
Z statistic
Step 4and 5: Decide the level of significance and the
corresponding critical value:
Lets take value of 0.1. Hence 1.645 is the critical
value.
5 . 0 : =
o
H
5 . 0 : =
N
H
302
..
6.calculatefor Z
303
11 . 3
300
25 . 0
09 . 0
300
) 5 . 0 ( 5 . 0
5 . 0 41 . 0
) 1 (
= =
=
n
p
Z
Step 7: Make a decision and interpret it.
At 90%confidence level we reject the null hypothesis that P=0.5.
The calculated test statistic -3.11 is in the rejection region.
The corrspoinding P value of -3.11 is less than the value of 0.05.
Example 7
The prevalence of malaria among two malaria endemic kebeles X and Y was compared. In kebele X
among 120 samples 15 were positive. In kebele B among 100 samples 20 were positive. Is there any
significant difference between the prevalence of malaria kebele X and Y?
Testing of Hypothesis, Two Population Proportions
Step 1and 2: Define the Ho and HN:
Step 3: Decide approprate test statistic:- Z statistic
Step 4and 5:Decide value &the critical value:
Lets take value of 0.05. Hence 1.96 is the
critical value.
Step 6: Obtain the Value of the Test Statistics:
First calculate the proportions & the pooled
proportion
P1 = 15/ 120 = 0.125, P2 = 20/ 100 = 0.2
2 1
: P P H
o
=
2 1
: P P H
N
=
307
Testing of Hypothesis about two Population
Proportions
Then we calculate thetest statistic:
Step 7: Make a decision and interpret it.
At 95% confidence level weaccept theH0 P1=P2 b/ c:
-1.51 is in theacceptanceregion.
2 1
2 2 1 1
n n
p n p n
P
+
+
=
100 120
) 2 . 0 ( 100 ) 125 . 0 ( 120
+
+
= P 159 . 0
220
20 15
=
+
= P
|
.
|
\
|
+
=
100
1
120
1
) 159 . 0 1 ( 159 . 0
2 . 0 125 . 0
Z
( )
51 . 1
0.0183 0.1337
075 . 0
=
= Z
308
Example 8
A researcher is interested to assess the effect of litracy on family planning use. Accordingly he collected
data and tabulated the findings in the following manner. Can we say there is association between
educational status and family planning use?
FP use Educational Status
Illiterate Literate Total
Yes 63 49 112
No 15 33 48
Total 78 82 160
Step 1 and 2: Define the Ho and HN:
Ho: There is no association between litracy and family planning use
H1: There is association between litracy and family planning use
Step 3: Decide approprate test statistic: X
2
test.
Step 4 and 5: Decide and the corresponding critical value:
Lets take value of 0.01.
At df of 1 =(2-1)(2-1)- the critical value is 6.63.
Accptance area is 0-6.635, Rejection area X
2
>6.63.
Step 6: Obtain the Value of the Test Statistics:
First the expected frequency should be calculated:
Expected frequency for cell a: 78 x 112/160 =54.6
Expected frequency for cell b: 82 x 112/160 =57.4
Expected frequency for cell c: 78 x 48/160 =23.4
Expected frequency for cell d: 82 x 48/160 =24.6
NB: Assumptions of X
2
test fulfilled.
Then we calculate the Chi-square statistics.
=
|
|
.
|
\
|
=
k
i i
i i
e
e O
x
1
2
2
) (
319
2
.
Step 7:Make a decision and interpret it.
At 99% confidence level we accept the H
A
that thetwo
variables are associateddue to the following reasons:
The calculated test statistic 8.41 is in the rejectionarea.
The corrspoinding P value of 8.41 (between 0.005 and
0.002) is less than thevalue of (0.01).
|
|
.
|
\
|
+
|
|
.
|
\
|
+
|
|
.
|
\
|
+
|
|
.
|
\
|
=
6 . 24
) 6 . 24 33 (
4 . 23
) 4 . 23 15 (
4 . 57
) 4 . 57 49 (
6 . 54
) 6 . 54 63 (
2 2 2 2
2
x
( ) ( ) ( ) ( ) 41 . 8 87 . 2 02 . 3 23 . 1 29 . 1
2
= + + + = x
320
Example 9
Suppose that in a cross-sectional study of the factors affecting the utilization of antenatal clinics you
found that 64%of the women who lived within 10 kilometers of the clinic came for antenatal care,
compared to only 47%of those who lived more than 10 kilometers away. This suggests that antenatal
care (ANC) is used more often by women who live close to the clinics. The complete results are
presented in the following Table :
Ex..
.
Distancefrom
ANC
UsedANC Didnot
useANC
Total
Lessthan 10 km 51(64%) 29(36%) 80(100%)
10 km 35(47%) 40(53%) 75(100%)
Total 86 69 155
Fromthe table we conclude that there seems to be a
difference in the use of antenatal care between those
who livecloseto andthosewholivefar fromtheclinic
(64% versus 47%). We now want to know if this
observeddifferenceisstatisticallysignificant or not.
322
Step 1 and 2: Define the Ho and HN:
Ho: There is no association between distance from clinic and ANCuse
H1: There is association between distance and ANC use
Step 3: Decide approprate test statistic: X
2
test.
Step 4 and 5: Decide and the corresponding critical value:
Lets take value of 0.05.
At df of 1 =(2-1)(2-1)- the critical value is 3.84.
Accptance area is 0-3.84, Rejection area X
2
>3.84
Ex
Step6:ObtaintheValueof theTest Statistics:
First calculateexpectedfrequenciesfor eachcell
E
1
=86x80/ 155=44.4 E
2
=69x80/ 155=35.6
E
3
=86x75/ 155=41.6 E
4
=69x75/ 155=33.4
Then calculatetheChi-squarestatistics.
=
|
|
.
|
\
|
=
k
i i
i i
e
e O
x
1
2
2
) (
324
Ex
2
=
(51 44.4)
2
44.4
+
(29 35.6)
2
35.6
+
(35 41.6)
2
41.6
+
(40 33.4)
2
33.4
= 0.98 + 1.22 + 1.05 + 1.30 = 4.55
Step7: Makeadecisionandinterpret it.
The calculated test statistic 4.55 is in the rejection area,
whichmeansthat thepvalueissmaller than0.05
At 95%confidencelevel weaccept theH
A
that thethereis
an association b/ n distance from clinic and ANC
utilization
We can now conclude that the women living within a
distance of 10 km from the clinic utilize antenatal care
significantlymoreoftenthanthewomenlivingmorethan10
kmaway.
325