Tutorials › AP Statistics › Relative Frequency Bar Charts

Graphs for categorical data · Tutorial 44 of 1000

Relative Frequency Bar Charts

Convert category counts to proportions, make a relative frequency bar chart, and use relative scales to compare groups with different totals.

Beginner 9 min read

What You'll Learn

  • Calculate each category’s relative frequency by dividing its count by the relevant total.
  • Convert relative frequencies between decimal and percentage form.
  • Construct and read a bar chart with a relative frequency scale.
  • Check that the relative frequencies for a complete distribution add to 1, or 100%.
  • Compare category proportions across groups with different sample sizes.
  • Explain why counts and relative frequencies can give different impressions.

From Counts to Relative Frequencies

In Reading a Bar Chart of Counts, you used bar heights to find how many individuals or items belonged to each category. A count is useful, but it depends on the size of the group being described. If one group has more individuals than another, it may have higher counts in several categories simply because it is larger. A relative frequency bar chart displays proportions instead, making it easier to compare distributions from groups of different sizes.

To make the change, divide each category’s count by the total number of individuals represented. The denominator must match the group whose distribution you want to describe. The result is the fraction, decimal, or percentage of that group in the category. As covered in Frequency Tables and Relative Frequency, relative frequencies summarize how the total is divided among categories.

Definition: The relative frequency of a category is its count divided by the total number of individuals or items in the group. It represents the proportion of that group in the category.
Formula: If a category has count \(f\) among \(n\) individuals, its relative frequency is \(f/n\). To express the relative frequency as a percentage, multiply by \(100\%\).
$$ \text{Relative frequency}=\frac{\text{category count}}{\text{group total}} $$

For example, if 12 of 30 people in a group choose a particular category, its relative frequency is \(12/30=0.40\), or \(40\%\). The proportion and percentage communicate the same information in different forms. Keep the form consistent when labeling a graph: a decimal scale might run from 0 to 1, while a percentage scale might run from 0% to 100%.

Making and Checking the Graph

A relative frequency bar chart has the same basic structure as a count bar chart: categories appear on the horizontal axis, and separated bars represent them. The key change is the vertical axis. It shows relative frequency or percent rather than count. Each bar’s height is the category’s relative frequency in the group.

To construct the chart, first find the total number of individuals or items. Divide each category count by that same total. Then label the axes with the variable and the relative frequency scale, and draw one bar for each category to the calculated height. As with a count chart, bars have equal widths and gaps between them. Start the vertical scale at zero so the bar heights represent the proportions accurately.

1
Find the group total.
Add the category counts or use the stated total for the group being described.
2
Calculate each relative frequency.
Divide every category count by that same group total. Convert to percentages if that is the scale you plan to use.
3
Draw and label the chart.
Put categories on the horizontal axis and relative frequency or percent on the vertical axis. Draw each bar to the calculated height.
4
Check the distribution.
For a complete set of categories, the relative frequencies should add to 1, or the percentages should add to 100%, allowing for small rounding differences.

The total check follows from dividing all the counts by the same total: the counts add to the group total, so their relative frequencies add to 1. If rounded percentages add to 99.9% or 100.1%, that small difference may be due to rounding. A much larger mismatch suggests a calculation or denominator error.

Key graph-reading idea: A bar’s height gives the proportion or percentage in its category, not the number of individuals. Read the vertical-axis label before interpreting a bar.

Worked Example: A Relative Frequency Bar Chart

Worked Example: A Relative Frequency Bar Chart

A fictional community garden records the types of seedlings selected by 40 visitors. The counts are 18 tomato, 12 pepper, and 10 herb seedlings. Find the relative frequency for each category and describe the vertical-axis heights for a relative frequency bar chart.

The group total is 40 visitors. Divide each count by 40:

$$ \begin{aligned} \text{Tomato: }&\frac{18}{40}=0.45=45\%\\ \text{Pepper: }&\frac{12}{40}=0.30=30\%\\ \text{Herb: }&\frac{10}{40}=0.25=25\% \end{aligned} $$

The relative frequencies check:

$$ 0.45+0.30+0.25=1.00 \qquad\text{and}\qquad 45\%+30\%+25\%=100\% $$

On a chart with a decimal vertical scale from 0 to 1, the tomato bar should reach 0.45, the pepper bar 0.30, and the herb bar 0.25. On a percentage scale from 0% to 100%, the same bars reach 45%, 30%, and 25%. Tomato is the most common category in this group, representing 45% of the visitors. The bars show the same ordering as a count chart because all three counts come from the same group and share a denominator.

Why Relative Frequency Helps Compare Groups

Counts and relative frequencies answer different questions. A count tells how many individuals in a group belong to a category. A relative frequency tells what fraction of that group belongs to the category. When two groups have different totals, comparing their counts alone can be misleading: the larger group may have more individuals in a category even when the category represents a smaller share of that group.

To compare the distributions, calculate each group’s relative frequencies using its own total. Do not divide the counts in both groups by the grand total unless you specifically want to describe each group-category combination as a share of everyone combined. For comparing what is typical within each group, use that group’s total as the denominator.

Worked Example: Comparing Two Groups of Different Sizes

Worked Example: Comparing Two Groups of Different Sizes

A fictional recreation program asks participants which activity they prefer: cycling or swimming. Among 80 participants in a morning group, 52 choose cycling and 28 choose swimming. Among 40 participants in an afternoon group, 18 choose cycling and 22 choose swimming. Calculate the relative frequencies and compare the groups’ preferences.

The morning group’s denominator is 80, and the afternoon group’s denominator is 40. Calculate the percentages within each group:

$$ \begin{aligned} \text{Morning cycling: }&\frac{52}{80}=0.65=65\%\\ \text{Morning swimming: }&\frac{28}{80}=0.35=35\%\\ \text{Afternoon cycling: }&\frac{18}{40}=0.45=45\%\\ \text{Afternoon swimming: }&\frac{22}{40}=0.55=55\% \end{aligned} $$

Within each group, the relative frequencies add to 1:

$$ 0.65+0.35=1.00 \qquad\text{and}\qquad 0.45+0.55=1.00 $$

The morning group has more cycling selections by count: 52 compared with 18. But the group sizes differ. On a relative frequency bar chart using a common percentage scale, the cycling bars would reach 65% for the morning group and 45% for the afternoon group. The morning group’s cycling percentage is 20 percentage points higher. For swimming, the afternoon group’s percentage is 20 percentage points higher: \(55\%-35\%=20\) percentage points. This comparison describes the observed groups; it does not by itself explain why their preferences differ.

A suitable chart places cycling and swimming on the horizontal axis and uses two adjacent bars within each category, one for each group, with a shared vertical scale from 0% to 100%. Alternatively, separate panels can show one bar chart per group, provided the vertical scales match. A shared scale allows the bar heights to be compared fairly.

Reading the Bars and Choosing the Right Comparison

On a relative frequency chart, the tallest bar identifies the category with the largest share of the group, not necessarily the largest count across several groups. Always identify the group represented by a bar and note the scale. If a bar reaches 0.30 on a decimal scale, it represents 30% of the relevant group. To find an approximate count from a relative frequency, multiply that proportion by the group total; the chart alone does not give the count unless the total is also known.

A comparison between two percentages is often stated as a percentage-point difference. For instance, if one group has 65% in a category and another has 45%, subtract to get \(20\) percentage points. As discussed in Percent Versus Percentage Point Differences, that subtraction is not the same as a relative percent change. For a basic comparison of relative frequency bars, naming the two percentages and their percentage-point difference is usually clear.

Relative frequency charts are particularly helpful when groups have different sizes, but they do not make sample sizes irrelevant. A percentage based on a small group can change substantially when just a few individuals are added or removed. Include group sizes when they are available, especially if the purpose is to assess how much information supports the displayed percentages.

Worked Example: Interpreting a Chart and Recovering Counts

A fictional technology club compares preferred project types among 50 new members and 30 returning members. A relative frequency chart shows that 40% of new members and 60% of returning members prefer building a robot. State what the bars mean, calculate the counts represented, and compare the groups.

The 40% bar means that 40% of the 50 new members prefer building a robot. Convert 40% to a decimal and multiply by the group total:

$$ 0.40(50)=20\text{ new members} $$

The 60% bar means that 60% of the 30 returning members prefer building a robot:

$$ 0.60(30)=18\text{ returning members} $$

Although the returning-member bar is taller, the new-member group has a larger count in this category: 20 rather than 18. The relative frequencies show that the share preferring robot-building is 20 percentage points higher among returning members, since \(60\%-40\%=20\) percentage points. The counts answer how many members selected robot-building in each group; the percentages answer how large a share of each group they represent. Both descriptions are correct, but they answer different questions.

Common Mistakes and What a Strong Answer Includes

  • Using the wrong denominator. For a group’s relative frequency, divide by that group’s total. In a comparison of two group distributions, each group gets its own denominator.
  • Comparing counts as if the groups were the same size. Counts tell how many; relative frequencies tell what share. For different-sized groups, use proportions or percentages to compare the distributions.
  • Confusing the vertical scale with a count scale. A bar at 0.45 means 45% of the relevant group, not 0.45 individuals. State whether the axis is in decimals or percentages.
  • Forgetting the total check. Relative frequencies for a complete distribution should sum to 1, or 100%. If they do not, recheck the counts, denominators, and arithmetic; allow for small rounding differences.
  • Describing a percentage-point difference as a percent change. Subtracting two percentages gives a difference in percentage points. Use that wording when comparing the displayed group percentages.
  • Leaving out the groups and categories. A full comparison names which groups are being compared, the category of interest, and the percentages or percentage-point difference in context.

A strong response might say: “Cycling was selected by 65% of the morning group and 45% of the afternoon group, a difference of 20 percentage points. The morning group had the larger cycling share.” This reports the within-group percentages, names the category and groups, and describes the direction of the comparison. If counts are also relevant, report them separately and identify them as counts.

Key takeaway: Divide each category count by the total for the group it describes, then graph the resulting proportions or percentages. Relative frequency bars help compare distributions across groups of different sizes, while counts show the actual numbers represented.

Check Your Understanding

Use the counts or chart descriptions below. Show the denominator used for each relative frequency.

  1. A club survey records 15 votes for films, 9 for games, and 6 for music. Find each category’s relative frequency as a decimal and as a percentage.
  2. Group A has 24 of 60 people in a category. Group B has 15 of 30 people in the same category. Find both percentages and state which group has the larger share.
  3. Why is a relative frequency bar chart often more useful than a count bar chart when comparing groups of different sizes?
  4. A bar reaches 0.28 on a decimal relative frequency scale. What percentage of the relevant group does it represent?
  5. One group’s category percentages are 35% and 65%. Check that they form a complete distribution and explain what their sum tells you.