SAT Help 24×7
MathChapter 9: Categorical Data and Probability
Reading progress0%
About 54 minutes
On this page

Categorical data sort observations into labels such as study method or completion status. A two-way table organizes two categorical variables at once, making overall, joint, marginal, and conditional probabilities visible from the same counts.

Learning objectives

  • Identify cells, row totals, column totals, marginal frequencies, and the grand total.
  • Calculate joint and marginal probabilities using the grand total.
  • Calculate conditional probabilities using the given row or column as the restricted sample space.
  • Convert table counts into overall or conditional relative frequencies.
  • Complete missing entries and compare conditional rates accurately.

Two-way contingency tables

Two-way contingency table
A table that displays counts or relative frequencies for combinations of two categorical variables. One variable defines the rows and the other defines the columns.
Study method and assignment completion
Study method / Assignment resultCompletedNot completedTotal
Digital42850
Paper311445
Mixed47855
Total12030150
Parts of the study-method contingency table
Table partMeaningExample from the table
Interior cellCount satisfying one row and one column category\(42\) digital students completed
Row totalTotal for one study-method categoryDigital total \(=42+8=50\)
Column totalTotal for one result categoryCompleted total \(=120\)
Grand totalTotal number of observationsGrand total \(=150\)

Marginal and joint probabilities

Which count belongs in the numerator?

Marginal probability

Use a row or column total divided by the grand total when only one category is named.

Joint probability

Use one interior intersection cell divided by the grand total when the event says category A AND category B.

Joint probability from a count table
\[P(A\text{ and }B)=\frac{\text{count in the }A\cap B\text{ cell}}{\text{grand total}}\]
Worked example

Marginal probability

Using the study-method table, what is the probability that a selected student completed the assignment?

  1. Use the column total

    The completed column total is \(120\).

  2. Use the grand total

    There are \(150\) students overall, so \(P(\text{completed})=120/150=4/5\).

The marginal probability is \(\frac45\), or \(80\%\).
Worked example

Joint probability

What is the probability that a selected student used paper AND did not complete the assignment?

  1. Find the intersection

    The paper/not-completed cell contains \(14\).

  2. Divide by everyone

    A joint probability from the full table uses the grand total: \(14/150=7/75\).

The joint probability is \(\frac7{75}\).

Conditional probability: GIVEN creates a new denominator

Conditional probability
\[P(A\mid B)=\frac{P(A\text{ and }B)}{P(B)}=\frac{\text{count satisfying both }A\text{ and }B}{\text{count satisfying }B}\]

The vertical bar is read as 'given.' The event after the bar defines the restricted sample space.

Selected condition: Given that the student used paper, restrict the sample space to the Paper row. The Completed cell is the intersection.

Study method and assignment completion
Study method / Assignment resultCompletedNot completedTotal
Digital42850
Paper311445
Mixed47855
Total12030150

Read P(A | B) from a table

  1. Read the condition

    Locate \(B\), the category after the vertical bar or the words 'given that.'

  2. Restrict the table

    Use the \(B\) row or column total as the new denominator.

  3. Find the intersection

    Within the restricted group, locate the count that also satisfies \(A\).

  4. Divide

    Compute intersection count divided by condition total and simplify.

Worked example

Conditional probability from a row

Given that a student used paper, what is the probability the assignment was completed?

  1. Condition total

    The Paper row contains \(45\) students, so \(45\) is the denominator.

  2. Intersection

    Among those students, \(31\) completed the assignment.

\(P(\text{completed}\mid\text{paper})=\frac{31}{45}\).

Relative frequencies and percentages

Overall relative frequencies for study method and assignment result
Study methodCompletedNot completedOverall row percentage
Digital\(42/150=28\%\)\(8/150\approx5.3\%\)\(50/150\approx33.3\%\)
Paper\(31/150\approx20.7\%\)\(14/150\approx9.3\%\)\(45/150=30\%\)
Mixed\(47/150\approx31.3\%\)\(8/150\approx5.3\%\)\(55/150\approx36.7\%\)
Overall\(120/150=80\%\)\(30/150=20\%\)\(100\%\)

Missing values and comparing rates

Worked example

Recover a missing cell

A row total is \(64\). Its first two cells are \(19\) and \(27\). What is the missing third cell?

  1. Use the row equation

    The cells must sum to the row total: \(19+27+x=64\).

  2. Subtract known cells

    \(x=64-19-27=18\).

The missing frequency is \(18\).

Common mistakes and traps

  • Using the grand total as the denominator after the question says 'given.'
  • Reversing \(P(A\mid B)\) and \(P(B\mid A)\).
  • Using a joint cell where a marginal row or column total is required.
  • Adding row or column totals that already overlap at the grand total.
  • Reading an overall percentage as though it were conditional within one group.
  • Comparing group counts instead of group rates when group sizes differ.
  • Treating category labels as numerical measurements simply because they appear in a table.
Mini check

Choose the denominator

Using the study-method table, what is \(P(\text{mixed}\mid\text{not completed})\)?

  1. \(8/150\)
  2. \(8/55\)
  3. \(8/30\)
  4. \(30/150\)
Show answer and explanation

Answer: \(8/30=4/15\)

The condition is not completed, so use the not-completed column total \(30\) as the denominator.

Key takeaways

What to remember

  • Interior cells are joint counts; row and column totals are marginal frequencies.
  • Marginal and joint probabilities from the full table use the grand total.
  • The event after 'given' or after \(\mid\) defines the conditional denominator.
  • Overall and conditional relative frequencies answer different questions.
  • Validate every table by checking row totals, column totals, and the grand total.
Continue learning

Put these notes into practice

Apply the ideas with SAT-style questions, then reinforce key details with flashcards.