Chapter 21
Hypotheses for goodness of fit
- Recognize and state a claim about population proportions for categories of a categorical variable in a population.
- Given claimed proportions of categories in a population, state the null and alternative hypothesis corresponding to that claim.
- Explain why the alternative hypothesis of a “the population proportions equal the specified values” null hypothesis does not specify precisely which population proportions, if any, differ.
Expected counts and chi-square statistic
- Given a one-way table of counts and null values for population proportions, compute the expected count for each category.
- Compute the deviation between the observed counts in a sample and the expected counts under the null model.
- Compute the \(\chi^{2}\)-statistic given observed counts and population proportions.
- Recognize the Greek letter \(\chi\) (“chi”, pronounced “ki” as in “kite”) as the Greek analog to the Roman letter \(x\).
- Compute the \(\chi^{2}\)-statistic from observed counts and null proportions using
xchisq.test
from mosaic
.
The chi-square test for goodness of fit
- Explain why it is more appropriate to call the \(\chi^{2}\) “goodness-of-fit” test a “lack-of-fit” test.
- Interpret the output of
xchisq.test
in terms of a \(\chi^{2}\) lack-of-fit test.
- Use the output of
xchisq.test
to test a hypothesis about the proportions of some category in a population.
Interpreting significant chi-square results
- Construct simultaneous confidence intervals for the population proportions of a categorical variable using
gf_pop_props
from MUsaic
.
- Interpret the output of
gf_pop_props
.
- State the implicit null hypothesis tested by checking for inclusion of a null population proportion in a confidence interval returned by
gf_pop_props
.
Conditions for the chi-square test
- State the assumptions on a sample for the \(\chi^{2}\) statistic to follow a \(\chi^{2}\) distribution.