Respuesta :
Answer:
a) [tex]E_{Gold} =0.3*200=60[/tex]
[tex]E_{Silver} =0.6*200=120[/tex]
[tex]E_{Platinum} =0.1*200=20[/tex]
b) [tex]\chi^2 = \frac{(68-60)^2}{60}+\frac{(103-120)^2}{120}+\frac{(29-20)^2}{20} =7.525[/tex]
c) [tex]df=Categories-1=3-1=2[/tex]
Step-by-step explanation:
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".
Assume the following dataset:
Silver, Gold and Platinum cards are 60 %, 30 % and 10 %
We need to conduct a chi square test in order to check the following hypothesis:
H0: There is no difference with the proportions claimed
H1: There is a difference with the proportions claimed
The level of significance assumed for this case is [tex]\alpha=0.05[/tex]
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]
The observed values are:
[tex]O_{Gold}=68[/tex]
[tex]O_{Silver}=103[/tex]
[tex]O_{Platinum}=29[/tex]
a) What is the expected number of customers applying for each type of card in this sample if the historical proportions are still true?
The expected values are given by:
[tex]E_{Gold} =0.3*200=60[/tex]
[tex]E_{Silver} =0.6*200=120[/tex]
[tex]E_{Platinum} =0.1*200=20[/tex]
b) Compute the chi squared statistic.
And now we can calculate the statistic:
[tex]\chi^2 = \frac{(68-60)^2}{60}+\frac{(103-120)^2}{120}+\frac{(29-20)^2}{20} =7.525[/tex]
Now we can calculate the degrees of freedom for the statistic given by:
[tex]df=Categories-1=3-1=2[/tex]
And we can calculate the p value given by:
[tex]p_v = P(\chi^2_{2} >7.525)=0.0232[/tex]
And we can find the p value using the following excel code:
"=1-CHISQ.DIST(7.525,2,TRUE)"
Since the p value is lower than the significance level we reject the null hypothesis at 5% of significance, and we can conclude that we have significant differences from the % assumed for each category.