Unit 1 · Topic 1.3 · about 15 minutes
Tabular Representation and Summary Statistics for One Categorical Variable
Organize categorical data into frequency and relative frequency tables, and use the proportions to decide whether a claim holds up.
Predict first
At Lincoln High, 180 students bike to school. At Jefferson High, 95 students do. At which school is biking more common?
Frequency tables
A categorical variable places each observational unit in a group (see 1.2 Variables). The first thing to do with categorical data is count how many units land in each category. A frequency table lists each category with its count, called its frequency.
To build one from raw responses, list the categories, tally each response exactly once, and check that the counts add up to the number of units. A missing or doubled tally shows up right away as a total that is off.
A student council asked a random sample of 200 students at its school, "Where do you usually do your homework?" Each student gave one answer, so the 200 students are the observational units and homework location is the categorical variable. The first two columns below are the frequency table.
| Location | Frequency | Relative frequency | Percent |
|---|---|---|---|
| Bedroom | 94 | 0.47 | 47% |
| Kitchen or dining table | 42 | 0.21 | 21% |
| Living room | 28 | 0.14 | 14% |
| At school | 26 | 0.13 | 13% |
| Somewhere else | 10 | 0.05 | 5% |
| Total | 200 | 1.00 | 100% |
Relative frequency tables
A relative frequency is the proportion of all the units that fall in a category:
For the bedroom, that is . A relative frequency table lists this proportion for every category, as in the third column. The relative frequencies add to 1, because every student is in exactly one category. Once the values are rounded the total can come out at 0.99 or 1.01, and that is fine.
Relative frequencies are what make groups of different sizes comparable. A larger school surveyed 400 students and found 188 who work in their bedrooms. That is twice as many students, but it is the same proportion: .
Proportions, percents and ratios
A proportion, a percent and a ratio carry the same information. Of the 200 students, 26 do their homework at school. That fact can be written as a proportion, , as a percent, 13%, or as a ratio, 13 out of every 100 students.
Use whichever form the question uses. What matters is that both sides of a comparison are in the same form: comparing 13% at one school with "30 students" at another compares nothing.
Worked exampleDoes the table support the claim?
On Monday, 500 students bought lunch in the cafeteria: 214 chose pizza, 131 a chicken sandwich, 97 a burrito bowl and 58 the salad bar. The manager posts a sign: "Most students who buy lunch choose pizza." Do the data support the sign?
Find the relative frequencies. Pizza: . Chicken sandwich: . Burrito bowl: . Salad bar: . They add to 1, so no student was missed or counted twice.
Read the claim carefully. Most means more than half, so the sign needs pizza's relative frequency to be greater than 0.50.
Compare. Pizza's relative frequency is 0.428, less than 0.50. Pizza is the single most popular lunch, but 57.2% of the students chose something else.
Conclude in context. The data do not support the sign. An accurate sign would say that pizza was the most popular choice, picked by about 43% of the students who bought lunch on Monday.
No. Pizza was chosen by 42.8% of the 500 students: the largest share, but not a majority.
Check your understanding
A survey asked 250 students to name their favorite season. The results were winter 40, spring 55, summer 120 and fall 35. What is the relative frequency of summer?
In a sample of 400 teens, a proportion of 0.35 said they have a part-time job. Which statement gives the same information?
Two clubs report how many members ordered the vegetarian meal at their end-of-year banquet. Robotics: 18 of its 45 members. Debate: 14 of its 28 members. Which statement is correct?
Twenty students each named the main pet in their household: dog, cat, dog, none, dog, fish, cat, none, dog, dog, cat, none, dog, bird, none, dog, cat, dog, none, dog. In a relative frequency table of these answers, what is the entry for dog?
A town surveyed 320 randomly selected residents about their favorite park activity: walking 112, playground 76, sports fields 68 and picnics 64. A council member says that at least a quarter of residents prefer the sports fields. Which response correctly evaluates the claim?
Course alignment, for teachers
AP Statistics topic 1.3, Unit 1: Exploring One-Variable Data and Collecting Data.
- Skill 3.A: Construct tabular and graphical representations of data and distributions.
- Skill 4.A: Describe and compare tabular and graphical representations of data, as well as summary statistics.