Respuesta :
Answer:
1) [tex]\chi^2 =\frac{(112-150)^2}{150}+\frac{(95-75)^2}{75}+\frac{(210-200)^2}{200}+\frac{(83-75)^2}{75}=16.313[/tex]
2) [tex]p_v =P(\chi^2_{3}>16.313)=0.000978[/tex]
And we got the same decision reject the null hypothesis at 5% of significance.
Step-by-step explanation:
Previous concepts
The Chi-Square test of independence is used "to determine if there is a significant relationship between two nominal (categorical) variables". And is defined with the following statistic:
[tex]\chi^2 =\sum_{i=1}^n \frac{(O-E)^2}{E}[/tex]
Where O rpresent the observed values and E the expected values.
State the null and alternative hypothesis
Null hypothesis: The distribution is 30% catfish, 15% bass, 40% bluegill, and 15% pike
Alternative hypothesis: The distribution is NOT 30% catfish, 15% bass, 40% bluegill, and 15% pike
The observed values are given by the table given:
Catfish =112, BAss = 95, Bluegill=210, Pike=83
Calculate the expected values
In order to calculate the expected values we can use the following formula for each cell of the table
[tex]E = \% Grand total[/tex]
[tex]E_{Catfish}=500*0.3=150[/tex]
[tex]E_{Bass}=500*0.15=75[/tex]
[tex]E_{Bluegill}=500*0.4=200[/tex]
[tex]E_{Pike}=500*0.15=75[/tex]
Part 1: Calculate the statistic
[tex]\chi^2 =\frac{(112-150)^2}{150}+\frac{(95-75)^2}{75}+\frac{(210-200)^2}{200}+\frac{(83-75)^2}{75}=16.313[/tex]
[tex]\chi^2 =16.313[/tex]
Calculate the critical value
First we need to calculate the degrees of freedom given by:
[tex] df= (categories-1)=(4-1)= 3[/tex]
Since the confidence provided is 95% the significance would be [tex]\alpha=1-0.95=0.05[/tex] and we can find the critical value with the following excel code: "=CHISQ.INV(0.95,3)", and our critical value would be [tex]\chi^2_{crit}=7.815[/tex]
We can calculate also the p value:
[tex]p_v =P(\chi^2_{3}>16.313)=0.000978[/tex]
And we got the same decision reject the null hypothesis at 5% of significance.