Topic navigation panel

Topic navigation panel

Cambridge (CIE) IGCSE Maths

Revision Notes
(Probability Diagrams & Multiple Events)

Two Way Tables

Two Way Tables

Understanding Two Way Tables

A two way table is a grid that organises data into rows and columns, showing frequencies for two categorical variables simultaneously. Each row represents one category of the first variable, and each column represents one category of the second variable.

The cells inside the table show the frequency (count) of occurrences for the combination of categories from the row and column. Totals are usually given for each row and column, summarising the total frequencies for each category separately.

For example, a two way table might show the number of students who prefer different sports (rows: Football, Tennis, Swimming) split by gender (columns: Boys, Girls).

Filling Two Way Tables

When given partial data, you can fill in missing frequencies by using the row and column totals. The totals help check that the numbers add up correctly.

To find a missing frequency in a cell:

  • If the row total and all other cells in that row are known, subtract the sum of the known cells from the row total.
  • If the column total and all other cells in that column are known, subtract the sum of the known cells from the column total.

Always ensure that the sum of the cells in each row equals the row total, and the sum of the cells in each column equals the column total.

For instance, if a row total is 5030=2050 - 30 = 20, the missing cell must be 20.

For example, if a row total is 4040 and the known cells in that row add up to 2525, the missing cell is 4025=1540 - 25 = 15.

Using Two Way Tables for Probability

Two way tables are useful for calculating probabilities related to two events. The frequencies can be converted into probabilities by dividing by the total number of outcomes (the grand total).

Types of probabilities from two way tables:

  • Joint probability: The probability of two events happening together, found by dividing the frequency in the relevant cell by the total number of outcomes.
  • Marginal probability: The probability of a single event occurring, found by dividing a row or column total by the grand total.
  • Conditional probability: The probability of one event occurring given that another event has occurred. Calculated by dividing the joint frequency by the marginal total of the given condition. This can be expressed as P(AB)=P(AB)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}, meaning the probability of event A given event B.

Probabilities can be expressed as fractions, decimals, or percentages.

For example, if 12 students like football and are boys, and there are 60 students in total, the joint probability that a randomly chosen student is a boy who likes football is 1260=0.2\frac{12}{60} = 0.2 or 20%20\%.

Interpreting Two Way Tables

Two way tables help compare categories and identify relationships between events.

By examining the frequencies and probabilities, you can determine which categories are more common, whether events are independent or related, and solve probability problems.

For example, if the probability of being a girl who likes tennis is much higher than being a boy who likes tennis, this suggests a relationship between gender and tennis preference.

PracticeExample 2

Worked Example

Example: A survey of 100 students recorded their favourite fruit and whether they like fruit juice. The table below shows the data:

Favourite FruitLike JuiceDon't Like JuiceTotal
Apple251035
Banana201535
Orange201030
Total6535100

Calculate the probability that a randomly chosen student likes juice and their favourite fruit is Banana.

PracticeExample 3

Worked Example

Example: Using the same table, find the probability that a student likes juice given that their favourite fruit is Orange.

PracticeExample 4

Worked Example

Example: A two way table shows the number of people who own pets by age group:

Age GroupOwns a DogOwns a CatTotal
Under 20151030
20 and Over253055
Total404085

Calculate the missing total for the "Under 20" row if the total number of people surveyed is 8585.

Summary of Key Points

  • Two way tables display frequencies for two categorical variables in rows and columns.
  • Row and column totals help find missing frequencies and check data consistency.
  • Probabilities can be calculated from frequencies: joint, marginal, and conditional probabilities.
  • Probabilities are expressed as fractions, decimals, or percentages.
  • Interpreting two way tables helps identify relationships and solve probability problems.
  • Remember to always check that row and column totals add up correctly to avoid errors.
  • For conditional probability, focus only on the given condition's total (row or column) as the denominator.
  • When expressing probabilities, simplify fractions where possible for clarity.

Quick actions

Press Enter to send, Shift+Enter for new line

Choose Your Study Plan

MonthlyAnnualSave 20%

Plus

£4.99/month
  • Everything in Free plus...
  • Unlimited revision resources access
  • AI assistance (Within usage limits)
  • Enhanced progress tracking
  • New features soon...

Pro

£9.99/month
  • Everything in Plus plus...
  • Unlimited AI assistance
  • Unlimited questions marked
  • Detailed feedback and explanations
  • Comprehensive progress tracking
  • New features soon...
Most Popular