3.1) The following null and alternative hypotheses need to be tested:
"H_0:" The two variables are independent
"H_a:" The two variables are dependent
3.2) This corresponds to a Chi-Square test of independence.
3.3) Based on the information provided, the significance level is "\\alpha=0.01," the number of degrees of freedom is "df=(2-1)\\times(3-1)=2," so then the rejection region for this test is "R=\\{\\chi^2:\\chi^2>9.21\\}"
3.4)
Based on the observed and expected values, the squared distances can be computed according to the following formula: "(E-O)^2\/E"
"\\dfrac{(14-8.8148)^2}{8.8148}=0.0817"
"\\dfrac{(10-10.0741)^2}{10.0741}=0.0005"
"\\dfrac{(11-12.1852)^2}{12.1852}=0.1153"
"\\dfrac{(14-13.9259)^2}{13.9259}=0.0004"
The Chi-Squared statistic is computed as follows:
"=0.1594+0.0817+0.0005+0.1153+0.0591+0.0004="
"=0.4164"
Since it is observed that "\\chi^2=0.4164<9.21=\\chi^2_c," it is then concluded that the null hypothesis is not rejected.
Therefore, there is NOT enough evidence to claim that the two variables are dependent, at the 0.01 significance level.
The corresponding p-value for the test is "p=P(\\chi^2>0.4164)=0.812045."
Comments
Leave a comment