High School Statistics — MGU Mathematics Series
Part II: Describing Data with Tables and Graphs
Frequency · Relative Frequency · Bar Graphs · Two-Way Tables · Conditional Distributions
Chapter 3 of 14
MGU Mathematics Series  ·  High School Statistics  ·  Library Textbook Edition

Chapter 3:
Organizing and Displaying
Categorical Data

Frequency tables, relative frequency tables, bar graphs, pie charts, two-way tables, marginal and conditional distributions, segmented bar graphs, association, and responsible interpretation of categorical data

■ Part II: Describing Data  ■

■ 14 Sections  •  Chapter 3 of 14 ■

Follows Chapter 2: Collecting Data  ·  Prepares students for Chapter 4: Displaying Quantitative Data

Purpose and Overview

When you ask people what sport they play, what political party they support, which brand of phone they own, or whether they prefer coffee or tea, you are collecting categorical data. Categorical data do not come as measurements on a scale — they come as names, labels, types, or group memberships. To make sense of this kind of data, statisticians organize it into tables and displays that reveal how often each category appears, what proportion of the total each group represents, and whether two categorical variables are related to each other.

This chapter introduces the tools for organizing, displaying, and interpreting categorical data. You will learn to build frequency tables, relative frequency tables, bar graphs, pie charts, segmented bar graphs, and two-way tables. More importantly, you will learn to read these displays critically: to compare proportions rather than raw counts, to recognize association between two categorical variables, and to identify misleading or incomplete representations of data.

Throughout this chapter, the goal is not to produce attractive-looking charts. The goal is to ask and answer meaningful questions about groups of people, objects, or outcomes — and to do that with honesty, precision, and context.

Opening Question

A school district surveys 400 high school students about their primary mode of transportation to school. The results show that 160 students drive or get driven, 120 students ride the bus, 80 students walk, and 40 students bike or use another method. How would you display these results clearly? If you wanted to compare transportation habits between freshmen and seniors, what kind of display would you need? If a newspaper reported that "twice as many students drive as bike," is that statement informative or misleading? By the end of this chapter, you will have the tools to answer all three questions carefully.

14Sections
10Objectives
13Key Terms
10+Worked Examples

Learning Objectives

  1. 1Explain what categorical data describe and how they differ from quantitative data.
  2. 2Construct and interpret frequency tables and relative frequency tables.
  3. 3Construct and interpret bar graphs for categorical data.
  4. 4Evaluate the appropriate use of pie charts and identify their limitations.
  5. 5Build two-way tables from data and identify marginal and conditional distributions.
  6. 6Calculate and interpret conditional distributions from two-way tables.
  7. 7Construct and interpret segmented bar graphs to compare groups.
  8. 8Identify association between two categorical variables using tables and graphs.
  9. 9Recognize misleading displays of categorical data.
  10. 10Interpret categorical data displays responsibly in real-world contexts.

Sections at a Glance

Sections 3.1 – 3.5
Describing One Categorical Variable
What Categorical Data Describe · Frequency Tables · Relative Frequency · Bar Graphs · Pie Charts

What Categorical Data Describe

In Chapter 1, you learned that variables come in two types: categorical and quantitative. Chapter 3 focuses entirely on categorical variables. A categorical variable classifies individuals into groups. The "values" of a categorical variable are not numbers to be added or averaged — they are names, labels, or categories. Examples include eye color, favorite subject, type of housing, preferred streaming service, response to a survey question, and political party affiliation.

Compare these to quantitative variables, which produce measurements that can be added, averaged, and placed on a number line: height in centimeters, annual income in dollars, temperature in Fahrenheit, or number of siblings. Quantitative variables are the subject of Chapters 4 and 5.

VariableTypeExample ValuesMeaningful Average?
Favorite sportCategoricalSoccer, Basketball, TennisNo
Grade levelCategoricalFreshman, Sophomore, Junior, SeniorNo
Height (cm)Quantitative162, 175, 183Yes
Number of siblingsQuantitative0, 1, 2, 3Yes
Zip codeCategorical98052, 10001, 60614No — labels only

The central questions in categorical data analysis are: How often does each category appear? What proportion of the total does each category represent? How do proportions compare across different groups? Is there a relationship between two categorical variables?

Student Warning

Do not assume that because data contain numbers, they are quantitative. Ask whether it would make sense to add, subtract, or average the values. Zip codes, jersey numbers, and student ID numbers look numerical but function as category labels. If averaging the values has no meaningful interpretation, treat the variable as categorical.

Frequency Tables

The simplest tool for summarizing categorical data is the frequency table. A frequency table lists every category in the data and records the count — the frequency — of how many individuals fall into each category. The last row always shows the total number of individuals, written as n. This total is essential for calculating proportions.

To build a frequency table: (1) identify the variable and list all possible categories, (2) count how many individuals fall into each category, (3) record the counts, (4) sum the counts to verify they add up to n.

Example 3.2.1
Building a frequency table from raw data
  • ProblemA class of 30 students named their favorite type of music. Responses: Pop (10), Rock (7), Hip-Hop (7), Classical (4), Jazz (2). Organize this data into a frequency table.
  • ThinkI need to count how many times each music type appears. The categories are Pop, Rock, Hip-Hop, Classical, and Jazz. I will record each count and then verify the total.
  • Calculate Pop: 10 · Rock: 7 · Hip-Hop: 7 · Classical: 4 · Jazz: 2 Verify: 10 + 7 + 7 + 4 + 2 = 30 = n ✓
  • InterpretPop is the most common favorite among these 30 students, with 10 selections. Jazz is the least common, with only 2 students selecting it.
Favorite Music TypeFrequency
Pop10
Rock7
Hip-Hop7
Classical4
Jazz2
Total30
Student Warning

The frequency column shows counts. A high count only means many individuals fall into that category — it says nothing about the proportion unless you know the total n. Always record the total so proportions can be calculated.

Relative Frequency Tables

Frequency tables have an important limitation: counts are hard to compare across groups of different sizes. Suppose School A reports 120 students with part-time jobs and School B reports 80. If School A has 600 students and School B has 200, the proportions tell the opposite story: 20% at School A versus 40% at School B.

This is why relative frequency matters. The relative frequency of a category is the proportion — or percentage — of the total in that category:

Formula — Relative Frequency

relative frequency = frequency ÷ n

Multiply by 100 to express as a percentage. Relative frequencies should sum to 1.00 (or 100%). Small rounding differences — such as 0.999 or 1.001 — are acceptable.

Example 3.3.1
Building a relative frequency table
  • ProblemUse the music preference data from Example 3.2.1 (n = 30) to build a relative frequency table.
  • ThinkDivide each frequency by 30. Express the result as a decimal proportion and as a percentage.
  • Calculate Pop: 10 ÷ 30 ≈ 0.333 = 33.3% Rock: 7 ÷ 30 ≈ 0.233 = 23.3% Hip-Hop: 7 ÷ 30 ≈ 0.233 = 23.3% Classical: 4 ÷ 30 ≈ 0.133 = 13.3% Jazz: 2 ÷ 30 ≈ 0.067 = 6.7% Check: 0.333 + 0.233 + 0.233 + 0.133 + 0.067 = 0.999 ≈ 1.00 ✓ (rounding)
  • InterpretAbout one-third of students (33.3%) preferred Pop. Rock and Hip-Hop were equally preferred at about 23% each. Classical and Jazz together accounted for about 20% of preferences.
Music TypeFrequencyRelative FrequencyPercentage
Pop100.33333.3%
Rock70.23323.3%
Hip-Hop70.23323.3%
Classical40.13313.3%
Jazz20.0676.7%
Total301.000100%
Data Ethics Note

When reporting data from a sample, always report the sample size n alongside relative frequencies. A percentage like "40% of respondents preferred X" means very different things if the sample was 10 people versus 10,000 people. Omitting n is one of the most common ways statistics are presented irresponsibly.

Bar Graphs

While tables organize categorical data precisely, graphs communicate patterns at a glance. The most common display for categorical data is the bar graph. Each category is represented by a bar, and the height of the bar represents the frequency or relative frequency of that category.

Key Features of a Well-Constructed Bar Graph

Equal width bars — all bars must have the same width.

Gaps between bars — unlike histograms (used for quantitative data), bar graphs have visible gaps between bars.

Labeled axes — vertical axis labeled with frequency or relative frequency; horizontal axis lists categories.

Title — every graph needs a descriptive title.

Use relative frequency — when comparing groups of different sizes, always use percentages rather than raw counts.

Example 3.4.1
Describing a relative frequency bar graph
  • DataThe music preference relative frequencies from Example 3.3.1 (n = 30).
  • ThinkMusic type is categorical. A bar graph is the appropriate display. I will use relative frequency on the vertical axis so the graph could be compared to other groups.
  • Display
    Graph Instruction — Relative Frequency Bar Graph

    Draw a vertical bar graph. Place the five music categories on the horizontal axis, ordered from most to least frequent: Pop, Rock, Hip-Hop, Classical, Jazz. Draw vertical bars to the following heights: Pop at 33.3%, Rock at 23.3%, Hip-Hop at 23.3%, Classical at 13.3%, Jazz at 6.7%. Leave a visible gap between each bar. Label the vertical axis "Relative Frequency (%)" from 0% to 40% in increments of 10%. Label the horizontal axis "Favorite Music Type." Add the title "Music Preferences Among 30 Students."

  • InterpretThe bar graph shows that Pop is the most preferred music type, with more than twice the relative frequency of Jazz. Rock and Hip-Hop are equally common. Classical falls between these extremes.
A relative frequency bar graph clearly communicates the ranking of preferences and the relative sizes of each group.
Side-by-Side Bar Graphs for Group Comparison

When comparing the distribution of a categorical variable across two groups, use a side-by-side (grouped) bar graph. For each category on the horizontal axis, draw two bars placed next to each other — one for each group — using different colors or shadings. Always use relative frequencies (percentages) when group sizes differ, so the comparison is fair.

Pie Charts and Their Limits

A pie chart is a circular display divided into sectors, where each sector is proportional to the relative frequency of that category. A category with 25% of the data gets a sector occupying 25% of the circle's area — equivalently, a central angle of 0.25 × 360° = 90°. Pie charts are common in news reports and business presentations, giving an immediate visual impression of how a whole is divided among parts.

Pie charts work best when there are relatively few categories (generally five or fewer) and the parts-to-whole relationship is the primary message. However, they have serious limitations that statisticians recognize.

LimitationWhy It Matters
Hard to compare sector sizesHuman perception of angles and areas is much less accurate than perception of bar lengths. A 5% difference between sectors is nearly impossible to detect visually.
Fail with many categoriesMore than five or six categories produces cluttered, overlapping labels and tiny sectors that are meaningless visually.
Cannot compare two groupsComparing sector sizes across two separate circles is especially unreliable. Side-by-side bar graphs or segmented bar graphs are far better for group comparisons.
3D effects are actively misleadingThree-dimensional pie charts cause front sectors to appear larger than back sectors even when representing equal proportions — a common technique in misleading presentations.
Example 3.5.1
Identifying a misleading pie chart
  • ProblemA company's annual report shows a 3D pie chart. Product A is labeled 40% of sales and Product B is labeled 35%. In the chart, Product A appears to have more than twice the area of Product B.
  • ThinkA 40% share versus a 35% share is actually a small difference — only 5 percentage points. The two sectors should appear quite similar in size.
  • AnalyzeThe 3D effect causes Product A's sector (at the front of the chart) to appear far larger than Product B's sector (at the back). The visual impression is completely inconsistent with the labeled percentages.
  • InterpretThe chart is misleading. A flat relative frequency bar graph would represent the comparison accurately — both bars would appear nearly equal in height.
A 40% vs. 35% difference is modest. The 3D effect manufactures a false impression of a much larger gap.
Data Ethics Note

Three-dimensional pie charts should generally be avoided in serious data communication. They are frequently used — intentionally or not — to exaggerate differences between categories. When precision matters, a relative frequency table or flat bar graph is almost always the better choice. When you see a 3D pie chart, always read the labeled percentages directly rather than trusting the visual impression.

Sections 3.6 – 3.11
Two Variables Together: Tables, Distributions, and Association
Two-Way Tables · Marginal Distributions · Conditional Distributions · Segmented Bar Graphs · Association

Two-Way Tables

The tools so far — frequency tables, relative frequency tables, bar graphs, and pie charts — describe the distribution of a single categorical variable. But many of the most interesting questions in statistics involve two variables at once: Do men and women have different preferences for a product? Do freshmen and seniors travel to school by different methods? Is there a relationship between smoking status and disease outcome?

To answer these questions, we use a two-way table (also called a contingency table). A two-way table organizes data by placing one categorical variable in the rows and another in the columns. Each cell records the count of individuals who fall into that particular combination of categories.

Structure of a Two-Way Table

Interior cells — counts for each combination of row category and column category.

Row totals — total count for each row category, placed in a final column.

Column totals — total count for each column category, placed in a final row.

Grand total — total number of individuals, placed in the lower-right corner.

Example 3.6.1
Reading a two-way table
  • ProblemA survey of 200 high school students recorded grade level (row) and extracurricular participation (column). Read the table below and interpret selected values.
  • ThinkIdentify what each cell count represents. Each grade level has the same sample size (50), which will make proportional comparisons straightforward.
  • Display
    Grade LevelParticipatesDoes Not ParticipateRow Total
    Freshman282250
    Sophomore341650
    Junior381250
    Senior401050
    Column Total14060200
  • Interpret28 freshmen participate. 40 seniors participate. Overall, 140 of 200 students (70%) participate. The number of participants increases with grade level. Since each grade has 50 students, we can see the participation proportion rises from 28/50 = 56% among freshmen to 40/50 = 80% among seniors.
Reading: 28 freshmen participate; 40 seniors participate; overall 140/200 = 70% participate.
Student Warning

Do not confuse row totals with the grand total. The row total for freshmen is 50, not 200. When you calculate proportions, use the correct total for the question you are answering. "What proportion of freshmen participate?" requires dividing by 50. "What proportion of all students participate?" requires dividing by 200.

Marginal Distributions

The marginal distribution of a variable in a two-way table is the distribution of that variable alone, found by looking at the row totals or column totals as proportions of the grand total. The word "marginal" refers to the totals written in the margins (edges) of the table.

To find the marginal distribution of the column variable, divide each column total by the grand total. To find the marginal distribution of the row variable, divide each row total by the grand total.

Example 3.7.1
Finding marginal distributions
  • ProblemUse the extracurricular activity table from Example 3.6.1 to find both marginal distributions.
  • ThinkI want the distribution of grade level alone (from row totals ÷ 200) and the distribution of participation alone (from column totals ÷ 200).
  • Calculate
    ParticipationCountRelative Frequency
    Participates140140 ÷ 200 = 70%
    Does Not Participate6060 ÷ 200 = 30%
    Total200100%
    Grade LevelCountRelative Frequency
    Freshman5050 ÷ 200 = 25%
    Sophomore5050 ÷ 200 = 25%
    Junior5050 ÷ 200 = 25%
    Senior5050 ÷ 200 = 25%
    Total200100%
  • InterpretOverall, 70% of students participate in at least one extracurricular activity. The sample is perfectly balanced by grade level (25% per grade). However, the marginal distribution of participation hides all information about whether participation rates differ across grades — for that we need conditional distributions.
Marginal distributions describe the full sample. They hide relationships between the two variables.

Conditional Distributions

A conditional distribution gives the distribution of one variable restricted to a specific value of another variable. It answers: "Among only the students in this group, what is the breakdown?" Conditional distributions are the key to detecting association — whether the distribution of one variable changes depending on the value of the other.

To find the conditional distribution of the column variable given a specific row category: locate that row, divide each cell count by the row total for that category, and express as proportions or percentages.

Example 3.8.1
Calculating conditional distributions — participation by grade level
  • ProblemUsing the extracurricular activity table from Example 3.6.1, find the conditional distribution of participation for each grade level.
  • ThinkFor each grade level, what proportion of students in that grade participate, and what proportion do not? Each row total is 50. Divide each cell in a row by 50.
  • Calculate
    Grade Level% Participating% Not ParticipatingTotal
    Freshman28 ÷ 50 = 56%22 ÷ 50 = 44%100%
    Sophomore34 ÷ 50 = 68%16 ÷ 50 = 32%100%
    Junior38 ÷ 50 = 76%12 ÷ 50 = 24%100%
    Senior40 ÷ 50 = 80%10 ÷ 50 = 20%100%
  • InterpretExtracurricular participation increases steadily with grade level: from 56% of freshmen to 80% of seniors. This 24-percentage-point difference is completely hidden in the marginal distribution, which only reports the overall rate of 70%.
Conditional distributions reveal the pattern that marginal distributions conceal.
Student Warning — Use the Correct Total

Always divide by the correct total when calculating a conditional distribution. If you want the conditional distribution of participation given grade level, divide by the row total — the number of students in that grade. If you divide by the grand total instead, you will get a very different and incorrect proportion.

Example 3.8.2
Comparing conditional distributions — exercise and energy levels
  • ProblemA survey asked 300 adults whether they exercise regularly and whether they report high energy levels. Use the two-way table below to compare conditional distributions.
  • Display
    High EnergyLow EnergyRow Total
    Exercises Regularly11248160
    Does Not Exercise5684140
    Column Total168132300
  • Calculate Among exercisers: 112 ÷ 160 = 0.70 = 70% report high energy Among non-exercisers: 56 ÷ 140 = 0.40 = 40% report high energy
  • InterpretThose who exercise regularly are much more likely to report high energy (70%) than those who do not (40%). This 30-percentage-point difference suggests an association between exercise habits and energy levels in this sample.
Important caution: this is observational data. Association does not prove that exercise causes higher energy. Confounding variables — such as overall health status — may explain both.

Segmented Bar Graphs

A segmented bar graph (also called a stacked bar graph) is the natural visual complement to a table of conditional distributions. Each bar represents one category of the row variable. Each bar is divided into segments corresponding to the conditional distribution of the column variable. All bars are drawn to the same total height representing 100%, so visual comparisons reflect proportions — not counts.

Example 3.9.1
Describing a segmented bar graph for grade-level participation
  • DataConditional distributions of extracurricular participation from Example 3.8.1.
  • ThinkI want to compare participation rates across four grade levels visually. A segmented bar graph will show each conditional distribution as a proportional division of a full bar.
  • Display
    Graph Instruction — Segmented Bar Graph

    Draw a vertical segmented bar graph with four equal-width bars on the horizontal axis, labeled Freshman, Sophomore, Junior, and Senior. Each bar has the same total height representing 100%. Divide each bar into two segments: a lower segment (solid fill) representing the percentage who participate, and an upper segment (hatched fill) representing the percentage who do not. Mark the boundary between segments at the following heights: Freshman at 56%, Sophomore at 68%, Junior at 76%, Senior at 80%. Label the vertical axis "Relative Frequency (%)" from 0% to 100%. Include a legend identifying the two segments. Title the graph "Extracurricular Participation by Grade Level."

  • InterpretThe segmented bar graph makes the increasing trend immediately visible. The lower segment (participating) grows taller from freshman to senior, while the upper segment (not participating) shrinks. The visual pattern confirms the numerical finding: upperclassmen are more likely to participate than underclassmen.
Segmented bar graphs compare conditional distributions. The equal-height format is essential — it ensures visual comparisons reflect proportions.
Student Warning — Equal-Height Bars Are Essential

Only use the segmented bar graph format with all bars the same height (representing 100%) when comparing groups. If bars are drawn to the height of raw counts instead of percentages, a bar representing a larger group will look taller simply because the group is bigger — not because the proportion is different.

Comparing Groups with Categorical Data

Statistics rarely asks about a single isolated group. Most interesting statistical questions ask about differences between groups. When the variable of interest is categorical, comparing groups means comparing conditional distributions. This section walks through a complete comparison from two-way table to interpretation.

Example 3.10.1
Complete group comparison — breakfast habits by grade category
  • ProblemA school surveys 320 students about breakfast habits. Grade category: underclassmen (freshmen + sophomores), upperclassmen (juniors + seniors). Compare breakfast habits across grade categories.
  • Display
    Grade CategoryEats Breakfast RegularlyDoes Not Eat RegularlyRow Total
    Underclassmen7288160
    Upperclassmen8872160
    Column Total160160320
  • Calculate Marginal distribution: 160 ÷ 320 = 50% eat regularly; 50% do not Underclassmen: 72 ÷ 160 = 45% eat regularly; 88 ÷ 160 = 55% do not Upperclassmen: 88 ÷ 160 = 55% eat regularly; 72 ÷ 160 = 45% do not
  • InterpretExactly half of all students eat breakfast regularly (marginal distribution). But the conditional distributions differ by grade category: 45% of underclassmen eat regularly versus 55% of upperclassmen — a 10-percentage-point difference. This suggests a modest association between grade category and breakfast habits.
Upperclassmen are somewhat more likely to eat breakfast regularly. However, this is an observational survey — schedule differences, driving to school, or other factors may explain the pattern.

Association in Two-Way Tables

Two categorical variables are associated if knowing the value of one variable tells you something useful about the likely distribution of the other. In two-way table terms, this means the conditional distributions differ across the categories of one variable. If the conditional distributions are all the same (or nearly the same), the variables show little or no association — knowing someone's group membership gives no information about their category on the other variable.

Example 3.11.1
Assessing association — proximity and park support
  • ProblemTwo hundred people were asked whether they support a proposed local park (yes/no) and whether they live within one mile of the proposed location (yes/no).
  • Display
    ResidenceSupport ParkDo Not SupportRow Total
    Within 1 Mile8416100
    More Than 1 Mile5248100
    Column Total13664200
  • Calculate Within 1 mile: 84 ÷ 100 = 84% support; 16% do not More than 1 mile: 52 ÷ 100 = 52% support; 48% do not Difference: 84% − 52% = 32 percentage points
  • InterpretThe conditional distributions are very different: 84% of nearby residents support the park versus only 52% of more distant residents. This substantial 32-percentage-point gap provides strong evidence of association between proximity and support. People who live closer are considerably more likely to support the park.
Strong association: proximity and park support are related in this sample. However, observational data cannot establish that proximity causes support — confounding variables such as age, family size, or existing park usage may be involved.
Data Ethics Note — Association vs. Causation

Association in a two-way table means the two variables are related. It does not mean one causes the other. This distinction is fundamental to responsible statistical interpretation. A headline saying "People who eat X are more likely to develop Y" reports an association from observational data — not a proven causal relationship. Always ask: how was the data collected? Could confounding variables explain the pattern?

Sections 3.12 – 3.14
Critical Reading, Public Data, and Common Mistakes
Misleading Displays · Categorical Data in Public Reports · Common Mistakes

Misleading Displays of Categorical Data

Bar graphs, pie charts, and tables can be displayed in ways that distort the truth — sometimes accidentally, sometimes deliberately. A reader who recognizes the techniques of misleading display is much harder to manipulate. Here are the most common ways categorical data displays are made misleading.

Technique 1
Truncated Vertical Axis
Vertical axis runs from 55% to 65% — a 4-point difference looks like a 4× difference visually.

Always check whether the vertical axis starts at zero. If not, recalibrate your visual impression by reading the actual labeled values.

Technique 2
Three-Dimensional Pie Charts
Front sectors appear larger than back sectors even when they represent identical proportions.

Use flat (2D) pie charts, or better yet, use a bar graph instead. Always read the labeled percentages directly.

Technique 3
Inconsistent Bar Widths
A wider bar at the same height appears to represent more data — the area, not just the height, creates the visual impression.

All bars in a bar graph must have equal widths. Unequal widths should raise immediate suspicion.

Technique 4
Omitting the Total or Sample Size
"1,000 people prefer Brand X" — without knowing n, this count is uninterpretable.

Always report n alongside frequencies or percentages. Without knowing the denominator, a percentage cannot be evaluated.

Technique 5
Selectively Reporting Categories
A satisfaction survey reports only "very satisfied" and "satisfied" while omitting "neutral," "dissatisfied," and "very dissatisfied."

Make sure all categories are reported. When reading a published display, ask whether any categories might be missing.

Technique 6
Confusing Counts with Proportions
Group A has 500 who prefer X; Group B has only 200 — but if Group A has 5,000 members and Group B has 400, the proportions (10% vs. 50%) tell the opposite story.

Always use relative frequencies when comparing groups of different sizes. Raw counts across groups of different sizes are nearly always misleading.

Example 3.12.1
Analyzing a misleading bar graph
  • ProblemA news article shows a bar graph comparing two candidates' approval ratings: Candidate A at 52%, Candidate B at 48%. The vertical axis runs from 46% to 54%. Candidate A's bar appears to be approximately three times the height of Candidate B's bar.
  • ThinkThe actual difference is 52% − 48% = 4 percentage points — a very modest difference. Why does the visual show something much larger?
  • Analyze Visual height of A: 52% − 46% = 6 units above axis baseline Visual height of B: 48% − 46% = 2 units above axis baseline Ratio: 6 ÷ 2 = 3 — Candidate A's bar appears 3× as tall Actual percentage ratio: 52% ÷ 48% ≈ 1.08 — barely a 8% larger share
  • InterpretThe truncated axis creates a wildly exaggerated impression of Candidate A's advantage. A viewer who does not read the labels carefully will badly overestimate the difference. A correctly drawn bar graph with a zero baseline would show the two bars as nearly equal in height.
The graph misrepresents a 4-point difference as a 3× visual difference. This is one of the most common misleading techniques in political and business data presentations.

Categorical Data in Public Reports

Categorical data appear everywhere in public life: elections and polling, public health reports, education statistics, business market share, social surveys, and scientific research. Reading these responsibly requires a set of critical questions.

Seven Critical Questions for Public Categorical Data

1. Sample size? A percentage based on 20 respondents is far less reliable than one based on 2,000.

2. Who was surveyed? A convenience sample of online volunteers differs greatly from a representative probability sample.

3. Counts or proportions? Identify which is being reported and ask for the other if it is missing.

4. All categories reported? Look for missing categories or selectively omitted groups.

5. Visual display accurate? Check axes, scales, and 3D effects.

6. Association vs. causation? Watch for causal language applied to observational data.

7. How was data collected? Response rates, survey wording, and data source all matter.

Example 3.13.1
Evaluating a public report critically
  • ProblemA city council report states: "In a recent survey, 72% of business owners said they support the proposed downtown development plan. This shows that the business community strongly supports the plan."
  • ThinkApply the seven critical questions. Several concerns emerge immediately.
  • Analyze Sample size: Not stated — could be 25 or 2,500. The claim is based on unknown data volume. Who was surveyed: Were all business owners contacted, or only downtown association members? Survey question wording: Not stated — phrasing strongly influences responses. Completeness: "Business community" is broad — suburban and small businesses may differ. Editorial language: "Strongly supports" is a judgment — 72% majority, but 28% opposed.
  • InterpretThe statement may accurately describe the sample surveyed, but the claim that it represents "the business community" broadly requires a larger and more representative sample. The word "strongly" overstates the evidence — 28% opposed is also significant. Responsible reporting would include sample size, sampling method, and exact question wording.
Critical reading reveals multiple unverified assumptions in a single sentence of a public report.

Common Categorical Data Mistakes

Mistake 1
Comparing Counts Instead of Proportions
"Our school has 60 multilingual students; the neighboring school has only 20."

If the first school has 1,200 students (5%) and the second has 150 students (13%), the count comparison tells the wrong story. Use relative frequencies when comparing groups of different sizes.

Mistake 2
Confusing Association with Causation
Students who eat school lunch are more likely to report feeling tired — therefore school lunch causes tiredness.

Use careful language: "associated with," "related to," or "linked to" rather than "causes" when describing observational data. Many confounding variables could explain both eating school lunch and tiredness.

Mistake 3
Dividing by the Wrong Total
60 females prefer Product A out of 100 females total — student calculates 60 ÷ 200 = 30% instead of 60 ÷ 100 = 60%.

Identify which question you are answering: "What proportion of females…?" requires dividing by the number of females, not the grand total.

Mistake 4
Interpreting Marginal Distributions as Describing Groups
"60% of all students prefer online resources, so 60% of students in each grade prefer online resources."

The marginal distribution describes the full sample, not individual groups. Use conditional distributions when making claims about specific subgroups.

Mistake 5
Over-Reading Small Differences in Conditional Distributions
51% of Group A and 49% of Group B prefer Option X — student concludes there is a meaningful association.

Small differences between conditional distributions may be due to chance variation in the sample. Formal hypothesis tests (Chapter 13) exist to evaluate whether observed differences are statistically meaningful.

Mistake 6
Using a Pie Chart with Too Many Categories
A pie chart with 18 categories — sectors become tiny, labels overlap, display is unreadable.

Combine small categories into an "Other" group, or use a bar graph instead. Pie charts should generally have no more than five categories.

Mistake 7
Reading a Bar Graph Without Checking the Axis
Two bars at 62% and 58% look very different because the axis runs from 55% to 65%.

Always check the vertical axis scale before interpreting bar heights. If the axis does not start at zero, adjust your interpretation accordingly.

Chapter Summary

Key Terms Review

categorical variable
A variable whose values are group labels or category names rather than measurements on a numerical scale.
frequency
The count of how many individuals fall into a particular category.
relative frequency
The proportion (or percentage) of the total that falls into a category; equals frequency divided by n.
frequency table
A table listing each category and its count, with a total row showing n.
relative frequency table
A table listing each category and its proportion of the total, enabling fair comparison across groups.
bar graph
A categorical data display using equal-width bars with gaps between them; height represents frequency or relative frequency.
pie chart
A circular display divided into sectors proportional to relative frequency; useful for few categories and parts-to-whole messages.
two-way table
A table recording the joint distribution of two categorical variables, with one in rows and one in columns.
marginal distribution
The distribution of one variable in a two-way table, found from row or column totals as proportions of the grand total.
conditional distribution
The distribution of one variable restricted to a specific value of the other variable; found by dividing row or column counts by the appropriate row or column total.
segmented bar graph
A bar graph in which all equal-height bars (representing 100%) are divided into segments showing the conditional distribution within each category.
association
A relationship between two categorical variables in which the conditional distributions differ across groups of the other variable.
n
The total number of individuals in the data set; the denominator used for all relative frequency calculations.

Concept Review Questions

Part AConcept Check
  1. Explain why a categorical variable cannot have a meaningful average the way a quantitative variable can. Give two examples of each type.
  2. What is the difference between a frequency and a relative frequency? Why is it important to report relative frequencies when comparing groups of different sizes?
  3. What is the difference between a marginal distribution and a conditional distribution? In which situation would you use each?
  4. Two variables show association in a two-way table. Does this mean that one variable causes the other? Explain, and give an example of a confounding variable that might explain an observed association.
  5. A bar graph of survey responses has a vertical axis that runs from 30% to 70%. One bar reaches 65% and another reaches 55%. How might this display mislead a viewer? How should the viewer correct for this?
  6. List three situations in which a bar graph would be a better choice than a pie chart. Explain your reasoning for each.
Part BFrequency Table Practice
  1. A group of 40 students named their favorite season: Summer (18), Winter (8), Fall (10), Spring (4). (a) Construct a complete frequency table. (b) Construct a relative frequency table with percentages. (c) Which season was most preferred, and what percentage selected it?
  2. A survey of 60 adults recorded their highest level of education: High School Diploma (15), Some College (12), Associate's Degree (8), Bachelor's Degree (18), Graduate Degree (7). (a) Construct a frequency table. (b) Construct a relative frequency table. (c) What percentage hold at least a Bachelor's Degree?
Part CTwo-Way Table Practice
  1. A sample of 180 high school students was asked about smartphone ownership and daily social media use. Own smartphone + check daily: 92. Own smartphone + do not check daily: 28. No smartphone + check daily: 12. No smartphone + do not check daily: 48. (a) Organize into a two-way table with all totals. (b) Find the marginal distribution of daily social media checking. (c) Find the conditional distribution of daily checking for smartphone owners and non-owners separately. (d) Is there evidence of association? Explain.
  2. A library surveyed 240 patrons about visit type (in-person, online, did not visit recently) and age group (under 30, 30–60, over 60), with 80 patrons in each age group. In-person counts: under 30 = 24, 30–60 = 36, over 60 = 48. Online counts: under 30 = 42, 30–60 = 28, over 60 = 12. Did not visit recently: under 30 = 14, 30–60 = 16, over 60 = 20. (a) Complete the two-way table. (b) Find the marginal distribution of visit type. (c) Find the conditional distribution of visit type for each age group. (d) Describe any associations you observe.
Part DGraph Interpretation Practice
  1. A bar graph of vehicle types in a school parking lot shows: Sedans (35%), SUVs (42%), Trucks (15%), Other (8%). The bars are drawn with different widths. (a) Explain why this is problematic. (b) Describe how the graph should be corrected.
  2. A pie chart of college major preferences for 2,000 students includes 18 separate slices. Identify two problems with this display and suggest a better alternative.
  3. A magazine shows a bar graph comparing customer satisfaction for two airlines: Airline A at 89% and Airline B at 84%, with a vertical axis running from 80% to 92%. (a) What is the actual difference in ratings? (b) How does the graph exaggerate this difference? (c) Describe how the graph should be redrawn honestly.
Part EConditional Distribution Practice
  1. A survey of 500 voters asked about party affiliation (Party A, Party B, Independent) and support for a budget proposal (Support, Oppose). Party A: 140 support, 60 oppose, 200 total. Party B: 50 support, 130 oppose, 180 total. Independent: 72 support, 48 oppose, 120 total. (a) Find the conditional distribution of support for each party affiliation. (b) Is there evidence of association? Cite specific percentages. (c) Among those who support the proposal, what proportion belongs to each party? (Note: this conditions on the column variable — use column totals.)
  2. A researcher studying transportation habits recorded mode (walk, drive, transit) and daily coffee consumption (low: 0–1 cups, high: 2+ cups) for 300 commuters. Walk: low 52, high 18, total 70. Drive: low 48, high 72, total 120. Transit: low 60, high 50, total 110. (a) Calculate conditional distributions of coffee consumption for each mode of transportation. (b) Describe any patterns. (c) Can you conclude that driving causes higher coffee consumption? Explain.

Error Analysis

Each problem shows a student's work or a claim. Identify the error and write the correct response.

Error Analysis 1

A two-way table shows 60 females out of 100 females total prefer Product A. 140 out of 200 total respondents prefer Product A. A student calculates: "60 ÷ 200 = 30% of females prefer Product A."

60 ÷ 200 = 30% of females prefer Product A

Identify the error. What is the correct calculation? Why does the error lead to a misleading conclusion?

Error Analysis 2

A student builds a relative frequency table and calculates: Pop 10/30 = 33.3%, Rock 7/30 = 23.3%, Hip-Hop 7/30 = 23.3%, Classical 4/30 = 13.3%, Jazz 2/30 = 6.7%. The student says: "The totals don't add to 100%, so I made an error somewhere."

These relative frequencies don't sum to 100%, so the table is wrong.

Is the student correct that there is an error? Explain what is actually happening and how to respond.

Error Analysis 3

A report states: "Neighborhoods with more coffee shops have higher property values. Therefore, opening more coffee shops causes property values to rise."

Opening more coffee shops causes property values to rise.

Identify the statistical error in this reasoning. Suggest at least one confounding variable that might explain both the number of coffee shops and the property values.

Error Analysis 4

A news story says: "City A has 800 residents who use public transit daily. City B has only 200." The reporter concludes: "City A has a much stronger culture of public transit use."

City A has a much stronger culture of public transit use.

What critical information is missing? Explain how the conclusion could be completely reversed if the missing information were provided.

Error Analysis 5

A student uses the marginal distribution of a two-way table (overall 65% of students prefer a digital format) to conclude: "Since 65% of all students prefer digital, about 65% of students in each grade level prefer digital."

The marginal distribution applies equally to each grade level.

Explain why this conclusion is not valid. What tool should be used instead to describe format preferences within each grade level?

Chapter 3 Checkpoint

Chapter 3 Checkpoint
Complete without assistance — assesses all key skills and concepts from Chapter 3
Section 1 — Frequency and Relative Frequency
  1. A sample of 80 college freshmen chose their primary reason for selecting their college: Academic reputation (28), Financial aid offered (22), Close to home (14), Social environment (10), Athletic programs (6). Construct a complete frequency table and relative frequency table with percentages. Include total rows.
  2. What percentage of students chose for financial reasons? What percentage chose for reasons other than academic reputation?
  3. Describe in words how a relative frequency bar graph for this data should be constructed. Specify the categories, axis scale, and approximate bar heights.
Section 2 — Two-Way Table and Conditional Distributions
  1. A survey of 360 adults recorded employment status (full-time, part-time, not employed) and whether they exercise at least three times per week (yes, no). Full-time: 72 exercise, 108 do not, 180 total. Part-time: 40 exercise, 40 do not, 80 total. Not employed: 52 exercise, 48 do not, 100 total. Construct the complete two-way table including all totals.
  2. Find the marginal distribution of exercise frequency for the full sample.
  3. Find the conditional distribution of exercise frequency for each employment category. Organize the results in a table.
  4. Is there evidence of association between employment status and exercise frequency? Cite specific percentages from your conditional distributions to support your answer.
  5. Describe in words what a segmented bar graph of the conditional distributions would look like. Which group shows the highest proportion who exercise at least three times per week?
  6. A student concludes: "Being unemployed causes people to exercise more." Write a one-paragraph response explaining why this conclusion is not supported by this observational data.
Section 3 — Misleading Display Analysis
  1. A political campaign shows a bar graph: Candidate A at 51%, Candidate B at 47%, Undecided at 2%. The bar for Candidate A appears to be more than four times as tall as the bar for Candidate B. What must be true about the vertical axis for this to be the case? What is the actual difference between the candidates' percentages?
  2. Redescribe how the graph should be drawn correctly. Why is this kind of misleading graph particularly concerning in political contexts?
Bridge to Later Mathematics and Statistics
Chapter 4: Displaying Quantitative Data — and Beyond

The tools introduced in Chapter 3 — frequency tables, relative frequency tables, two-way tables, conditional distributions, bar graphs, and segmented bar graphs — are the foundation for formal statistical inference about categorical data.

In Chapter 4, you will turn from categorical variables to quantitative variables, where the tools change — dot plots, stem-and-leaf plots, histograms, and box plots replace bar graphs — but the same questions persist: What is the shape? Where is the center? How much spread is there? Are there outliers?

In Chapter 9, you will return to two-way tables through the lens of conditional probability and independence. The conditional distribution of one variable given another is mathematically equivalent to a conditional probability, and association in a two-way table corresponds to statistical dependence between events.

In Chapter 13, you will learn about the chi-square test for association — a formal hypothesis test that determines whether observed differences in conditional distributions are larger than what chance variation alone would produce. That test asks the formal version of the question you learned to answer informally here: is there real evidence of association?

In college statistics and data science, two-way tables and conditional distributions are revisited in the context of tests for independence, relative risk, odds ratios, logistic regression, and epidemiological study design. The proportional reasoning skills you develop in this chapter are directly applicable to research in psychology, medicine, public health, social science, and business analytics.

MGU Library Connection
  • Appendix E: Graph and Display Reference — complete guide to bar graphs, segmented bar graphs, and two-way table layouts
  • Appendix F: Summary Statistics Formula Sheet — includes the relative frequency formula and conditional distribution procedure
  • Chapter 9 of this textbook — conditional probability and independence; formal connection to conditional distributions
  • Chapter 13 of this textbook — chi-square test for association in two-way tables
  • MGU Dictionary entries: categorical variable, frequency, relative frequency, two-way table, marginal distribution, conditional distribution, association
  • MGU Science Connections: Statistics in Epidemiology — categorical data analysis in public health contexts
  • Data Science Foundations, Chapter 2 — large-scale categorical data, frequency analysis, and classification foundations