Answer:
Step-by-step explanation:
Hello!
The Chi-Square Goodness of Fit analysis objective is to test if the observations of a categorical variable follow the historical or theoretical values of the study population.
We know the population's sale proportions (reported by Motor trend) of five top-selling compact cars and need to compare it to a sample of 400 compact car sales of Chicago to know if these proportions are different.
Chevy Cruze 24%⇒ P(CC)=0.24
Ford Focus 21%⇒ P(FF)=0.21
Hyundai Elantra 20%⇒ P(HE)= 0.20
Honda Civic 18%⇒ P(HC)= 0.18
Toyota Corolla 17%⇒ P(TC)= 0.17
The study variable is X: top-selling compact cars in Chicago, categorized Chevy Cruze, Ford Focus, Hyundai Elantra, Honda Civic, Toyota Corolla.
Then the hypotheses are:
H₀: P(CC)=0.24; P(FF)=0.21; P(HE)= 0.20; P(HC)= 0.18; P(TC)= 0.17
H₁: There is a difference within the expected and the observed data.
α: 0.05
The statistic to use is:
Where
Oi is the observed frequency of each i-category
Ei is the expected frequency of each i-category
k is the number of categories.
The first step to obtaining the value of the statistic is to calculate the expected frequencies:
Ei= n * Pi
Where Pi is the theoretical proportion for the i-category stated in the null hypothesis.
This test is always one-tailed to the right and so is the p-value, so you can calculate it as:
P(X²₄≥11.23)= 1 - P(X²₄<11.23)= 1 - 0.98= 0.02
The p-value is less than α, so the decision is to reject the null hypothesis. In other words, the market shares for the five compact cars in Chicago don't follow the market shares reported by Motor Trend.
I hope it helps!