Home / AP Statistics 2.2 Summary Statistics for Two Categorical Variables Study Notes

AP Statistics 2.2 Summary Statistics for Two Categorical Variables Study Notes - New Syllabus

AP Statistics 2.2 Summary Statistics for Two-Way Tables Study Notes – New Syllabus

AP Statistics 2.2 Summary Statistics for Two-Way Tables Study Notes – As per latest AP Statistics Syllabus.

LEARNING OBJECTIVES

  • 2.2.A Calculate summary statistics from two-way tables.
  • 2.2.B Compare summary statistics for two categorical variables.
  • 2.2.C Justify a claim using summary statistics for two categorical variables.

ESSENTIAL KNOWLEDGE:

  • 2.2.A.1 A joint relative frequency in a two-way table is a cell frequency divided by the total for the entire table.
  • 2.2.A.2 A marginal relative frequency in a two-way table is a row total divided by the total for the entire table or a column total divided by the total for the entire table.
  • 2.2.A.3 A conditional relative frequency is a relative frequency computed by restricting to a particular level, or category of interest. A conditional relative frequency can be a cell frequency in a row divided by the total for that row or it can be a cell frequency in a column divided by the total for that column.
  • 2.2.B.1 Summary statistics for two categorical variables can be used to compare distributions for evidence of association between the two variables.
  • 2.2.C.1 Summary statistics for two categorical variables may reveal information that can be used to justify claims about the variables in context.

AP Statistics – Concise Summary Notes – All Topics


2.2.A.1 Joint Relative Frequency

In a two-way table, a joint relative frequency represents the proportion (or percentage) of the entire data set that falls into a specific combination of categories for two categorical variables.

It is calculated by dividing the frequency in a cell by the grand total (the total number of observations in the table).

Joint relative frequencies describe how common a particular combination of categories is within the entire population or sample.

Formula

\( \text{Joint Relative Frequency}=\dfrac{\text{Cell Frequency}}{\text{Grand Total}} \)

Where:

  • Cell Frequency = Number of observations in one cell of the table.
  • Grand Total = Total number of observations in the entire table.

Example Two-Way Table

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Calculating a Joint Relative Frequency

Find the joint relative frequency for Freshmen who prefer Online learning.

Step 1: Identify the cell frequency.

Cell Frequency = 50

Step 2: Identify the grand total.

Grand Total = 200

Step 3: Apply the formula.

\( \dfrac{50}{200}=0.25 \)

Interpretation

Approximately 25% of all students in the survey were Freshmen who preferred Online learning.

Important AP Exam Notes

  • A joint relative frequency always uses the grand total as the denominator.
  • It represents the proportion of the entire data set that belongs to a specific combination of categories.
  • Joint relative frequencies may be written as a decimal, fraction, or percentage.
  • Do not divide by a row total or column total—that would calculate a conditional relative frequency instead.

Common AP Exam Mistakes

Incorrect CalculationCorrect Calculation
Divide by the row total.Divide by the grand total.
Divide by the column total.Divide by the grand total.
Use the row percentage.Use the overall proportion of the entire table.

 Example

The table below summarizes students’ preferred learning method by grade level.

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Calculate the joint relative frequency of students who are Sophomores and prefer In-Person learning.

▶️ Answer / Explanation

Step 1: Identify the cell frequency.

80

Step 2: Identify the grand total.

200

Step 3: Apply the formula.

\( \text{Joint Relative Frequency}=\dfrac{80}{200}=0.40 \)

Answer

The joint relative frequency is

\(0.40\) or 40%.

This means that 40% of all students surveyed were Sophomores who preferred In-Person learning.

2.2.A.2 Marginal Relative Frequency

In a two-way table, a marginal relative frequency represents the proportion (or percentage) of observations that belong to a single category of one variable, regardless of the categories of the other variable.

Marginal relative frequencies are calculated using the row totals or column totals of the table.

They summarize the distribution of one categorical variable without considering the second variable.

Formula

If using a row total:

\( \text{Marginal Relative Frequency}=\dfrac{\text{Row Total}}{\text{Grand Total}} \)

If using a column total:

\( \text{Marginal Relative Frequency}=\dfrac{\text{Column Total}}{\text{Grand Total}} \)

Where:

  • Row Total = Total number of observations in one row.
  • Column Total = Total number of observations in one column.
  • Grand Total = Total number of observations in the entire table.

Example Two-Way Table

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Example 1: Row Marginal Relative Frequency

Find the marginal relative frequency of Freshmen.

Step 1: Identify the row total.

Row Total = 80

Step 2: Identify the grand total.

Grand Total = 200

Step 3: Apply the formula.

\( \dfrac{80}{200}=0.40 \)

Interpretation

40% of all students surveyed are Freshmen.


Example 2: Column Marginal Relative Frequency

Find the marginal relative frequency of students who prefer Online learning.

Step 1: Identify the column total.

Column Total = 90

Step 2: Identify the grand total.

Grand Total = 200

Step 3: Apply the formula.

\( \dfrac{90}{200}=0.45 \)

Interpretation

45% of all students surveyed prefer Online learning.


Joint vs. Marginal Relative Frequency

TypeFormulaDescribes
Joint Relative FrequencyCell ÷ Grand TotalA specific combination of two categories.
Marginal Relative FrequencyRow Total or Column Total ÷ Grand TotalThe distribution of one variable only.

Important AP Exam Notes

  • A marginal relative frequency always uses the grand total as the denominator.
  • Use either a row total or a column total, depending on the variable of interest.
  • Marginal relative frequencies describe one categorical variable without considering the second variable.
  • Do not use an individual cell frequency when calculating a marginal relative frequency.

Common AP Exam Mistakes

Incorrect CalculationCorrect Calculation
Cell ÷ Grand TotalThis is a Joint Relative Frequency.
Cell ÷ Row TotalThis is a Conditional Relative Frequency.
Row Total or Column Total ÷ Grand TotalThis is a Marginal Relative Frequency.

Example

The table below summarizes students’ preferred learning method by grade level.

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Calculate the following marginal relative frequencies:

  1. Students who are Sophomores.
  2. Students who prefer In-Person learning.
▶️ Answer / Explanation

1. Sophomores

\( \dfrac{120}{200}=0.60 \)

Therefore, 60% of all students surveyed are Sophomores.

2. In-Person Learning

\( \dfrac{110}{200}=0.55 \)

Therefore, 55% of all students surveyed prefer In-Person learning.

2.2.A.3 Conditional Relative Frequency

A conditional relative frequency describes the proportion (or percentage) of observations that fall into a particular category, given that the observations belong to a specific row or column.

Unlike joint and marginal relative frequencies, a conditional relative frequency does not use the grand total as the denominator.

Instead, the denominator is either the row total or the column total, depending on the condition being considered.

Conditional relative frequencies are used to compare the distributions of one categorical variable across the levels of another categorical variable.

Formulas

Row Conditional Relative Frequency

\( \text{Conditional Relative Frequency}=\dfrac{\text{Cell Frequency}}{\text{Row Total}} \)

Column Conditional Relative Frequency

\( \text{Conditional Relative Frequency}=\dfrac{\text{Cell Frequency}}{\text{Column Total}} \)

Where:

  • Cell Frequency = Frequency in the selected cell.
  • Row Total = Total frequency for that row.
  • Column Total = Total frequency for that column.

Example Two-Way Table

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Example 1: Row Conditional Relative Frequency

Among Freshmen, what proportion prefer Online learning?

Step 1: Identify the cell frequency.

50

Step 2: Identify the row total.

80

Step 3: Apply the formula.

\( \dfrac{50}{80}=0.625 \)

Interpretation

62.5% of Freshmen prefer Online learning.


Example 2: Column Conditional Relative Frequency

Among students who prefer Online learning, what proportion are Freshmen?

Step 1: Identify the cell frequency.

50

Step 2: Identify the column total.

90

Step 3: Apply the formula.

\( \dfrac{50}{90}=0.556 \)

Interpretation

Approximately 55.6% of students who prefer Online learning are Freshmen.

Comparison of Relative Frequencies

TypeFormulaDenominator
Joint Relative FrequencyCell ÷ Grand TotalGrand Total
Marginal Relative FrequencyRow Total or Column Total ÷ Grand TotalGrand Total
Conditional Relative FrequencyCell ÷ Row Total or Cell ÷ Column TotalRow Total or Column Total

Important AP Exam Notes

  • A conditional relative frequency is calculated by restricting the data to a particular row or column.
  • The denominator is not the grand total.
  • Conditional relative frequencies are used to compare the distributions of one categorical variable across the categories of another variable.
  • AP Statistics questions about association almost always require comparing conditional relative frequencies.
  • Always read the question carefully to determine whether the condition refers to a row or a column.

Common AP Exam Mistakes

Incorrect CalculationCorrect Calculation
Cell ÷ Grand TotalThis gives a Joint Relative Frequency.
Row Total ÷ Grand TotalThis gives a Marginal Relative Frequency.
Using the wrong row or column total.Use the total corresponding to the stated condition.

Example

The table below summarizes students’ preferred learning method by grade level.

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Calculate the following conditional relative frequencies:

  1. Among Sophomores, what proportion prefer In-Person learning?
  2. Among students who prefer Online learning, what proportion are Freshmen?
▶️ Answer / Explanation

1. Among Sophomores

The condition is Sophomores, so use the row total (120).

\( \dfrac{80}{120}=0.667 \)

Therefore, approximately 66.7% of Sophomores prefer In-Person learning.

2. Among Online Learners

The condition is Online learning, so use the column total (90).

\( \dfrac{50}{90}=0.556 \)

Therefore, approximately 55.6% of students who prefer Online learning are Freshmen.

2.2.B.1 Comparing Summary Statistics for Two Categorical Variables

After calculating joint, marginal, and conditional relative frequencies from a two-way table, statisticians compare these summary statistics to determine whether there is evidence of an association between two categorical variables.

For AP Statistics, the most important summary statistics used to compare two categorical variables are the conditional relative frequencies.

If the conditional distributions differ across the categories of another variable, there is evidence that the two variables are associated.

If the conditional distributions are approximately the same, there is little or no evidence of an association.

How to Compare Two Categorical Variables

  1. Construct a two-way table.
  2. Calculate the conditional relative frequencies.
  3. Compare the conditional distributions across the categories.
  4. Determine whether the distributions are similar or noticeably different.
  5. State whether there is evidence of an association.

Example Two-Way Table

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Step 1: Calculate the Conditional Relative Frequencies

Freshmen

  • Online: \( \dfrac{50}{80}=0.625=62.5\% \)
  • In-Person: \( \dfrac{30}{80}=0.375=37.5\% \)

Sophomores

  • Online: \( \dfrac{40}{120}=0.333=33.3\% \)
  • In-Person: \( \dfrac{80}{120}=0.667=66.7\% \)

Step 2: Compare the Conditional Distributions

Grade LevelOnlineIn-Person
Freshmen62.5%37.5%
Sophomores33.3%66.7%

The conditional percentages differ considerably between Freshmen and Sophomores.

Therefore, the distributions are different.

This provides evidence that grade level and preferred learning method are associated.

Evidence for an Association

Comparison of Conditional DistributionsConclusion
Nearly identicalLittle or no evidence of an association.
Noticeably differentEvidence of an association.
Large differences in percentagesStronger evidence of an association.

Important AP Exam Notes

  • Always compare conditional relative frequencies, not raw counts.
  • Conditional distributions are the primary summary statistics used to compare two categorical variables.
  • If the conditional distributions differ across groups, conclude that there is evidence of an association.
  • If the conditional distributions are similar, conclude that there is little or no evidence of an association.
  • An association does not imply that one variable causes the other.

Common AP Exam Mistakes

Incorrect ComparisonCorrect Comparison
Compare only the frequencies.Compare the conditional percentages.
State that one variable causes the other.State only that there is evidence of an association.
Compare marginal frequencies.Compare conditional frequencies.

 Example

The two-way table below summarizes students’ preferred learning method by grade level.

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120

Use the summary statistics to determine whether there is evidence of an association between grade level and preferred learning method.

▶️ Answer / Explanation

Step 1: Calculate the conditional distributions.

Freshmen:

  • Online = 62.5%
  • In-Person = 37.5%

Sophomores:

  • Online = 33.3%
  • In-Person = 66.7%

Step 2: Compare the distributions.

The conditional percentages differ substantially between the two grade levels.

Conclusion

Because the conditional distributions are different, there is evidence of an association between grade level and preferred learning method.


2.2.C.1 Justifying a Claim Using Summary Statistics for Two Categorical Variables

After calculating the summary statistics for two categorical variables (especially conditional relative frequencies), statisticians use these values to determine whether a claim about the relationship between the variables is supported by the data.

In AP Statistics, a justification should always be based on numerical evidence, not simply by observing that the values “look different.”

The strongest evidence comes from comparing the conditional distributions of one variable across the categories of the other variable.

How to Justify a Claim

  1. Identify the two categorical variables.
  2. Calculate the appropriate summary statistics (usually conditional relative frequencies).
  3. Compare the conditional distributions across the groups.
  4. Use specific numerical values as evidence.
  5. State whether the data support the claim in the context of the study.

Example Two-Way Table

Grade LevelOnlineIn-PersonTotal
Freshmen503080
Sophomores4080120
Total90110200

Step 1: Calculate the Conditional Relative Frequencies

Grade LevelOnlineIn-Person
Freshmen\( \dfrac{50}{80}=62.5\% \)\( \dfrac{30}{80}=37.5\% \)
Sophomores\( \dfrac{40}{120}=33.3\% \)\( \dfrac{80}{120}=66.7\% \)

Step 2: Compare the Summary Statistics

  • Among Freshmen, 62.5% prefer Online learning.
  • Among Sophomores, only 33.3% prefer Online learning.
  • The difference is 29.2 percentage points.

Because the conditional percentages are noticeably different, the distributions are different.

This provides evidence that the two categorical variables are associated.


Writing an AP Statistics Justification

A complete AP Statistics justification should include:

  • The conditional percentages being compared.
  • Specific numerical evidence.
  • A conclusion stated in the context of the problem.
  • A statement indicating whether the claim is supported.

AP Response 

The conditional distribution of [Variable] differs across the categories of [Second Variable].

For example, ______% compared with ______%. Since these percentages are noticeably different, the summary statistics provide evidence of an association between the two variables. Therefore, the claim is supported by the data.

Important AP Exam Notes

  • Always justify claims using conditional relative frequencies, not frequencies (counts).
  • Support every conclusion with numerical evidence.
  • Write the conclusion in the context of the study.
  • If the conditional distributions differ, conclude that there is evidence of an association.
  • If the conditional distributions are similar, conclude that there is little or no evidence of an association.
  • An association does not imply a cause-and-effect relationship.

Common AP Exam Mistakes

Incorrect ResponseCorrect Response
The graph looks different.Compare the conditional percentages.
Compare only the counts.Compare conditional relative frequencies.
The variables cause each other.The data provide evidence of an association.

 Example

A student claims that preferred learning method is associated with grade level.

Use the summary statistics below to justify the claim.

Grade LevelOnlineIn-Person
Freshmen62.5%37.5%
Sophomores33.3%66.7%
▶️ Answer / Explanation

The conditional distributions are noticeably different.

Among Freshmen, 62.5% prefer Online learning, whereas only 33.3% of Sophomores prefer Online learning.

Likewise, 66.7% of Sophomores prefer In-Person learning compared with only 37.5% of Freshmen.

Because the conditional relative frequencies differ substantially between the two grade levels, the summary statistics provide evidence of an association between grade level and preferred learning method.

Therefore, the student’s claim is supported by the data.

Scroll to Top