In this lesson, we have reviewed a few different ways to run a hypothesis test for an association between two variables:

  • Two Sample T-Tests (for an association between a quantitative variable and a binary categorical variable)
  • ANOVA and Tukey Tests (for an association between a quantitative variable and a non-binary categorical variable)
  • Chi-Square Tests (for an association between two categorical variables)

You are now equipped to use and interpret the results of each of these tests!


Take a look at the diagram provided for you in the workspace. The picture summarizes the four different hypothesis tests we’ve covered in this lesson and when to use them. Think of an association that you might be interested in exploring — in your own work or daily life! Can you identify which hypothesis test would be best suited to address your question?

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?