Two-Way Tables & Relative Frequencies (College Board AP® Statistics)

Revision Note

Dan Finlay

Expertise

Maths Lead

Two-way tables

What is a two-way table?

  • A two-way table is used when there are two categorical variables

    • e.g. the school year and favorite subject of a random sample of students

  • The rows represent one variable and the columns represent the other variable

  • The number in a cell of a two-way table represents the frequency of the data, which satisfies the relevant values of both variables

    • This is called the cell frequency or the joint frequency

  • The totals for each row and each column are usually included in a two-way table

    • These are called marginal frequencies

Table listing favorite subjects (math, science, languages) of 9th and 12th graders, with marginal, joint, and total frequencies. Total: 50 students.
Example of a two-way table showing the frequencies of people in different school years and different favorite subjects

Joint, marginal & conditional relative frequencies

What are joint relative frequencies?

  • The joint relative frequencies are the proportions of the total that belong to each cell

  • To calculate a joint relative frequency for a cell

    • divide the joint (cell) frequency by the total frequency

      • e.g. divide the number of students in the 9th grade who say math is their favorite subject by the total number of students

  • If a two-way table is used to display joint relative frequencies then the total for the table is 1

What are marginal relative frequencies?

  • The marginal relative frequencies are the proportions of the total that belong to each row or column

  • To calculate a marginal relative frequency for a row or column

    • divide the marginal frequency by the total frequency

      • e.g. divide the number of students in the 9th grade by the total number of students

  • If a two-way table is used to display joint relative frequencies then each row or column will add up to the corresponding marginal relative frequency

Two two-way tables showing favorite school subjects by grade. The first shows frequencies and the second shows relative frequencies.
Example of joint and marginal relative frequencies

What are conditional relative frequencies?

  • A conditional relative frequency is the proportion of the total of a row or column that belongs to that cell

    • e.g. the proportion of students in the 9th grade who say math is their favorite subject is a conditional relative frequency

  • To calculate a conditional relative frequency

    • divide the joint (cell) frequency by the relevant marginal frequency

      • e.g. divide the number of students in the 9th grade who say math is their favorite subject by the total number of students in the 9th grade

  • If a two-way table is used to display conditional relative frequencies which are conditional of the row variable

    • then the conditional relative frequencies in each row will add up to 1

  • If a two-way table is used to display conditional relative frequencies which are conditional of the column variable

    • then the conditional relative frequencies in each column will add up to 1

Three tables illustrating the distribution and conditional probabilities of students' favorite subjects (Math, Science, Languages) across 9th and 12th grades.
Example of conditional relative frequencies

You've read 0 of your 10 free revision notes

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Dan Finlay

Author: Dan Finlay

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.