Level UpStart free trial

8th Grade · 8.SP.A.4

Two-way tables in 8th grade

In 8th grade math, two-way tables sort survey answers by two questions at once. One example is whether students have a curfew and whether they have chores at home. Your child learns to build the table, turn counts into percents and use those percents to decide whether the two answers seem connected.

What the standard says

The official Common Core wording, quoted exactly. The plain version follows.

8.SP.A.4 Understand that patterns of association can also be seen in bivariate categorical data by displaying frequencies and relative frequencies in a two-way table. Construct and interpret a two-way table summarizing data on two categorical variables collected from the same subjects. Use relative frequencies calculated for rows or columns to describe possible association between the two variables.

What it means, in plain words

Some data comes in categories instead of measurements: yes or no, soccer or basketball, walks to school or rides. Two-way tables count these answers for two questions asked of the same people. One question goes down the side as rows and the other across the top as columns. Each box holds the number of people who gave both answers, and the last row and column hold the totals.

Tables of counts are called two-way frequency tables, because frequency means how many. Counts can mislead when the groups are different sizes, so your child turns them into relative frequencies. A relative frequency is a count divided by a total, written as a fraction or a percent. Tables of these percents are called relative frequency tables.

The choice of total matters. The question "Of the students with a curfew, what percent have chores?" divides by the total for the curfew row only. Your child then finds the same percent for students without a curfew and compares the two. Percents that are far apart suggest an association, meaning the two answers tend to go together. Percents that are about equal suggest no association.

Your child should be able to:

  • Build a two-way table from a list of survey answers
  • Read a count from the table and find the row and column totals
  • Find a relative frequency for one row or one column and write it as a percent
  • Compare percents across groups to decide whether two answers seem connected

Example

In a survey of 50 students, 20 have a curfew and 15 of them have chores. Of the 30 students with no curfew, 12 have chores. Do students with a curfew tend to have chores?

  1. Curfew row: 15 with chores, 5 without, 20 in total.
  2. No curfew row: 12 with chores, 18 without, 30 in total.
  3. With a curfew: 1520=75%\frac{15}{20} = 75\% have chores.
  4. With no curfew: 1230=40%\frac{12}{30} = 40\% have chores.
  5. 75% is far above 40%, so yes, students with a curfew tend to have chores. The table shows an association.

Example

Of 40 students with a pet, 10 play an instrument. Of 60 students without a pet, 15 play an instrument. Is there an association between having a pet and playing an instrument?

  1. More students without a pet play, 15 against 10, but that group is also bigger.
  2. With a pet: 1040=25%\frac{10}{40} = 25\%. Without a pet: 1560=25%\frac{15}{60} = 25\%.
  3. The percents are the same, so there is no association between having a pet and playing an instrument.

Where children usually get stuck

  • Asked what percent of students with a curfew have chores, your child writes 1550=30%\frac{15}{50} = 30\%.

    The grand total in the corner is the biggest number in the table, so it becomes the bottom of every fraction. The question only asks about the 20 students with a curfew.

    What helps. Ask who the question is about. Have your child put a finger on that group's row, and use that row's total as the bottom of the fraction.

  • Your child says students without a pet play instruments more, because 15 is more than 10.

    The child compared raw counts, but the groups have different sizes: 60 students against 40.

    What helps. Ask "out of how many?" for each group. Turning each count into a percent of its own group makes the comparison fair.

  • Asked what fraction of the students who walk to school have a pet, your child divides by the number of pet owners.

    This question and "what fraction of pet owners walk to school" use the same words in a different order. The child picks a total without checking which group comes after "of".

    What helps. Have your child underline the group that comes after "of" and circle its total in the table before writing the fraction.

Try four practice questions

Real 8th grade questions from our question bank, easiest first. Answer them right here, check each one, and see a worked solution for any question.

  1. 1Warm-up
    A survey asked students at a summer camp whether they prefer swimming or running. What percent of students who prefer swimming are in the younger age group?
    GroupSwimmingRunningTotal
    Younger448
    Older122032
    Total162440
    A
    25%
    B
    50%
    C
    75%
    D
    10%
    Show the answer and how to solve it

    The answer is 25% because 4 out of the 16 students who prefer swimming are in the younger age group.

    1. 1Look at the Swimming column and the Younger row. The cell where they meet is 4.
    2. 2For a column relative frequency, the whole is the total of that column. The total at the bottom of the Swimming column is 16.
    3. 3Divide the Younger count by the Swimming column total.

    Common mistake. A common mistake is dividing by the Younger group row total of 8. That gives a row relative frequency, but this question asks for a column relative frequency, so the denominator must be 16.

    The idea underneath. Column relative frequency always uses the column total as the whole, so you ask what share of that column belongs to the named row.

  2. 2On level
    Look at the table and Maya's setup below. For the question "Of students who have a pet, what fraction walk to school?", which best describes Maya's setup?
    Walk to schoolDo not walk to schoolTotal
    Have a pet181230
    Do not have a pet152540
    Total333770
    Maya’s setup: 1830\displaystyle \text{Maya's setup: } \frac{18}{30}
    A
    Used the non-pet-owner group total instead of the pet-owner group total.
    B
    Used the school-walker group total instead of the pet-owner group total.
    C
    Used the grand total of all surveyed students instead of the pet-owner group total.
    D
    No mistake; the setup is correct.
    Show the answer and how to solve it

    Maya's setup is correct. The denominator 30 is the pet-owner group total, the right denominator for this question, and the fraction 1830\frac{18}{30} correctly represents that conditional fraction.

    1. 1Read the group named in the question: it points to students who are in the 'Have a pet' row. That group determines the denominator.
    2. 2In the table, the total number of students in the 'Have a pet' group is 30 — read this from the 'Have a pet' row total.
    3. 3The numerator 18 is correct because 18 students are in both the 'Have a pet' row and the 'Walk to school' column — this is the intersection cell.
    4. 4Maya's denominator 30 is exactly the 'Have a pet' group total from step 2 — it already matches the conditioned-group total. The displayed fraction 1830\frac{18}{30} is the correct setup, so the best description is 'No mistake; the setup is correct.'

    Common mistake. A common mistake is assuming the setup must contain an error without checking the denominator. Maya's denominator 30 is exactly the pet-owner group total, not the school-walker group total (33), the non-pet-owner group total (40), or the grand total (70).

    The idea underneath. In a conditional proportion, the denominator is the group named after 'of' or 'among,' and the numerator is the part of that same group that also fits the second category.

  3. 3On level
    A survey recorded each student's favorite sport and whether the student has a pet. Which completed two-way table matches the data?
    StudentSportPet
    1SoccerYes
    2BasketballNo
    3SoccerNo
    4SoccerYes
    5BasketballYes
    6SoccerNo
    7SoccerNo
    8BasketballYes
    9SoccerNo
    10SoccerYes
    A
    SportYesNoTotal
    Soccer347
    Basketball213
    Total5510
    B
    SportYesNoTotal
    Soccer437
    Basketball213
    Total6410
    C
    SportYesNoTotal
    Soccer336
    Basketball224
    Total5510
    D
    SportYesNoTotal
    Soccer325
    Basketball415
    Total7310
    Show the answer and how to solve it

    The correct table shows Soccer 3 and 4 with row total 7, Basketball 2 and 1 with row total 3, column totals 5 and 5, and grand total 10.

    1. 1Each row in the survey table is 1 student. Count the students in each pair of categories.
    2. 2The joint counts are: Soccer and Yes = 3, Soccer and No = 4, Basketball and Yes = 2, and Basketball and No = 1.
    3. 3Now add the row totals, column totals, and grand total.
    4. 4The matching table must show Soccer: 3 yes, 4 no, total 7; Basketball: 2 yes, 1 no, total 3; column totals 5 and 5; and grand total 10.

    Common mistake. A common mistake is getting the grand total of 10 correct but swapping the Yes and No counts in the Soccer row. Count each category pair first, then fill in the row and column totals.

    The idea underneath. In a two-way table, each subject belongs in exactly 1 interior cell, and every total comes from adding those interior cell counts.

  4. 4Stretch
    A middle school survey asked students whether they play on a school sports team and whether they have a sibling. Use the table to complete the three statements below.
    Has a siblingDoes not have a siblingTotal
    Plays a sport35540
    Does not play a sport11920
    Total461460
    Percent who have a sibling among students who play a sport:
    %
    Percent who have a sibling among students who do not play a sport:
    %
    Students who do not play a sport are
    to have a sibling than students who play a sport.
    Show the answer and how to solve it

    87.5% and 55%; students who do not play a sport are less likely to have a sibling.

    1. 1Read the 'Plays a sport' row: 35 students have a sibling out of 40 total. Read the 'Does not play a sport' row: 11 students have a sibling out of 20 total. Use the row totals (40 and 20) as the denominators because you want the percent of each group that has a sibling, not the share of the whole survey.
    2. 2Compute the percent who have a sibling among students who play a sport. Dividing 35 by 40 gives 0.875, which equals exactly 87.5%. Enter 87.5 in the first input (input-rate-with).
    3. 3Compute the percent who have a sibling among students who do not play a sport. Dividing 11 by 20 gives 0.55, which equals 55%. Enter 55 in the second input (input-rate-without).
    4. 4Compare the two rates. Because 55% < 87.5%, students who do not play a sport are less likely to have a sibling than students who play a sport. Choose 'less likely' from the dropdown.

    Common mistake. A common mistake is comparing the raw counts 35 and 11, or dividing both by the grand total 60. The groups are different sizes, so the fair comparison is 3540\frac{35}{40} versus 1120\frac{11}{20}.

    The idea underneath. To describe association in a two-way table, compare conditional rates within each group, not raw counts from groups of different sizes.