# Tabular Representation and Summary Statistics for One Categorical Variable

> AP Statistics · AP Stats 2024-2026
> Source: https://www.owlsprep.com/study/ap-statistics-u10-tabular-representation-and-summary-statistics/

We cover building frequency/relative frequency tables, valid summary stats for categorical data, interpreting tabular outputs, and avoiding misapplication of quantitative stats to non-numeric categories for AP exam points.

**Prerequisites:** [Distinguish categorical vs quantitative variables](https://www.owlsprep.com/study/ap-statistics-u10-categorical-vs-quantitative-variables/)

## Learning objectives

- Construct valid frequency and relative frequency tables for univariate categorical datasets
- Calculate mode, proportion, and marginal distributions for single categorical variables
- Interpret tabular summaries to identify dominant categories and response patterns
- Distinguish appropriate vs inappropriate summary statistics for non-quantitative data

## Constructing Frequency Tables for Categorical Data

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 $n$.

**Absolute Frequency** — The raw number of individual observations that fall within a single specified category

*Notation:* $f_i$

*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. List all unique categories as table rows: Pepperoni, Cheese, Veggie, Ham, No Response
2. Assign the corresponding raw count to each row: 16, 12, 7, 3, 2
3. Add a final total row, sum all counts to confirm it equals the full sample size 40

**Check your understanding**

1. What value should the sum of all absolute frequencies in a valid table equal?

   - 0.5
   - 1.0
   - Total sample size $n$
   - Number of categories

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

## Relative Frequency and Proportion Calculations

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.

$$p_i = \frac{f_i}{n}$$

> **Rounding Adjustment Tip**
>
> If rounding causes the sum of all relative frequencies to be slightly above or below 1.0, adjust the final category value to force the total to equal exactly 1.0 to avoid losing method marks.

**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. Take each absolute frequency value and divide by total sample size $n=40$
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. Sum all proportions to confirm the total equals exactly 1.0

## Valid Summary Statistics for Single Categorical Variables

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.

**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.

**Exam command terms**

AP exam questions use specific command terms for categorical summary stats:

- **Calculate proportion** — You must show the division of raw count by total sample size, not just state the final value

- **Identify the mode** — You must state the category label, not the numeric frequency value

**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. Compare all frequency values to find the maximum: 62 respondents selected black, so the mode is 'Black'.
2. Divide the count for white cars by total sample size: 51 / 200 = 0.255
3. State both final values clearly to earn full AP exam points.

## Interpreting Tabular Summaries for AP Exam Responses

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.

> **Common Exam Mistake**
>
> Never describe the 'shape' of a categorical distribution: shape descriptions like symmetric or skewed only apply to quantitative data distributions.

**Check your understanding**

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

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

## Common pitfalls

- **Wrong:** Calculating mean for categorical data with numeric labels
  - Why it fails: Mean requires interval/ratio scale, categorical labels are arbitrary values with no mathematical meaning
  - Correct: Use mode or relative proportion as your central tendency measure instead
- **Wrong:** Forgetting to sum relative frequencies to 1.0
  - Why it fails: Unaddressed rounding errors can lead to totals >1 or <1, causing you to lose method marks
  - Correct: Adjust the final rounded value to ensure the total sum equals exactly 1.0
- **Wrong:** Ignoring missing response categories in tables
  - Why it fails: Unaccounted missing data biases proportion estimates and leads to incorrect inference
  - Correct: Add a dedicated 'no response' row to your table to account for all observations
- **Wrong:** Confusing raw frequency counts with relative proportions
  - Why it fails: AP exam questions explicitly ask for proportions, and submitting raw counts will earn zero points for that part
  - Correct: Always confirm if the question asks for absolute counts or relative values before responding
- **Wrong:** Reporting median for nominal categorical data
  - Why it fails: Median requires ordered, rankable categories that nominal data does not have
  - Correct: Only use median for ordinal categorical variables if you explicitly justify the ranking order

## Cheatsheet

| Statistic / Output | Valid for Nominal Categorical Data | Formula |
| --- | --- | --- |
| Absolute Frequency | Yes | Raw count of observations in group |
| Relative Frequency | Yes | $f_i / n$ |
| Mode | Yes | Category with maximum $f_i$ |
| Median | No (only for ordinal) | Middle ranked value |
| Mean | No | Sum of values divided by $n$ |

## 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.

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-statistics-u10-tabular-representation-and-summary-statistics/
