Unit 1.4 – Representing a Categorical Variable with Graphs
Why Use Graphs?
Graphs make patterns and proportions in categorical data easy to see and compare visually. They are essential for communicating results in AP Statistics!
Graphs make patterns and proportions in categorical data easy to see and compare visually. They are essential for communicating results in AP Statistics!
📊 Main Graph Types for Categorical Variables
- Bar Chart: Shows counts or percentages by category. Bars do not touch.
- Pareto Chart: Bar chart with sorted bars (largest first).
- Pie Chart: Shows proportion as slices of a circle. Good for small number of categories.
- Segmented Bar Chart: Shows category parts of a whole stacked in single bars.
Bar Chart Example Data
- Favorite Sport: Soccer (32), Basketball (28), Tennis (20), "Other" (10)
Pie Chart Proportion Calculation
\[
\text{Proportion (fraction)} = \frac{\text{Category count}}{\text{Total count}}
\]
\[ \text{Angle (in degrees)} = \text{Proportion} \times 360^\circ \]
\[ \text{Angle (in degrees)} = \text{Proportion} \times 360^\circ \]
For percentages, just multiply the proportion by 100.
🖼️ Anatomy of a Good Graph
- Title describes what is shown
- Axes/labels clearly identify categories and units (percent, count)
- Bars/slices are proportional to data
- All categories represented (even zero counts)
- For bar charts, bars are spaced apart
- For pie charts, slices add up to 100%
💡 Math Tricks & Study Tips
- Convert raw counts to proportions or percentages for easy visual comparison.
- Always label axes (bar chart) or parts (pie chart).
- Segmented bar charts can compare parts of a whole between groups.
- Use Pareto charts to show focus on “majority” categories.
- Draw sample graphs by hand for exam practice!
- "Other" category can make pie chart totals cleaner.
❌ Common Mistakes
- Forgetting title or labels (makes graphs confusing!)
- Bars touching in categorical bar charts (shouldn't!)
- Pie chart slices not adding to 100%
- Combining quantitative and categorical data in the same graph (no mixing!)
- Proportions/percentages miscalculated
- Not showing zero-count categories (implies missing data!)
📜 Quick Reference Formulas
Percent in Category
\[
\text{Percent in Category} = \frac{\text{Count in Category}}{\text{Total Count}} \times 100\%
\]
Proportion in Category
\[
\text{Proportion} = \frac{\text{Count in Category}}{\text{Total Count}}
\]
Summary:
Unit 1.4 covers the main ways to visually represent categorical variables: bar charts, pie charts, segmented bar charts, and Pareto charts. Good graphs are clearly labeled, proportional, complete, and easy to compare. Know how to compute percentages and proportions to accurately draw graphs for AP Statistics!
Unit 1.4 covers the main ways to visually represent categorical variables: bar charts, pie charts, segmented bar charts, and Pareto charts. Good graphs are clearly labeled, proportional, complete, and easy to compare. Know how to compute percentages and proportions to accurately draw graphs for AP Statistics!