Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Statistics
  3. ›1 Exploring One-Variable Data and Collecting Data
  4. ›1.3 One categorical variable: tables and summaries

AP Statistics · Unit 1 · Exploring One-Variable Data and Collecting Data

1.3 One categorical variable: tables and summaries

Organize categorical data in frequency tables, read two-way tables, and calculate relative frequencies, marginal proportions, and conditional proportions.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A frequency table counts individuals in each category
  1. 1A frequency table counts individuals in each category
  2. 2Relative frequencies show each category’s share of the whole
  3. 3A two-way table organizes two categorical variables together
  4. 4Marginal and conditional proportions answer different questions
  5. 5Compare groups with proportions, not raw counts
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A frequency table counts individuals in each category

Suppose 30 students each name a favorite pet. The answers arrive as a messy pile. A table can make the pile readable.

Count how many students gave each answer. The count for one category is its frequency. Listing every category with its frequency gives a frequency table. Frequencies are counts, so they are whole numbers.

Favorite pets of 30 students

PetFrequency
Dog12
Cat9
Fish4
Other5
Total30
Pet
Dog
Frequency
12
Pet
Cat
Frequency
9
Pet
Fish
Frequency
4
Pet
Other
Frequency
5
Pet
Total
Frequency
30

The frequencies must add to the number of individuals. Here, 12+9+4+5=3012+9+4+5=3012+9+4+5=30. If the sum is off, a student was missed or counted twice.

Key terms · tap one for its definition

frequency

The frequency of a category is the number of individuals in the data set that fall in that category.

frequency table

A frequency table is a table that lists every category of a variable with its frequency, so that the frequencies add to the total.

Part 1 done

2

Part 2 of 5: Relative frequencies show each category’s share of the whole

Counts depend on how many individuals were asked, so shares are often more useful. The relative frequency of a category is its share of all individuals. Divide the frequency by the total. It can be written as a decimal, a fraction, or a percent. A percent is the proportion times 100, so 0.40 is 40%.

In words, relative frequency is the frequency divided by the total. In symbols:

relative frequency=frequencytotal\mathrm{relative\,frequency}=\frac{\mathrm{frequency}}{\mathrm{total}}relativefrequency=totalfrequency​

Worked example

Relative frequencies of pets

Use the table of 30 students: dog 12, cat 9, fish 4, other 5. Find the relative frequency of each pet.
  1. 1
    Dog: 1230=0.40\frac{12}{30}=0.403012​=0.40.
  2. 2
    Cat: 930=0.30\frac{9}{30}=0.30309​=0.30.
  3. 3
    Fish: 430≈0.133\frac{4}{30}\approx0.133304​≈0.133.
  4. 4
    Other: 530≈0.167\frac{5}{30}\approx0.167305​≈0.167.
  5. 5
    Check: 0.40+0.30+0.133+0.167=1.0000.40+0.30+0.133+0.167=1.0000.40+0.30+0.133+0.167=1.000.

Answer: Dog 40%, cat 30%, fish about 13.3%, and other about 16.7%.

Exam tip

Relative frequencies should add to 1, or 100%. Small rounding gaps are fine. A large gap signals a mistake.

Key term

relative frequency

The relative frequency of a category is its frequency divided by the total number of individuals, a proportion between 0 and 1.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify what the frequency of a category is.
Show answer and explanation

Answer: A · Worked explanation

A frequency is a count of individuals in a category. The share of all individuals is the relative frequency, which comes from dividing the count by the total. The category with the most individuals is the largest frequency, not the definition of frequency itself.
3

Part 3 of 5: A two-way table organizes two categorical variables together

Often we record two categorical variables for each individual. A single frequency table cannot show both. A two-way table puts the categories of one variable in rows and the other in columns. Each cell counts the individuals in that combination.

Lunch choice by grade for 100 students

School lunchPacked lunchTotal
Grade 9302050
Grade 10183250
Total4852100
Grade 9
School lunch
30
Packed lunch
20
Total
50
Grade 10
School lunch
18
Packed lunch
32
Total
50
Total
School lunch
48
Packed lunch
52
Total
100

The totals along the edges are called marginal total values. Each describes one variable alone and ignores the other. The corner total is the number of individuals overall.

Read a cell by finding its row and column together. Thirty Grade 9 students choose school lunch, for example. Check that the row totals and the column totals both add to 100. A mismatch means a count was entered wrongly.

Key terms · tap one for its definition

two-way table

A two-way table is a table of frequencies for two categorical variables, with one variable in the rows and the other in the columns.

marginal total

A marginal total is the sum of a row or a column in a two-way table, giving the frequency for one variable alone.

Part 3 done

4

Part 4 of 5: Marginal and conditional proportions answer different questions

Using the lunch table, we can ask about all students or about one grade. A marginal relative frequency divides a marginal total by the overall total. For school lunch, 48100=0.48\frac{48}{100}=0.4810048​=0.48.

A conditional relative frequency divides a cell count by the total of its own row or column. It describes one group only. Read the question carefully: wording such as “of the Grade 9 students” signals a conditional proportion.

Worked example

A conditional proportion

Find the proportion of Grade 9 students who choose school lunch, and compare it with Grade 10.
  1. 1
    The question is about Grade 9, so the denominator is the Grade 9 total, 50.
  2. 2
    The numerator is the Grade 9 students choosing school lunch, 30.
  3. 3
    Grade 9: 3050=0.60\frac{30}{50}=0.605030​=0.60.
  4. 4
    Grade 10: 1850=0.36\frac{18}{50}=0.365018​=0.36.

Answer: 60% of Grade 9 students choose school lunch, compared with 36% of Grade 10 students.

Common mistake

Do not divide by the overall total when the question is about one group. The value 30100=0.30\frac{30}{100}=0.3010030​=0.30 is the share of all students who are in Grade 9 and choose school lunch.

Key terms · tap one for its definition

marginal relative frequency

A marginal relative frequency is a marginal total divided by the overall total of a two-way table.

conditional relative frequency

A conditional relative frequency is a cell count divided by the total of its row or column, describing one group only.

Part 4 done

Quick check

One question on the part you just read

Easy

Calculate the relative frequency of a category that has 15 individuals out of 60 in all.
Show answer and explanation

Answer: B · Worked explanation

Relative frequency is frequency divided by total, so 1560=0.25\frac{15}{60}=0.256015​=0.25. The value 4.0 comes from dividing the total by the frequency, which inverts the fraction. The value 0.75 is the share of individuals outside the category, and 45 is how many individuals are outside it.
5

Part 5 of 5: Compare groups with proportions, not raw counts

Conditional proportions let us compare groups fairly, even when the group sizes differ. Suppose 20 of 25 students in Class X buy school lunch, and 30 of 50 in Class Y do. Class Y has more buyers, but its share is lower: 3050=0.60\frac{30}{50}=0.605030​=0.60 against 2025=0.80\frac{20}{25}=0.802520​=0.80.

When conditional proportions differ clearly between groups, the variables show an association. In the lunch table, school lunch is more common in Grade 9 than in Grade 10.

If the proportions are nearly equal across groups, there is little sign of association. Either way, the table describes only the individuals in it. It does not show that one variable causes the other.

Key term

association

An association exists between two categorical variables when the conditional relative frequencies of one differ across the categories of the other.

Note read

Check your recall[12 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Calculate[2 marks]

    A survey of 40 students finds that 14 walk, 10 bike, and 16 take the bus to school. Calculate the relative frequency of students who take the bus.

    Show mark schemeHide mark scheme

    Model answer

    Relative frequency is frequency divided by total: 1640=0.40\frac{16}{40}=0.404016​=0.40, or 40%.

    • 1 mark for dividing the frequency 16 by the total 40
    • 1 mark for obtaining 0.40 or 40%
  2. 2.Describe[2 marks]

    Describe the difference between a marginal relative frequency and a conditional relative frequency.

    Show mark schemeHide mark scheme

    Model answer

    A marginal relative frequency divides a marginal total by the overall total and describes everyone together. A conditional relative frequency divides by the total of one row or column and describes one group.

    • 1 mark for describing the marginal relative frequency as using the overall total
    • 1 mark for describing the conditional relative frequency as using the total of one row or column
  3. 3.Determine[3 marks]

    A survey of 80 adults gives this table. Under 30: 20 prefer tea and 30 prefer coffee. Age 30 and over: 18 prefer tea and 12 prefer coffee. Determine the marginal relative frequency of preferring tea and the conditional relative frequency of preferring tea among adults 30 and over.

    Show mark schemeHide mark scheme

    Model answer

    The tea total is 20+18=3820+18=3820+18=38, so the marginal relative frequency is 3880=0.475\frac{38}{80}=0.4758038​=0.475. Among adults 30 and over, the total is 30, so the conditional relative frequency is 1830=0.60\frac{18}{30}=0.603018​=0.60.

    • 1 mark for finding the tea total of 38
    • 1 mark for obtaining the marginal relative frequency 0.475
    • 1 mark for obtaining the conditional relative frequency 0.60 using the total of 30
  4. 4.Explain[2 marks]

    Explain why comparing raw counts can mislead when two groups have different sizes.

    Show mark schemeHide mark scheme

    Model answer

    A larger group tends to have larger counts even when its share is the same or smaller. Relative frequencies divide by each group’s total, so groups of any size can be compared fairly.

    • 1 mark for stating that a larger group tends to give larger counts regardless of share
    • 1 mark for explaining that relative frequencies use each group’s total and so allow a fair comparison
  5. 5.Justify[3 marks]

    Using the same table of 80 adults, justify whether tea preference appears to be associated with age group.

    Show mark schemeHide mark scheme

    Model answer

    Among adults under 30, 2050=0.40\frac{20}{50}=0.405020​=0.40 prefer tea. Among adults 30 and over, 1830=0.60\frac{18}{30}=0.603018​=0.60 do. These conditional relative frequencies differ clearly, so there is an association between age group and preference in these adults.

    • 1 mark for calculating both conditional relative frequencies, 0.40 and 0.60
    • 1 mark for comparing them and noting that they differ clearly
    • 1 mark for concluding that there is an association in these adults

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the marginal totals in a two-way table.
Show answer and explanation

Answer: C · Worked explanation

Marginal totals sit along the edges of a two-way table and give the frequency of one variable alone. Counts inside cells describe combinations of both variables. A largest count in a row is not a total, and cell proportions are relative frequencies, not totals.
4.

Medium·Calculate[1 mark]

A survey of 40 students finds that 14 walk, 10 bike, and 16 take the bus. Calculate the percent who bike.
Show answer and explanation

Answer: D · Worked explanation

The relative frequency of biking is 1040=0.25\frac{10}{40}=0.254010​=0.25, or 25%. The value 40% is the bus share, 1640\frac{16}{40}4016​, and 35% is the walking share, 1440\frac{14}{40}4014​. The value 10% mistakes the frequency 10 for a percent, without dividing by the total, so it ignores how many students were surveyed.
5.

Medium·Determine[1 mark]

A club has 40 adults under 30 and 40 adults aged 30 and over. Among those under 30, 10 prefer tea and 30 prefer coffee. Among those 30 and over, 24 prefer tea and 16 prefer coffee. Determine the proportion of adults 30 and over who prefer coffee.
Show answer and explanation

Answer: A · Worked explanation

The question restricts attention to adults 30 and over, so divide by their total of 40: 1640=0.40\frac{16}{40}=0.404016​=0.40. The value 0.20 divides by all 80 adults. The value 0.60 is the proportion of that group preferring tea, and 0.35 comes from dividing by the coffee total of 46 and rounding.
6.

Medium·Calculate[1 mark]

A two-way table of 120 students shows 45 seniors and 25 juniors in band, and 20 seniors and 30 juniors not in band. Calculate the marginal relative frequency of being in band.
Show answer and explanation

Answer: B · Worked explanation

The band total is 45+25=7045+25=7045+25=70, so the marginal relative frequency is 70120≈0.58\frac{70}{120}\approx0.5812070​≈0.58. The value 0.64 is 4570\frac{45}{70}7045​, the share of band members who are seniors. The value 0.38 is 45120\frac{45}{120}12045​, the senior band cell over the overall total. The value 0.42 is the share not in band.
7.

Medium[1 mark]

In one table, 52% of Class A and 50% of Class B prefer online homework. In another table, 80% of Class C and 40% of Class D prefer it. Which table gives stronger evidence of an association between class and preference?
Show answer and explanation

Answer: C · Worked explanation

An association shows up as conditional proportions that differ clearly across groups. In the second table they differ by 40 percentage points, and in the first table by only 2. A high percentage alone does not show association, and percentages are exactly what we should compare.
8.

Hard[2 marks]

Team A has 18 of its 24 players attend practice. Team B has 24 of its 40 players attend. Which statement is correct?
Show answer and explanation

Answer: A · Worked explanation

Team A’s proportion is 1824=0.75\frac{18}{24}=0.752418​=0.75, and Team B’s is 2440=0.60\frac{24}{40}=0.604024​=0.60. Comparing raw counts favors Team B only because it is bigger. Different sizes do not prevent comparison. Relative frequencies exist precisely so that groups of unequal sizes can be compared.
9.

Hard[2 marks]

A table of 200 individuals has 80 in Group 1, and 20 of those have trait T. In all, 55 individuals have trait T. A student computes 20200=0.10\frac{20}{200}=0.1020020​=0.10 as the proportion of Group 1 with trait T. What is the correct proportion?
Show answer and explanation

Answer: D · Worked explanation

The question is about Group 1, so the denominator is the Group 1 total: 2080=0.25\frac{20}{80}=0.258020​=0.25. The value 0.10 is the share of all individuals who are in Group 1 and have trait T. Dividing by 55 answers a different question, the share of trait T individuals who are in Group 1.
10.

Hard[2 marks]

A table of 150 individuals shows that Group A has 100 members, 60 of whom answered yes. Group B has 50 members, 20 of whom answered yes. Determine how much larger the proportion answering yes is in Group A than in Group B.
Show answer and explanation

Answer: B · Worked explanation

Group A: 60100=0.60\frac{60}{100}=0.6010060​=0.60. Group B: 2050=0.40\frac{20}{50}=0.405020​=0.40. The difference is 0.60−0.40=0.200.60-0.40=0.200.60−0.40=0.20. The value 40 is the difference in counts, which ignores group sizes. The value 0.27 divides that count difference by the overall total of 150, and 0.60 is only the proportion in Group A.

Keep going

Next topic1.4 One categorical variable: graphsPrevious topic1.2 Variables

More in Unit 1 · Exploring One-Variable Data and Collecting Data

  1. 1.1What data can tell usNotes · 10 questions
  2. 1.2VariablesNotes · 10 questions
  3. 1.3One categorical variable: tables and summariesNotes · 10 questions
  4. 1.4One categorical variable: graphsNotes · 10 questions
  5. 1.5One quantitative variable: graphsNotes · 10 questions
  6. 1.6Describing a distributionNotes · 10 questions
  7. 1.7Summary statisticsNotes · 10 questions
  8. 1.8Boxplots and summary graphsNotes · 10 questions
  9. 1.9Comparing distributionsNotes · 10 questions

All AP Statistics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/5 read

  1. 1A frequency table counts individuals in each category
  2. 2Relative frequencies show each category’s share of the whole
  3. 3A two-way table organizes two categorical variables together
  4. 4Marginal and conditional proportions answer different questions
  5. 5Compare groups with proportions, not raw counts
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe