Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Statistics
  3. ›2 Probability, Random Variables and Probability Distributions
  4. ›2.2 Two categorical variables: summary statistics

AP Statistics · Unit 2 · Probability, Random Variables and Probability Distributions

2.2 Two categorical variables: summary statistics

Calculate marginal and conditional distributions from a two-way table, compare them using percentages, and draw conclusions about association.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A marginal distribution describes one variable by itself
  1. 1A marginal distribution describes one variable by itself
  2. 2A conditional distribution describes one variable within a group
  3. 3Percentages within groups allow fair comparisons
  4. 4Different conditional distributions indicate an association
  5. 5Association in a two-way table does not prove cause and effect
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A marginal distribution describes one variable by itself

A survey of 300 adults records each person’s age group and whether they use a fitness tracker. The counts go into a two-way table. We can describe either variable alone or both together.

Tracker use by age group (number of adults)

Age groupUses trackerNo trackerTotal
Under 307525100
30–496060120
50 and over305080
Total165135300
Age group
Under 30
Uses tracker
75
No tracker
25
Total
100
Age group
30–49
Uses tracker
60
No tracker
60
Total
120
Age group
50 and over
Uses tracker
30
No tracker
50
Total
80
Age group
Total
Uses tracker
165
No tracker
135
Total
300

A marginal distribution gives the percent of all units in each category of one variable, ignoring the other. For tracker use, divide each column total by the 300 adults: 165300=0.55\frac{165}{300}=0.55300165​=0.55 use one, and 135300=0.45\frac{135}{300}=0.45300135​=0.45 do not. The age groups make up 33.3%, 40.0% and 26.7% of the sample. These percents describe the whole sample at once.

Key term

marginal distribution

A marginal distribution is the distribution of one variable in a two-way table, found by dividing its totals by the total of all units.

Part 1 done

2

Part 2 of 5: A conditional distribution describes one variable within a group

Marginal percents ignore age, so they cannot show whether age matters. A conditional distribution describes one variable among only the units in one category of the other. It gives a percent for each category. The denominator is the group’s own total. It is not the total for everyone.

Figure 1. The conditional percent divides by the group total of 100. The marginal percent divides by the total of 300.

Worked example

Finding a conditional distribution

Find the distribution of tracker use among adults under 30.
  1. 1
    Word equation: conditional percent = cell count divided by group total.
  2. 2
    The group total for adults under 30 is 100.
  3. 3
    Uses a tracker: 75100=0.75\frac{75}{100}=0.7510075​=0.75.
  4. 4
    No tracker: 25100=0.25\frac{25}{100}=0.2510025​=0.25.

Answer: Among adults under 30, 75% use a tracker and 25% do not.

Each group has its own conditional distribution, and each one adds to 100%.

Common mistake

A percent of the grand total is not a conditional percent. Dividing 75 by 300 gives 25%, which describes all adults, not those under 30.

Key term

conditional distribution

A conditional distribution is the distribution of one variable among only the units in one category of the other variable.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the description that fits a marginal distribution.
Show answer and explanation

Answer: B · Worked explanation

A marginal distribution describes one variable for everyone in the table, using the total of all units as the denominator. The percents within a single category of the other variable describe a conditional distribution. Cell counts and percent differences are not distributions of one variable.
3

Part 3 of 5: Percentages within groups allow fair comparisons

The groups here have 100, 120 and 80 adults, so raw counts cannot be compared directly. Calculate the percents within each group, using that group’s total. The groups should be the ones named in the question. To ask whether tracker use depends on age, find percents within each age group.

Percent using a tracker within each age group

Age groupUses trackerNo tracker
Under 3075.0%25.0%
30–4950.0%50.0%
50 and over37.5%62.5%
Age group
Under 30
Uses tracker
75.0%
No tracker
25.0%
Age group
30–49
Uses tracker
50.0%
No tracker
50.0%
Age group
50 and over
Uses tracker
37.5%
No tracker
62.5%

Reading down the table, the percent using a tracker falls as age rises. Here, the gap between 75.0% and 37.5% is 37.5 units, each called a percentage point. Use this unit for a difference between two percents.

Key term

percentage point

A percentage point is the unit used for the difference between two percents, such as 75% and 50%.

Part 3 done

4

Part 4 of 5: Different conditional distributions indicate an association

Comparing the three rows shows how the pattern changes from one group to the next. If the conditional distributions differ noticeably, the variables have an association. Here the tracker percents fall steadily from 75.0% to 37.5% with age. Age group and tracker use are associated in this sample.

If the conditional distributions were nearly identical, the table would show little or no association. For example, 50% in every age group would mean that age tells us nothing about tracker use.

Exam tip

Support an association claim with percents from at least two groups, written in context. Name each group beside its percent.

Key term

association

An association exists between two variables when the distribution of one variable differs across the categories of the other.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the number a cell count is divided by to find a conditional percent.
Show answer and explanation

Answer: C · Worked explanation

A conditional percent describes one group, so its denominator is that group’s row or column total. Dividing by the total of all units gives a percent of everyone, which is a different quantity. The number of categories does not set the base.
5

Part 5 of 5: Association in a two-way table does not prove cause and effect

A clear association invites an explanation, but the table alone cannot supply one. Data from an observational study, in which researchers assign no treatments, can show that two variables move together. They cannot show that one causes the other.

Another factor linked to both variables might explain the pattern. Older adults may differ in income or comfort with technology. Cause-and-effect conclusions need a randomized experiment, so report only the pattern in the data.

Chance also matters. With few units, a small difference in percents can appear without any real relationship.

Key term

observational study

An observational study is a study in which researchers measure variables without assigning treatments to the units.

Note read

Check your recall[12 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Describe[3 marks]

    Describe the difference between a marginal distribution and a conditional distribution.

    Show mark schemeHide mark scheme

    Model answer

    A marginal distribution describes one variable using all units and ignores the other variable. A conditional distribution describes one variable within a single category of the other. Marginal percents divide by the total of all units, and conditional percents divide by that group’s total.

    • 1 mark for stating that a marginal distribution describes one variable for all units, ignoring the other
    • 1 mark for stating that a conditional distribution describes one variable within one category of the other
    • 1 mark for noting that the denominators differ: all units for marginal and the group total for conditional
  2. 2.Calculate[3 marks]

    In a survey of 400 people, 160 live in cities, and 96 of those city residents prefer online shopping. In all, 180 of the 400 people prefer online shopping. Calculate the percent of city residents who prefer online shopping and the marginal percent who prefer online shopping.

    Show mark schemeHide mark scheme

    Model answer

    City residents: conditional percent = 96160=0.60\frac{96}{160}=0.6016096​=0.60, so 60%. All people: marginal percent = 180400=0.45\frac{180}{400}=0.45400180​=0.45, so 45%.

    • 1 mark for dividing 96 by the city total 160
    • 1 mark for obtaining 60%
    • 1 mark for dividing 180 by 400 to obtain 45%
  3. 3.Justify[3 marks]

    Of 300 customers who used coupons, 45% bought a second item. Of 200 customers who did not use coupons, 45% bought a second item. Justify whether coupon use and buying a second item show an association.

    Show mark schemeHide mark scheme

    Model answer

    The conditional distributions are the same for both groups, with 45% buying a second item in each. The distribution of the response does not differ between groups, so there is little or no association.

    • 1 mark for comparing the conditional percents for the two groups
    • 1 mark for stating that the percents are equal, so the distributions do not differ
    • 1 mark for concluding that there is little or no association
  4. 4.Explain[2 marks]

    Explain why a strong association in an observational study does not show that one variable causes the other.

    Show mark schemeHide mark scheme

    Model answer

    Researchers assigned no treatments, so another factor linked to both variables could explain the pattern. Only a randomized experiment supports cause and effect.

    • 1 mark for stating that another factor linked to both variables could explain the pattern
    • 1 mark for stating that only a randomized experiment supports a cause-and-effect conclusion
  5. 5.Identify[1 mark]

    Identify the number to divide by to find the percent of adults under 30 who use a tracker, given that 75 of the 100 adults under 30 use one and 300 adults were surveyed.

    Show mark schemeHide mark scheme

    Model answer

    Divide by 100, the total for the under-30 group.

    • 1 mark for identifying 100, the group total

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify what it suggests when the conditional distributions of a response are nearly the same in every group.
Show answer and explanation

Answer: A · Worked explanation

When the response percents barely change from group to group, knowing the group tells us little about the response, so there is little or no association. Similar percents say nothing about group sizes, because each distribution is a set of percents within its own group.
4.

Medium·Calculate[2 marks]

Of 90 seniors, 36 buy school lunch. Of 150 juniors, 75 buy it. Calculate the percent of juniors who buy lunch.
Show answer and explanation

Answer: D · Worked explanation

The conditional percent for juniors is 75150=0.50\frac{75}{150}=0.5015075​=0.50, or 50%. Dividing 75 by all 240 students gives about 31%, a percent of everyone. The value 40% is the senior percent, 3690\frac{36}{90}9036​, and 46% is the percent of all students who buy lunch.
5.

Medium·Calculate[2 marks]

A store has 500 customers, of whom 200 are members. Of the members, 150 made a purchase. Of the 300 nonmembers, 90 made a purchase. Calculate the percent of all customers who made a purchase.
Show answer and explanation

Answer: B · Worked explanation

In all, 150+90=240150+90=240150+90=240 customers purchased, so the marginal percent is 240500=0.48\frac{240}{500}=0.48500240​=0.48, or 48%. The value 75% is only the member percent, and 30% is only the nonmember percent. The value 52% is the percent who did not purchase. Check that the denominator is the total of all customers.
6.

Medium·Determine[2 marks]

A table of preference (cats or dogs) by region (urban or rural) is used to see whether preference depends on region. Determine which percents to calculate.
Show answer and explanation

Answer: A · Worked explanation

To compare preference across regions, find the conditional percents within each region, which adjust for different region sizes. Percents of the whole table mix group size with preference. A marginal percent ignores region altogether, and raw counts depend on region size. Percents within each region are the fair comparison.
7.

Medium·Interpret[2 marks]

The percent preferring online shopping is 70% for ages 18–29, 55% for ages 30–49, and 35% for ages 50 and over. Interpret these percents.
Show answer and explanation

Answer: D · Worked explanation

Conditional percents that change steadily across groups indicate an association. They do not show cause, because the data are observed. Percents already adjust for group size, so size does not explain the differences, and 35% is not a majority. Describe the pattern in the percents, not a reason for it.
8.

Hard·Determine[2 marks]

In a table of 300 adults, 75 of the 100 adults under 30 use a fitness tracker, and 165 adults use one in all. Determine the percent of tracker users who are under 30.
Show answer and explanation

Answer: C · Worked explanation

Among the 165 users, 75 are under 30, so 75165≈0.455\frac{75}{165}\approx0.45516575​≈0.455, or about 45%. The value 75% is the percent of under-30 adults who use a tracker, which reverses the question. Dividing 75 by 300 gives 25%, and 55% is the marginal percent of users.
9.

Hard·Determine[2 marks]

A table of 24 people shows that 6 of 12 people in group P and 7 of 12 in group Q like a song. Determine the most reasonable conclusion.
Show answer and explanation

Answer: B · Worked explanation

The conditional percents are 612=50%\frac{6}{12}=50\%126​=50% and 712≈58%\frac{7}{12}\approx58\%127​≈58%. With only 12 units per group, one more person liking the song changes the percent by about 8 points, so chance could explain the gap. Equal group sizes do not rule out association, and no cause is shown.
10.

Hard·Determine[2 marks]

A survey of 400 adults finds that 70% of regular exercisers sleep well, compared with 40% of non-exercisers. Determine the most appropriate conclusion.
Show answer and explanation

Answer: A · Worked explanation

The conditional percents differ, which shows an association. Because the survey assigned no treatments, another factor could explain it, so cause is not established. Percents add to 100% within each group, not across groups, and categorical variables can have an association.

Keep going

Next topic2.3 SimulationPrevious topic2.1 Two categorical variables: tables and graphs

More in Unit 2 · Probability, Random Variables and Probability Distributions

  1. 2.1Two categorical variables: tables and graphsNotes · 10 questions
  2. 2.2Two categorical variables: summary statisticsNotes · 10 questions
  3. 2.3SimulationNotes · 10 questions
  4. 2.4Introduction to probabilityNotes · 10 questions
  5. 2.5Mutually exclusive eventsNotes · 10 questions
  6. 2.6Conditional probabilityNotes · 10 questions
  7. 2.7Independent events and unionsNotes · 10 questions
  8. 2.8Random variables and distributionsNotes · 10 questions
  9. 2.9Parameters of random variablesNotes · 10 questions

All AP Statistics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/5 read

  1. 1A marginal distribution describes one variable by itself
  2. 2A conditional distribution describes one variable within a group
  3. 3Percentages within groups allow fair comparisons
  4. 4Different conditional distributions indicate an association
  5. 5Association in a two-way table does not prove cause and effect
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe