Statistics

Which test do I use?

Pick the right procedure from the type of data and the question: z, t, paired t, chi-square, regression or ANOVA.

Cheat sheet · AP Stats · College · 3 sections

1Ask these three questions

  1. Is the variable categorical (yes/no, a category) or quantitative (a number)?
  2. How many samples or groups: one, two, or more than two? Are two samples paired (the same people measured twice, or matched pairs)?
  3. Is the question about a single value, a difference, an association, or how well data fit a model?

2Choosing the procedure

Data and questionProcedureExample question
One categorical variable, one proportionOne-proportion zIs the share of left-handed students different from 10%?
Categorical, two groups' proportionsTwo-proportion zDo more seniors than juniors drive to school?
One categorical variable vs a claimed distributionChi-square goodness of fitAre M&M colors spread as the company says?
Two categorical variables, one sampleChi-square independenceIs favorite sport related to grade level?
One categorical variable, several groupsChi-square homogeneityDo three schools have the same mix of lunch choices?
One quantitative variable, one meanOne-sample tIs the mean sleep time less than 8 hours?
Two measurements on the same subjectsPaired t (on the differences)Did scores go up from the pre-test to the post-test?
Quantitative, two independent groupsTwo-sample tDo the two teaching methods give different mean scores?
Quantitative, three or more group meansOne-way ANOVA (F)Do four fertilizers give the same mean plant height?
Two quantitative variablest test for the regression slopeDoes 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