Respuesta :
Answer:
a) The statistic calculated is [tex] \chi^2 = 0.89[/tex]
For this case the degrees of freedom are given by:
[tex] df =(2-1)*(2-1)= 1[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{1} >0.89)=0.345[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(0.89,1,TRUE)"
b) The statistic calculated is [tex] \chi^2 = 18.96[/tex]
For this case the degrees of freedom are given by:
[tex] df =(4-1)*(4-1)= 9[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{9} >18.96)=0.0255[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(18.96,9,TRUE)"
c)The statistic calculated is [tex] \chi^2 = 23.39[/tex]
For this case the degrees of freedom are given by:
[tex] df =(2-1)*(8-1)= 7[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{7} >23.39)=0.0015[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(23.39,7,TRUE)"
d) The statistic calculated is [tex] \chi^2 = 12.72[/tex]
For this case the degrees of freedom are given by:
[tex] df =(5-1)*(3-1)= 8[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{8} >12.72)=0.1219[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(12.72,8,TRUE)"
Step-by-step explanation:
Previous concepts
A chi-square goodness of fit test "determines if a sample data matches a population".
A chi-square test for independence "compares two variables in a contingency table to see if they are related. In a more general sense, it tests to see whether distributions of categorical variables differ from each another".
We need to conduct a chi square test in order to check the following hypothesis:
H0: There is no association (independence) in the between row and column variables
H1: There is association in the between row and column variables
The statistic to check the hypothesis is given by:
[tex]\chi^2 =\sum_{i=1}^n \frac{(O_i -E_i)^2}{E_i}[/tex]
Where O means obsevd values and E expected values.
The degrees of freedom can be calculated with :
[tex] df = (rows-1)*(cols-1)[/tex]
Part a
The statistic calculated is [tex] \chi^2 = 0.89[/tex]
For this case the degrees of freedom are given by:
[tex] df =(2-1)*(2-1)= 1[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{1} >0.89)=0.345[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(0.89,1,TRUE)"
Part b
The statistic calculated is [tex] \chi^2 = 18.96[/tex]
For this case the degrees of freedom are given by:
[tex] df =(4-1)*(4-1)= 9[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{9} >18.96)=0.0255[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(18.96,9,TRUE)"
Part c
The statistic calculated is [tex] \chi^2 = 23.39[/tex]
For this case the degrees of freedom are given by:
[tex] df =(2-1)*(8-1)= 7[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{7} >23.39)=0.0015[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(23.39,7,TRUE)"
Part d
The statistic calculated is [tex] \chi^2 = 12.72[/tex]
For this case the degrees of freedom are given by:
[tex] df =(5-1)*(3-1)= 8[/tex]
And the p value would be given by:
[tex] p_v = P(\chi^2_{8} >12.72)=0.1219[/tex]
And we can use the folloing excel code to find it: "=1-CHISQ.DIST(12.72,8,TRUE)"