AP Statistics  /  Unit 1: Exploring One-Variable Data and Collecting Data  /  Topic 1.3
NUM8ERS study notes · Topic 1.3

Tabular Representation and Summary Statistics for One Categorical Variable

Turn a list of category labels into a useful table. Learn to count observations, calculate their proportions and percentages, and use those numbers to explain what the data show.

2026–27 curriculum3 worked examples6 practice questionsCounts → proportions → claims

By the end of this lesson, you should be able to:

  • Construct a frequency table for one categorical variable.
  • Calculate relative frequencies, percentages and clearly labeled ratios.
  • Describe a categorical distribution using numbers and context.
  • Check whether a table supports a claim about the recorded group.

Before you start: Identify a categorical variable and distinguish a sample from its population. Review Topic 1.2 if you need a reminder.

First time learning this? Follow the Cedar High example, then build the small table in Worked Example 1.

Here to revise? Review the key ideas, then try the practice questions.

The concept in 60 seconds

A frequency table tells us how many observations fall in each category. A relative frequency table tells us what fraction of the recorded group falls in each category.

Relative frequency=category counttotal count\text{Relative frequency}=\frac{\text{category count}}{\text{total count}}

Percentage=relative frequency×100%\text{Percentage}=\text{relative frequency}\times100\%

For example, 2020 bus travellers out of 6060 students gives 2060=13\frac{20}{60} = \frac{1}{3}, or approximately 33.3%33.3\%.

A table is useful when you can turn it into a clear statement: “About 13\frac{1}{3} of these 6060 sampled students travelled by bus.” Always name the category and the group behind the denominator.

One caution: the largest category is not automatically a majority. A majority means more than half of the group.

What is the main travel method at Cedar High?

Continue the fictional school scenario from Topics 1.1 and 1.2. Cedar High has 1,2001{,}200 enrolled students, and a sample of 6060 students records each student’s main home-to-school travel method on the Tuesday being studied.

Each sampled student has one recorded method. The completed sample contains 2020 Bus, 2424 Car, 1212 Walk and 44 Bike responses. These invented totals describe all 6060 sample records; the 44 preview rows shown in Topic 1.2 were only a small part of that sample.

Main travel method for the 6060 sampled Cedar High students. Invented teaching data.
Main travel methodFrequency: studentsRelative frequencyPercentage
Bus20202060=13\frac{20}{60} = \frac{1}{3} ≈0.3333\approx 0.3333≈33.3%\approx 33.3\%
Car24242460=0.40\frac{24}{60} = 0.4040.0%40.0\%
Walk12121260=0.20\frac{12}{60} = 0.2020.0%20.0\%
Bike44460=115\frac{4}{60} = \frac{1}{15} ≈0.0667\approx 0.0667≈6.7%\approx 6.7\%
Total606011 exactly, before rounding100%100\%

The observational units are students. The categorical variable is main travel method. Counts and percentages summarize the category responses; they are not measurements of individual students’ travel durations.

Predict before reading on: Which travel method is most common? Is it used by a majority of these sampled students?

Check your prediction

Car is most common, with 2424 of 6060 students, or 40%40\%. It is not a majority because 40%40\% is less than 50%50\%. No single travel-method category has a majority in this sample.

Key ideas and notation

Category

A possible label for a categorical variable.

For main travel method: Bus, Car, Walk or Bike.

Frequency

The number of observations in a category. It is also called a count.

Bus has a frequency of 2020 students.

Relative frequency

The category count divided by the total count. It describes a share of the group.

Bus has relative frequency 2060=13\frac{20}{60} = \frac{1}{3}.

Distribution

How observations are spread across the categories.

The travel-method distribution is described by the 44 category counts or proportions.

Mode: most common category

The mode is the category with the highest frequency. Here the mode is Car; 2424 is its count. If categories tie for the highest count, report the tie rather than selecting one arbitrarily.

You may see ff used for a category’s frequency and nn for the sample total, giving relative frequency fn\frac{f}{n}. For a particular sample category, its proportion can also be written p^\hat{p} (“p-hat”), connecting this lesson to Topic 1.2.

Two columns do not automatically mean two variables. A table listing travel-method categories and their frequencies summarizes one categorical variable. The frequency column is the number of students with each recorded method.

How to build a frequency and relative frequency table

1. Identify the variableChoose the single categorical characteristic you are summarizing.
2. List the categoriesMake the category definitions clear so each record can be counted appropriately.
3. Count the observationsTally each record once for a single-choice categorical response.
4. Check the totalAdd the category counts and verify the number of recorded observations.
5. Divide each count by the totalUse the same denominator for every category in this distribution.
6. Label and interpretName the variable, group, counts and proportions. Add a contextual sentence.

Apply the steps to Cedar High

The categories have counts 2020, 2424, 1212 and 44. Their sum is 20+24+12+4=6020 + 24 + 12 + 4 = 60. The denominator for each sample relative frequency is therefore 6060, not the school’s population size of 1,2001{,}200 and not the number of categories, 44.

For Bus, divide 2020 by 6060. For Car, divide 2424 by 6060. Repeat for Walk and Bike. A combined table can show counts, fractions or decimals, and percentages together, as in the table above.

Twenty bus students is a frequency. Divide by all 60 sampled students to get 20/60, or one-third; this equals approximately 33.3 percent.
One category, three equivalent descriptions: count, proportion and percentage. The denominator stays tied to the whole recorded group. Icons are symbolic. View this visual at full size.

Check the whole table

  • Counts: nonnegative whole numbers, adding to the total number of observations.
  • Relative frequencies: each between 00 and 11, adding to 11 before rounding.
  • Percentages: each between 0%0\% and 100%100\%, adding to 100%100\% before rounding.

Rounding check: 33 categories with 11 observation each have exact relative frequencies 13\frac{1}{3}, 13\frac{1}{3} and 13\frac{1}{3}. To one decimal place, their percentages are 33.3%33.3\%, 33.3%33.3\% and 33.3%33.3\%, totaling 99.9%99.9\%. The small difference comes from rounding. Keep exact fractions or extra decimals during calculations and round the final answers.

Make the denominator match the records

For this single-choice travel question, each student has one main method, so categories do not overlap and every recorded response belongs somewhere. If there are missing responses, state whether your denominator includes all selected students or only students with valid recorded responses.

A question such as “Which travel methods did you use this week? Select all that apply” has a different counting rule: one student may appear in several categories. In that situation, percentages of students can exceed 100%100\% in total. Do not use the single-choice total check without reading the question.

Proportions, percentages, ratios and supported claims

2060\frac{20}{60}, 13\frac{1}{3}, approximately 0.33330.3333 and approximately 33.3%33.3\% describe the same share of Cedar High’s sample. A part-to-whole ratio of 20:60=1:320:60 = 1:3 carries the same information when clearly labeled “Bus students : All sampled students.”

Part to whole versus part to part

The ratio of Bus students to Car students is 20:24=5:620:24 = 5:6. This compares two categories. It is not the proportion of all sampled students who travelled by bus, because Walk and Bike students are not included in that comparison.

Part-to-whole comparison: 20 bus students divided by all 60 students equals one-third. Part-to-part comparison: 20 bus students to 24 car students gives ratio five to six. These answer different questions.
Read the labels before using a ratio: 2060\frac{20}{60} gives the bus share of the full sample; 20:2420:24 compares Bus with Car. Icons are symbolic. View this visual at full size.

Support a claim with the right comparison

“Car is most common.”

Supported for this sample: Car has the largest count, 2424, and the largest relative frequency, 40%40\%.

“Most students travelled by car.”

If “most” means a majority, this is not supported: 2460=40%\frac{24}{60} = 40\%, which is less than 50%50\%. Write “most common method” to avoid ambiguity.

“A majority did not travel by car.”

Supported for this sample: Bus, Walk and Bike total 20+12+4=3620 + 12 + 4 = 36 students; 3660=60%\frac{36}{60} = 60\%.

“Car exceeds Walk by 20 percentage points20\,\text{percentage points}.”

Supported: 40%−20%=20 percentage points40\%-20\%=20\,\text{percentage points}. In counts, the difference is 24−12=1224 – 12 = 12 students.

A table of categorical labels does not call for the mean or median of those labels. Averaging numerical codes such as Bus↦1 and Car↦2\text{Bus}\mapsto\text{1}\text{ and }\text{Car}\mapsto\text{2} would depend on arbitrary coding. Use counts, proportions and clearly defined comparisons to describe this categorical distribution.

Keep the scope of your conclusion: These results describe the 6060 sampled students. The bus proportion 2060\frac{20}{60} is a statistic. It does not prove that exactly 13\frac{1}{3} of all 1,2001{,}200 Cedar High students travelled by bus. A broader conclusion depends on how the sample was obtained and would need additional statistical reasoning.

Worked examples

Example 1: Build a table from raw category labels

Question: 1010 library visitors each choose one preferred reading category. Their responses are Fiction, Comics, Nonfiction, Fiction, Fiction, Comics, Nonfiction, Fiction, Nonfiction, Fiction. Construct a frequency and relative frequency table.

  1. Name the units and variable. The units are these library visitors. The variable is preferred reading category.
  2. Tally the responses. Fiction appears 55 times, Nonfiction 33 times and Comics 22 times. Check: 5+3+2=105 + 3 + 2 = 10.
  3. Divide each count by 1010. The relative frequencies are 0.500.50, 0.300.30 and 0.200.20.
Preferred reading category of 1010 library visitors. Invented teaching data.
CategoryFrequencyRelative frequencyPercentage
Fiction55510=0.50\frac{5}{10} = 0.5050%50\%
Nonfiction33310=0.30\frac{3}{10} = 0.3030%30\%
Comics22210=0.20\frac{2}{10} = 0.2020%20\%
Total10101.001.00100%100\%

Interpret: Fiction is the most common preference, chosen by 55 of these 1010 visitors. Exactly 50%50\% is half, not a majority.

Example 2: Calculate a combined proportion and a ratio

Question: In the Cedar High sample, what proportion walked or biked? What is the ratio of Walk students to Bike students?

  1. Combine the relevant counts. Walk and Bike are separate main-method categories, so 12+4=1612 + 4 = 16 students walked or biked.
  2. Use the full sample for the proportion. 1660=415\frac{16}{60} = \frac{4}{15} ≈0.2667\approx 0.2667, or approximately 26.7%26.7\%.
  3. Use the two category counts for their ratio. Walk:Bike=12:4=3:1\text{Walk}:\text{Bike}=12:4=3:1.

Interpret: About 26.7%26.7\% of the sampled students walked or biked. There were 33 Walk students for every 11 Bike student. These two results answer different questions.

Example 3: Decide whether a claim is supported

Question: A student says, “Car has the highest count, so a majority of the 6060 students travelled by car.” Evaluate the claim.

  1. Check the count. Car’s count of 2424 is larger than the other category counts.
  2. Check the majority threshold. A majority of 6060 requires more than 3030 students. Car has only 2424.
  3. Calculate the share. 2460=0.40=40%\frac{24}{60} = 0.40 = 40\%, below 50%50\%.
  4. Write a corrected claim. Car was the most common main travel method among these sampled students, but it was not used by a majority.

Reflect: “Largest category” compares categories with one another. “Majority” compares a category with half of the whole group.

How to explain a table in context

Write a sentence that identifies the group, category and numerical evidence. When evaluating a claim, also state the comparison or threshold you used.

Weak answerImproved answerWhy it is clearer
“Bus is 0.33330.3333.”“2020 of the 6060 sampled Cedar High students travelled mainly by bus that Tuesday, a proportion of 13\frac{1}{3}, or about 33.3%33.3\%.”Names the recorded group, method and denominator.
“Most are Car.”“Car was the most common method in this sample, with 2424 students, or 40%40\%; it did not have a majority.”Distinguishes largest category from more than half.
“The ratio is 3:13:1.”“The ratio of Walk students to Bike students was 12:4=3:112:4 = 3:1 in the sample.”Identifies both parts in the correct order.

Description frame: “[Category] accounted for [count] of the [total] recorded [units], or [percentage], in [context].”

Claim frame: “The data [support / do not support] this claim for [group] because [calculation] is [above / below / equal to] [relevant threshold].”

You do not need to mention every category in every answer. Choose the numbers that answer the question, and describe a whole distribution with its important comparisons rather than an unexplained list.

Common mistakes and how to correct them

Dividing by the number of categories

Mistake: “There are 44 methods, so Bus is 204\frac{20}{4}.”

Fix: Use the total number of observations, 6060. 44 is the number of labels, not the number of sampled students.

Using the population as the denominator

Mistake: “The sample bus percentage is 201,200×100%\frac{20}{1{,}200} \times 100\%.”

Fix: These 2020 Bus responses came from the sample of 6060. Use 2060\frac{20}{60} for the sample proportion.

Turning a part-to-part ratio into a whole-group percentage

Mistake: “Bus:Car=5:6\text{Bus}:\text{Car}=5:6, so 56\frac{5}{6} of the whole sample travelled by bus.”

Fix: The whole sample also includes Walk and Bike. Its bus share is 2060\frac{20}{60}, not 2024\frac{20}{24}.

Calling the largest category a majority

Mistake: “Car is largest, so more than half used Car.”

Fix: Compare with 50%50\%. Car has 40%40\%; it is largest without having a majority.

Mixing a proportion with a percentage

Mistake: “0.40=0.40%0.40 = 0.40\%.”

Fix: 0.40=40%0.40 = 40\%. A decimal proportion is converted to a percent by multiplying by 100%100\%.

Ignoring the response rules

Mistake: “Every survey’s percentages must total exactly 100%100\%.”

Fix: Check for rounding, missing responses and multiple selections before deciding that a table is wrong.

Try a correction: “There are 44 categories and 2020 Bus students. Therefore Bus has relative frequency 204=5\frac{20}{4} = 5, or 5%5\%, and a majority travelled by bus.”

Show the corrected reasoning

There are 6060 students in the sample. The bus relative frequency is 2060=13\frac{20}{60} = \frac{1}{3} ≈0.3333\approx 0.3333, or approximately 33.3%33.3\%. A relative frequency of 55 would be impossible for a part of this whole. Bus does not have a majority because its percentage is below 50%50\%.

Check your understanding: practice with solutions

These are original AP-style practice questions. Try each question before opening the solution. Use the hint when you need a starting point.

1. Construct a table from raw responses

1212 students each select one lunch: Sandwich, Salad, Pasta, Sandwich, Salad, Sandwich, Pasta, Salad, Sandwich, Pasta, Salad, Sandwich. Construct a frequency table and give each category’s percentage to one decimal place.

Hint

Tally each lunch separately. The three counts must add to 1212. Divide each by 1212 before multiplying by 100%100\%.

Solution and reasoning

Sandwich appears 55 times, Salad 44 times and Pasta 33 times. Their frequencies total 1212.

LunchFrequencyRelative frequencyPercentage
Sandwich55512\frac{5}{12} ≈0.4167\approx 0.4167≈41.7%\approx 41.7\%
Salad44412=13\frac{4}{12} = \frac{1}{3}≈33.3%\approx 33.3\%
Pasta33312=0.25\frac{3}{12} = 0.2525.0%25.0\%

Sandwich is the most common lunch among these 1212 students, but 512\frac{5}{12} is less than half, so it does not have a majority.

2. Choose the correct denominator

Use the Cedar High table. Which calculation gives the proportion of the sample whose main travel method was Bus?

  1. 204\frac{20}{4}, because there are 44 travel categories.
  2. 201,200\frac{20}{1{,}200}, because 1,2001{,}200 students attend the school.
  3. 2060\frac{20}{60}, because 6060 sampled students have recorded methods.
  4. 2024\frac{20}{24}, because Car is the largest category.
Hint

The numerator and denominator must refer to the same recorded group: the 2020 Bus students are part of which group?

Solution and reasoning

C. The sample bus proportion is 2060=13\frac{20}{60} = \frac{1}{3}. The other denominators refer to the category count, the whole school, or just the Car category, and do not give the requested sample share.

3. Recover a missing frequency

A library classifies all 5050 visitors during an hour as Adult, Teen or Child, with one category per visitor. There are 2222 Adults, 1818 Teens and an unspecified number of Children. Find the Child frequency and its relative frequency. Check the three relative frequencies.

Hint

Subtract the two known category counts from 5050. Every category’s denominator is still 5050.

Solution and reasoning

Child frequency=50−22−18=10\text{Child frequency}=50-22-18=10 visitors. The Child relative frequency is 1050=0.20\frac{10}{50} = 0.20, or 20%20\%. Adult is 2250=0.44\frac{22}{50} = 0.44 and Teen is 1850=0.36\frac{18}{50} = 0.36. Check: 0.44+0.36+0.20=10.44 + 0.36 + 0.20 = 1.

4. Evaluate a majority claim

A student uses the Cedar High table to claim, “A majority of the sample travelled by car because Car is the most common category.” Is the claim supported? Write a correction with numerical evidence.

Hint

A majority requires more than half of the observations, regardless of the ranking of categories.

Solution and reasoning

The majority claim is not supported. Car accounts for 2460=40%\frac{24}{60} = 40\%, which is below 50%50\%. A correct statement is: “Car was the most common method among the 6060 sampled students, but it was not used by a majority.”

5. Explain a ratio and a proportion

For Cedar High, calculate (a) the ratio Bus : Car and (b) the proportion of the whole sample travelling by Bus. Explain why the two answers have different denominators.

Hint

Part (a) names two categories. Part (b) names a category and the whole sample.

Solution and reasoning

(a) Bus:Car=20:24=5:6\text{Bus}:\text{Car}=20:24=5:6. It compares Bus students with Car students. (b) The sample bus proportion is 2060=13\frac{20}{60} = \frac{1}{3}, approximately 33.3%33.3\%, because the whole sample includes all 44 categories. Both are valid descriptions when their groups are clearly labeled; they answer different questions.

6. Handle missing responses honestly

A separate survey selects 3030 students. 2727 give a valid single travel-method response: 1212 Bus and 1515 Car. The other 33 do not respond. Calculate the Bus relative frequency among valid responses, then state a limitation of the result.

Hint

The question specifies the group in the denominator. Do not silently treat missing responses as a travel category.

Solution and reasoning

Among the 2727 valid responses, Bus has relative frequency 1227=49\frac{12}{27} = \frac{4}{9} ≈0.4444\approx 0.4444, or about 44.4%44.4\%. This percentage describes the respondents. The travel methods of the 33 nonrespondents are unknown, so 44.4%44.4\% should not be presented as the exact bus percentage for all 3030 selected students.

Quick revision notes

  • Frequency: the count of observations in a category.
  • Relative frequency: fn\frac{f}{n}, where ff is the category count and nn is the total observations in the stated group.
  • Percentage: relative frequency×100%\text{relative frequency}\times100\%.
  • Part-to-whole ratio: can express the same information as a proportion, when the groups are labeled.
  • Part-to-part ratio: compares two selected counts; it is not automatically a share of the whole.
  • Single-choice total check: counts add to the observation total; exact proportions add to 11 and exact percentages to 100%100\%.
  • Rounding: displayed proportions or percentages may have a small total discrepancy.
  • Mode: the most common category; report any tie for the highest count.
  • Majority: strictly more than 50%50\%, not merely the largest category.
  • Context: identify the category, recorded group and evidence behind your claim.

Memory check: What is being counted? What is the whole group? Have I used its total? What do the numbers let me claim about that group?

A final AP-style understanding check

4040 sampled residents each name the one material they recycled most often last week. The responses are Plastic: 1818, Paper: 1212, Glass: 66 and Metal: 44. Each resident gives one response, and none are missing.

  1. Identify the observational unit and categorical variable. Construct a table with counts and relative frequencies.
  2. Identify the most common category. Does it have a majority?
  3. Evaluate the claim that a majority of these sampled residents named Plastic or Paper.
  4. Give the ratio Plastic : Paper and explain how it differs from the Plastic proportion of the whole sample.
Show a model answer and self-check

(a) An observational unit is a sampled resident. The variable is the material that resident recycled most often last week.

MaterialFrequencyRelative frequencyPercentage
Plastic18181840=0.45\frac{18}{40} = 0.4545%45\%
Paper12121240=0.30\frac{12}{40} = 0.3030%30\%
Glass66640=0.15\frac{6}{40} = 0.1515%15\%
Metal44440=0.10\frac{4}{40} = 0.1010%10\%
Total40401.001.00100%100\%

(b) Plastic is the mode, with 1818 of 4040 responses, or 45%45\%. It does not have a majority, because 45%45\% is less than 50%50\%.

(c) The claim is supported for these sampled residents: 18+12=3018 + 12 = 30 named Plastic or Paper; 3040=0.75=75%\frac{30}{40} = 0.75 = 75\%, above 50%50\%.

(d) Plastic:Paper=18:12=3:2\text{Plastic}:\text{Paper}=18:12=3:2. This compares those two categories. Plastic’s share of the full sample is 1840=45%\frac{18}{40} = 45\%, using all 4040 residents in the denominator.

Self-check: Did your counts total 4040, your exact proportions total 11, and your claims name the sampled residents? Did you distinguish the largest category from a majority and label both parts of the ratio?

Before you move on, check that you can:

  • Build a categorical table from raw labels or given category counts.
  • Explain why each relative frequency uses its stated denominator.
  • Distinguish a count, a proportion, a percentage and a ratio.
  • Support a contextual claim with a calculation and an appropriate comparison.

Continue learning

A frequency table organizes the categories and their shares. Next, use graphs to make those comparisons easier to see.

Previous: Topic 1.2 · Review table construction · Back to the lesson overview