Worksheet No.6

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

WORKSHEET NO.

STANDARD
VARIABLES MEAN n µ
DEVIATION
AGE 36.62 10.48 90 35.5
SMOKING STATUS 11.57 3.67 90 15.7
ATTITUDE TO EXERCISE 11.52 8.26 90 9.8
FITNESS INDEX 5.05 1.51 90 4.7
FORCED VITAL CAPACITY 4.58 1.31 90 4.4

ONE-SAMPLEMEAN TEST

1. Hypothesis testing
Ho: µ=35.5
H1: µ≠35.5

2. Level of Significance
α = 0.05

3. Test Statistic
( x 1−μ ) √ n
zstatistic =
σ
( 36.62−35.5 ) √ 90
= 10.48
( 1.12 ) x 9.49
= 10.48

=1.01
4. Critical Value
Reject Ho if Zcomputed ( 1.01 )if less than Zstatistic ( 1.96 ) .

5. Decision
Since Zcomputed ( 1.01 )is less than Zstatistic ( 1.96 ) , we failed to reject
null hypothesis.

6. Conclusion
Therefore, there is no significant difference on the age of the
patients in the past based on the records.

1. Hypothesis testing
Ho: µ=15.7
H1: µ≠15.7

2. Level of Significance
α = 0.05

3. Test Statistic
( x 1−μ ) √ n
zstatistic =
σ
( 11.57−15.7 ) √ 90
= 3.67
(−4.3 ) x 9.49
= 3.67

=-11.12
4. Critical Value
Reject Ho if Zcomputed (−11.12 ) v if less than Zstatistic (−1.96 ).

5. Decision
Since Zcomputed (−11.12 )is greater than Zstatistic −( 1.96 ), we reject
null hypothesis.

6. Conclusion
Therefore, there is a significant difference on the smoking status of
the patients in the past based on the records.

1. Hypothesis testing
Ho: µ=9.8
H1: µ≠9.8

2. Level of Significance
α = 0.05

3. Test Statistic
( x 1−μ ) √ n
zstatistic =
σ
( 11.52−9.8 ) √90
= 8.26
( 1.72 ) x 9.49
= 8.26

=1.98
4. Critical Value
Reject Ho if Zcomputed ( 1.98 ) if less than Zstatistic ( 1.96 ) .

5. Decision
Since Zcomputed ( 1.98 ) is greater than Zstatistic ( 1.96 ) , we reject null
hypothesis.

6. Conclusion
Therefore, there is a significant difference on the attitude to exercise
of the patients in the past based on the records.

1. Hypothesis testing
Ho: µ=4.7
H1: µ≠4.7

2. Level of Significance
α = 0.05
3. Test Statistic
( x 1−μ ) √ n
zstatistic =
σ
( 5.05−4.7 ) √ 90
= 1.51
( 0.35 ) x 9.49
= 8.26

=0.40
4. Critical Value
Reject Ho if Zcomputed ( 0.40 )if less than Zstatistic ( 1.96 ) .

5. Decision
Since Zcomputed ( 0.40 )is less than Zstatistic ( 1.96 ) , we failed
toreject null hypothesis.

6. Conclusion
Therefore, there is no significant difference on the fitness index
of the patients in the past based on the records.

1. Hypothesis testing
Ho: µ=4.4
H1: µ≠4.4

2. Level of Significance
α = 0.05

3. Test Statistic
( x 1−μ ) √ n
zstatistic =
σ
( 4.58−4.4 ) √ 90
= 1.31
( 0.18 ) x 9.49
= 1.31

=1.30
4. Critical Value
Reject Ho if Zcomputed ( 1.30 ) if less than Zstatistic ( 1.96 ) .

5. Decision
Since Zcomputed ( 1.30 ) is less than Zstatistic ( 1.96 ) , we failed to
reject null hypothesis.

6. Conclusion
Therefore, there no a significant difference on the forced vital
capacity of the patients in the past based on the records.

WORKSHEET NO.7
T-TEST TWO SAMPLE MEAN
1. AGE AND GENDER

Hypothesis testing
Ho: µ1=µ2
H1: µ1≠µ2

2. Level of Significance
α = 0.05

3. Test Statistic
x 1−x 2


tstatistic = n 1 s 1 +n 2 s 22 n 1+ n 2
2
+
n1+ n2−2 n1n2
4.48−4.38
=
√ 90 ¿ ¿ ¿ ¿
0.10
=
√ 152.10+266.26 180
178
+
8100

=0.06
4. Critical Value
Reject Ho if t-computed ( 0.06 )if less than t-statistic ( 1.98 ) .

5. Decision
Since t-computed ( 0.06 )is less than t-statistic ( 1.98 ) , we failed to reject
null hypothesis.

6. Conclusion
Therefore, there no a significant difference on the group of age of
the patients according to its gender.

2. AGE refer to Table 17

1. Hypothesis testing
Ho: µ1=µ2
H1: µ1≠µ2

2. Level of Significance
α = 0.05

3. Test Statistic
x 1−x 2


tstatistic = n 1 s 12 +n 2 s 22 n 1+ n 2
n1+ n2−2
4.48−4.84
+
n1n2
=
√ 90 ¿ ¿ ¿ ¿
−0.36
=
√ 152.10+257.05 180
178
+
8100

= -0.23
4. Critical Value
Reject Ho if t-computed (−0.23 )if less than t-statistic (−1.98 ) .

5. Decision
Since t-computed (−0.23 )is less than t-statistic (−1.98 ) , we failed to
reject null hypothesis.

6. Conclusion
Therefore, there no a significant difference on the group of age of
the patients.

3. FITNESS INDEX
1. Hypothesis testing
Ho: µ1=µ2
H1: µ1≠µ2

2. Level of Significance
α = 0.05

3. Test Statistic
x 1−x 2


tstatistic = n 1 s 1 +n 2 s 22 n 1+ n 2
2
+
n1+ n2−2 n1n2
4.47−4.78
=
√ 90 ¿ ¿ ¿ ¿
−0.31
=
√ 154.45+152.19 180
178
+
8100

=0.32
4. Critical Value
Reject Ho if t-computed (−0.32 ) if less than t-statistic (−1.98 ) .

5. Decision
Since t-computed (−0.32 ) is less than t-statistic (−1.98 ) , we failed to
reject null hypothesis.

6. Conclusion
Therefore, there no a significant difference on the FVC of the
patients according to its fitness index.

WORKSHEET NO.9
CHI-SQUARE TEST OF INDEPENDENCE

EDUCATIONAL ATTAINMENT TO FVC

EDUCATIONAL
LOW AVERAGE HIGH
ATTAINMENT
HIGH SCHOOL 3 13 3
COLLEGE 5 38 10
MASTERS/PHD 5 9 4

EDUCATIONAL
LOW AVERAGE HIGH TOTALS
ATTAINMENT
HIGH SCHOOL 3 13 3 19
COLLEGE 5 38 10 53
MASTERS/PHD 5 9 4 18
TOTALS 13 60 17 90
OBSERVED EXPECTED (Oi-Ei)2 (Oi-Ei)2/E
3 2.74 0.26 0.09
13 12.67 0.33 0.03
3 3.4 -0.4 -0.12
5 7.66 -2.66 -0.35
38 35.33 2.67 0.08
10 10.01 -0.01 -0.000999
5 2.6 2.4 0.92
9 12 -3 -0.25
4 3.4 0.6 0.18

1. Hypothesis testing
Ho: The variables are independent.
H1: The variables are related.

2. Level of Significance
α = 0.05

3. Test Statistic
( fo−fe )2
zstatistic =∑
fe
( 3−2.74 )2 ( 13−12.67 )2 ( 3−3.4 )2
=∑ + + +…
2.74 12.67 3.4

=0.58
-

4. Critical Value
Reject if X2computed ( 0.58 )if less than X2statistic ( 0.711 ).

5. Decision
Since X2computed ( 0.58 )is less than X2statistic ( 0.711 ), we failed to
reject null hypothesis.
6. Conclusion
Therefore,variables educational attainnment to forved vital capacity
of the patients are independent.

ATTITUDE TO EXERCISE TO FVC


ATTITUDE TO
LOW AVERAGE HIGH
EXERCISE
BAD 7 12 2
GOOD 2 42 3
BETTER 0 10 12

ATTITUDE TO
LOW AVERAGE HIGH TOTALS
EXERCISE
BAD 7 12 2 21
GOOD 2 42 3 47
BETTER 0 10 12 22
TOTALS 9 64 17 90

OBSERVED EXPECTED (Oi-Ei)2 (Oi-Ei)2/E


7 2.1 4.9 2.33
12 14.93 -2.93 -0.20
2 3.97 -1.97 -0.50
2 4.7 -2.7 -0.57
42 33.42 8.58 0.26
3 0.52 2.48 4.77
0 2.2 -2.2 -1
10 33.42 -23.42 -0.71
12 4.16 7.84 1.88

1. Hypothesis testing
Ho: The variables are independent.
H1: The variables are related.

2. Level of Significance
α = 0.05

3. Test Statistic
( fo−fe )2
zstatistic =∑
fe
( 7−2.1 )2 (14−12.63 )2 ( 2−3.97 )2
=∑ + + +…
2.1 14.63 3.97

=6.33
-

4. Critical Value
Reject if X2computed ( 6.33 ) if less than X2statistic ( 0.711 ).

5. Decision
Since X2computed ( 6.33 ) is greater than X2statistic ( 0.711 ), we
reject null hypothesis.

6. Conclusion
Therefore,variables attitude to exercise to forved vital capacity
of the patients are related or dependent to each other.
FITNESS INDEX TO FVC

FITNESS INDEX LOW AVERAGE HIGH


BAD 9 44 6
GOOD 0 20 11

FITNESS INDEX LOW AVERAGE HIGH TOTALS


BAD 9 44 6 59
GOOD 0 20 11 31
TOTALS 9 64 17 90

OBSERVED EXPECTED (Oi-Ei)2 (Oi-Ei)2/E


9 5.90 3.1 0.53
44 41.96 2.04 0.05
6 11.14 -5.14 -0.46
0 3.10 -5.14 -1.66
20 22.04 -2.04 -0.09
11 5.86 5.14 0.88

1. Hypothesis testing
Ho: The variables are independent.
H1: The variables are related.

2. Level of Significance
α = 0.05

3. Test Statistic
( fo−fe )2
zstatistic =∑
fe
( 9−5.90 )2 ( 4 4−41.96 )2 ( 6−11. 14 )2
=∑ + + +…
5.90 41.96 11.14

=-0.75
-

4. Critical Value
Reject if X2computed −0.75 if less than X2statistic (−0.711 ).

5. Decision
Since X2computed (−0.75 )is greater than X2statistic −( 0.711 ), we
reject null hypothesis.

6. Conclusion
Therefore,variables fitness index to forved vital capacity
of the patients are related or dependent to each other.

You might also like