Given contingency table :
Given is Observed values table :
TOTAL
95 73 12 180
83 71 46 200
21 18 8 47
TOTAL 199 162 66 427
Step 1: State the hypothesis:
Ho: Opinions on the referendum and their views on the moral issue of selling alcohol beverages are independent of each other.
H1: Opinions on the referendum and their views on the moral issue of selling alcohol beverages are not independent of each other
Step 2:
Expected values table
Expected values are calculated as follows:
Expected value = (row total *column total )/grand total
For example :
For value 95, expected value E= 180*199/427=83.89
For observed value 73,E= 180*162/427=68.29
similarly we find for all values and we get following expected value table.
(83.89) (68.29) (27.82)
(93.21) (75.88) (30.91)
(21.90) (17.83) (7.26)
Test statistic= O is the observed value and E is expected value
"\\Sigma\\frac{(O-E)^2}{E}"
=1.472+1.118+0.037+0.325+0.314+0.002+8.998+7.363+0.074=19.702
From Observed values and E expected values from above two tables , and formula we get test statistic=19.7024
Step 3: CV at 0.05 level of significance , df= (r-1)(c-1)= 4, is
9.488.
step 4:
Test statistic is greater than CV. Hence null hypothesis is rejected.
Step 5: Hence there is no evidence to say that opinions on the referendum and their views on the moral issue of selling alcohol beverages are independent of each other
Comments
Leave a comment