Professional Documents
Culture Documents
Exercise#12 Chi Square 1
Exercise#12 Chi Square 1
Exercise: Chi-Square
A study was made to know if hypertension is independent of the drinking habits of 200 male
respondents in a certain locality, as shown from the table below
Nondrinker Moderate drinker Heavy drinker
Hypertension 20 42 54
No Hypertension 49 20 15
Does hypertension is independent of drinking habits using 0.05 level of significance?
Solution:
1. H0: hypertension is independent of drinking habits.
2. Ha: hypertension is not independent of drinking habits.
3. α = 0.05
4. Test Statistics:
( OF−EF 2 )
X2 =∑ df = (r - 1)(c - 1) = (_ - 1)(_ -1)= __
EF
1pt
C.V. = 5.99
5. Computation:
Nondrinker Moderate drinker Heavy drinker Total
Hypertension 20 42 54 1pt
No Hypertension 49 20 15 1pt
Total 1pt 1pt 1pt 1pt
Expected frequencies for:
20: ( )() = 49: ( )() = 2pts
❑ ❑
( )() ( )()
42: = 20: = 2pts
❑ ❑
( )() ( )()
54: = 15: = 2pts
❑ ❑
For uniformity of results let us agree to round up to 2 decimal places.
Therefore, (for this table round-off only on the final answer X2)
OF EF (OF - EF)2 (OF - EF)2/EF
20 3pts
42 3pts
54 3pts
49 3pts
20 3pts
15 3pts
X2 = 5pts
6. Decision: 2pts
Total points = 35 pts