1Ask these three questions
- Is the variable categorical (yes/no, a category) or quantitative (a number)?
- How many samples or groups: one, two, or more than two? Are two samples paired (the same people measured twice, or matched pairs)?
- Is the question about a single value, a difference, an association, or how well data fit a model?
2Choosing the procedure
| Data and question | Procedure | Example question |
|---|---|---|
| One categorical variable, one proportion | One-proportion z | Is the share of left-handed students different from 10%? |
| Categorical, two groups' proportions | Two-proportion z | Do more seniors than juniors drive to school? |
| One categorical variable vs a claimed distribution | Chi-square goodness of fit | Are M&M colors spread as the company says? |
| Two categorical variables, one sample | Chi-square independence | Is favorite sport related to grade level? |
| One categorical variable, several groups | Chi-square homogeneity | Do three schools have the same mix of lunch choices? |
| One quantitative variable, one mean | One-sample t | Is the mean sleep time less than 8 hours? |
| Two measurements on the same subjects | Paired t (on the differences) | Did scores go up from the pre-test to the post-test? |
| Quantitative, two independent groups | Two-sample t | Do the two teaching methods give different mean scores? |
| Quantitative, three or more group means | One-way ANOVA (F) | Do four fertilizers give the same mean plant height? |
| Two quantitative variables | t test for the regression slope | Does study time predict the exam score? |
3z or t for a mean?
Use t whenever the population standard deviation σ is unknown and estimated by s, which is almost always. Use z for means only when σ is known.
Related
Hypothesis testing step by step
The four steps of a significance test, how to read a p-value, and how to word your conclusion.
AP Stats · College
Confidence intervals and tests: formulas
Standard errors, intervals and test statistics for proportions and means, one and two samples, plus chi-square.
AP Stats · College
F-distribution table
Critical F values for α = 0.10, 0.05, 0.025 and 0.01, by numerator and denominator degrees of freedom (ANOVA).
Statistics · College