Study Guide

Tabular Representation and Summary Statistics for One Categorical Variable

AP StatisticsΒ· Unit 1: Exploring One-Variable Data, Skill 2.DΒ· 20 min read

1. Constructing Frequency Tables for Categorical Dataβ˜…β˜†β˜†β˜†β˜†β± 5 min

A well-constructed frequency table organizes ungrouped categorical data to make patterns immediately visible. Every unique category must be explicitly listed, including a dedicated row for missing or non-response values if applicable. The final row of the table should always show the total sum of all counts, which must equal the full sample size .

πŸ“˜ Definition

Absolute Frequency

The raw number of individual observations that fall within a single specified category

Example:

If 32 out of 100 students select 'Biology' as their favorite subject, the absolute frequency for Biology is 32.

πŸ“ Worked Example

A survey of 40 students asks for their favorite pizza topping: 16 choose pepperoni, 12 choose cheese, 7 choose veggie, 3 choose ham, 2 do not respond. Build a full absolute frequency table.

  1. 1

    List all unique categories as table rows: Pepperoni, Cheese, Veggie, Ham, No Response

  2. 2

    Assign the corresponding raw count to each row: 16, 12, 7, 3, 2

  3. 3

    Add a final total row, sum all counts to confirm it equals the full sample size 40

βœ“ Quick check
  1. What value should the sum of all absolute frequencies in a valid table equal?

    • 0.5

    • 1.0

    • Total sample size

    • Number of categories

    Reveal answer
    Total sample size $n$ β€”

    All raw counts added together must equal the total number of observations in your dataset.

2. Relative Frequency and Proportion Calculationsβ˜…β˜…β˜†β˜†β˜†β± 5 min

Relative frequency tables convert raw counts to proportional values that make it easy to compare datasets of different sizes. All relative frequencies should be rounded to 2-3 decimal places for AP exam responses, unless the question specifies a different precision requirement.

pi=finp_i = \frac{f_i}{n}
πŸ“ Worked Example

Using the pizza topping survey data from the previous example, calculate the relative frequency for each category and build a complete relative frequency table.

  1. 1

    Take each absolute frequency value and divide by total sample size

  2. 2

    Calculate individual proportions: Pepperoni = 16/40 = 0.4, Cheese = 12/40 = 0.3, Veggie =7/40=0.175, Ham=3/40=0.075, No Response=2/40=0.05

  3. 3

    Sum all proportions to confirm the total equals exactly 1.0

3. Valid Summary Statistics for Single Categorical Variablesβ˜…β˜…β˜†β˜†β˜†β± 5 min

Nominal categorical variables with no inherent order only support a small set of valid summary statistics. You cannot calculate mean, median, or standard deviation for nominal data, even if the categories are labeled with numbers.

πŸ“˜ Definition

Mode for Categorical Data

The category label that corresponds to the highest absolute or relative frequency value. There can be multiple modes if two or more categories have identical maximum counts.

πŸ“ Worked Example

A table of car color preferences for 200 respondents shows: 45 red, 62 black, 51 white, 28 silver, 14 blue. Identify the mode and calculate the proportion of respondents that prefer white cars.

  1. 1

    Compare all frequency values to find the maximum: 62 respondents selected black, so the mode is 'Black'.

  2. 2

    Divide the count for white cars by total sample size: 51 / 200 = 0.255

  3. 3

    State both final values clearly to earn full AP exam points.

4. Interpreting Tabular Summaries for AP Exam Responsesβ˜…β˜…β˜…β˜†β˜†β± 5 min

When asked to describe a categorical distribution from a table, you must reference the relative frequency of the mode, note any categories with very low counts, and explicitly comment on the presence or absence of multimodal patterns.

βœ“ Quick check
  1. Which of the following is a valid summary for a categorical distribution of pet ownership?

    • The distribution is right skewed

    • The mode is 'Dog' with a relative frequency of 0.45

    • The median pet type is 'Cat'

    • The mean number of pets is 1.2

    Reveal answer
    The mode is 'Dog' with a relative frequency of 0.45 β€”

    Only mode and relative proportion are valid descriptive stats for this nominal categorical variable.

5. Common Pitfalls

Wrong move:

Calculating mean for categorical data with numeric labels

Why:

Mean requires interval/ratio scale, categorical labels are arbitrary values with no mathematical meaning

Correct move:

Use mode or relative proportion as your central tendency measure instead

Wrong move:

Forgetting to sum relative frequencies to 1.0

Why:

Unaddressed rounding errors can lead to totals >1 or <1, causing you to lose method marks

Correct move:

Adjust the final rounded value to ensure the total sum equals exactly 1.0

Wrong move:

Ignoring missing response categories in tables

Why:

Unaccounted missing data biases proportion estimates and leads to incorrect inference

Correct move:

Add a dedicated 'no response' row to your table to account for all observations

Wrong move:

Confusing raw frequency counts with relative proportions

Why:

AP exam questions explicitly ask for proportions, and submitting raw counts will earn zero points for that part

Correct move:

Always confirm if the question asks for absolute counts or relative values before responding

Wrong move:

Reporting median for nominal categorical data

Why:

Median requires ordered, rankable categories that nominal data does not have

Correct move:

Only use median for ordinal categorical variables if you explicitly justify the ranking order

6. Quick Reference Cheatsheet

Statistic / Output

Valid for Nominal Categorical Data

Formula

Absolute Frequency

Yes

Raw count of observations in group

Relative Frequency

Yes

Mode

Yes

Category with maximum

Median

No (only for ordinal)

Middle ranked value

Mean

No

Sum of values divided by

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2023 Β· Paper 1

    Categorical frequency table FRQ part

  • 2022 Β· Paper 2

    Proportion calculation MCQ set

  • 2021 Β· Paper 1

    Mode identification MCQ

What's Next

Mastering tabular summaries for single categorical variables is the foundational skill you will build on to analyze two-way tables for bivariate categorical data, a heavily weighted AP exam topic that appears in nearly every FRQ section. You will also apply these frequency calculation workflows to create bar charts and pie charts, the standard visual representations for univariate categorical data that are often paired with table questions on the AP test. This skill set also directly prepares you for inference procedures including chi-square goodness of fit tests, which rely on observed frequency counts as their core input data. Make sure to practice identifying invalid summary stats for categorical variables to avoid losing easy points on multiple choice questions.