- Complete a chi-square test of homogeneity
Null and Alternative Hypotheses
As usual, the null hypothesis is a statement of no difference or no change, so for a chi-square test of homogeneity, the null hypothesis is always that the distribution of the categorical variable is the same among all the populations.
hypotheses
Note: Homogeneous means the same in structure or composition. This test gets its name from the null hypothesis, where we claim that the distribution of the responses is the same (homogeneous) across groups.
The alternative hypothesis is that the distributions are not the same among all the populations, so this test looks for evidence that there are differences among the samples that are larger than those you would expect to see from just sampling variation if there really is no difference in the distributions for the populations.
Research Question: Do different top commercial airlines (American, Delta, and Southwest Airlines) have the same distribution of flight status (whether the flight is on-time, delayed, canceled, or diverted)?