Measurement, Space & Statistics

Bivariate Data and Conditional Probability

Year 10

  • ✓By the end of this lesson students will be able to identify and describe bivariate data.
  • ✓By the end of this lesson students will be able to construct and interpret scatter plots to identify associations between two numerical variables.
  • ✓By the end of this lesson students will be able to understand and apply the concept of conditional probability.
  • ✓By the end of this lesson students will be able to calculate conditional probabilities using two-way tables and the conditional probability formula.

Key concepts

Bivariate Data

Bivariate data involves two different variables that are measured for each individual or item. The purpose of collecting bivariate data is often to investigate if there is a relationship or association between the two variables. For example, measuring a student's height and their maths test score to see if there's a relationship.

Scatter Plots and Association

A scatter plot is a graph used to display bivariate numerical data. Each point on the scatter plot represents a pair of data values for a single individual. By examining the pattern of points, we can describe the association (or relationship) between the two variables. We look for:\n- **Direction:** Positive (as one variable increases, the other tends to increase), Negative (as one variable increases, the other tends to decrease), or No association.\n- **Form:** Linear (points tend to follow a straight line) or Non-linear.\n- **Strength:** Strong (points are tightly clustered around a line/curve), Moderate, or Weak (points are widely scattered).

Conditional Probability

Conditional probability is the probability of an event occurring given that another event has already occurred. It's about how the probability of an event changes when we have extra information. We use the notation P(A|B), which is read as 'the probability of event A occurring given that event B has occurred'. The 'given that' part restricts our sample space to only those outcomes where event B has occurred.

P(A|B) = P(A ∩ B) / P(B), where P(B) ≠ 0
Two-Way Tables for Conditional Probability

Two-way tables (also known as contingency tables) are extremely useful for organising categorical bivariate data and for calculating probabilities, especially conditional probabilities. The rows and columns represent the categories of two different variables, and the cells contain the frequencies (counts) of observations that fall into both categories. Total rows and columns provide marginal frequencies, and the grand total is the total number of observations.

Key facts to remember

  • 1Bivariate data involves two variables, often to explore relationships.
  • 2Scatter plots display bivariate numerical data, showing direction, form, and strength of association.
  • 3A positive association means as one variable increases, the other tends to increase.
  • 4A negative association means as one variable increases, the other tends to decrease.
  • 5Conditional probability, P(A|B), is the probability of A occurring given that B has already occurred.
  • 6The formula for conditional probability is P(A|B) = P(A ∩ B) / P(B), where P(B) ≠ 0.
  • 7Two-way tables are excellent tools for visualising and calculating probabilities, especially conditional probabilities, from categorical data.

Worked examples

Example 1

A study investigated the relationship between the number of hours a student spent studying for a maths exam and their score on the exam. The data is plotted on a scatter plot. Describe the association between study hours and exam score.

IObserve the general trend of the points on the scatter plot.
IIIdentify if the points tend to go up (positive), down (negative), or show no clear direction.
IIIDetermine if the points form a roughly straight line (linear) or a curve (non-linear).
IVAssess how closely the points cluster around the trend to determine the strength (strong, moderate, weak).

Answer

The scatter plot shows a **positive, linear, and strong association** between the number of hours studied and the exam score. As the number of hours studied increases, the exam score generally increases, and the points are quite close to forming a straight line.

Always describe direction, form, and strength when interpreting associations from scatter plots.

Example 2

A survey of 200 students asked if they preferred maths or English. The results are shown in the two-way table below:\n\n| | Prefers Maths | Prefers English | Total |\n|-----------|---------------|-----------------|-------|\n| **Year 10** | 50 | 30 | 80 |\n| **Year 11** | 60 | 60 | 120 |\n| **Total** | 110 | 90 | 200 |\n\na) What is the probability that a randomly selected student prefers English?\nb) What is the probability that a randomly selected student is in Year 10 and prefers Maths?\nc) Given that a student prefers English, what is the probability that they are in Year 11?

Ia) Identify the total number of students who prefer English and the grand total number of students.
II P(Prefers English) = (Number of students who prefer English) / (Total number of students)
III P(Prefers English) = 90 / 200 = 9/20 = 0.45
IVb) Identify the number of students who are in Year 10 AND prefer Maths, and the grand total number of students.
V P(Year 10 ∩ Prefers Maths) = (Number of Year 10 students who prefer Maths) / (Total number of students)
VI P(Year 10 ∩ Prefers Maths) = 50 / 200 = 1/4 = 0.25
VIIc) This is a conditional probability: P(Year 11 | Prefers English).
VIII The 'given that' event is 'prefers English', so our new sample space (denominator) is the total number of students who prefer English, which is 90.
9 The number of students who are in Year 11 AND prefer English is 60.
10 P(Year 11 | Prefers English) = (Number of Year 11 students who prefer English) / (Total number of students who prefer English)
11 P(Year 11 | Prefers English) = 60 / 90 = 2/3 ≈ 0.667 (to 3 decimal places)

Answer

a) P(Prefers English) = 0.45\nb) P(Year 10 ∩ Prefers Maths) = 0.25\nc) P(Year 11 | Prefers English) = 2/3 or approximately 0.667

For conditional probability from a two-way table, the denominator is the total of the 'given' event, not the grand total.

Example 3

In a particular school, 60% of students play a sport (S) and 30% play a musical instrument (M). 20% of students play both a sport and a musical instrument. What is the probability that a student plays a sport given that they play a musical instrument?

IIdentify the given probabilities:
II P(S) = 0.60 (Probability of playing a sport)
III P(M) = 0.30 (Probability of playing a musical instrument)
IV P(S ∩ M) = 0.20 (Probability of playing both sport and musical instrument)
VIdentify what needs to be calculated: P(S|M), the probability of playing a sport given that they play a musical instrument.
VIApply the conditional probability formula: P(S|M) = P(S ∩ M) / P(M).
VIISubstitute the known values into the formula:
VIII P(S|M) = 0.20 / 0.30
9 P(S|M) = 2/3

Answer

The probability that a student plays a sport given that they play a musical instrument is 2/3.

Ensure you correctly identify P(A ∩ B) and P(B) for the formula P(A|B).

Common mistakes

  • ✗Confusing P(A|B) with P(B|A). The order matters significantly.
  • ✗Using the grand total as the denominator for conditional probability calculations when working with two-way tables. The denominator should be the total of the 'given' event.
  • ✗Misinterpreting the direction of association on a scatter plot (e.g., calling a negative association positive).
  • ✗Not clearly identifying the 'intersection' (A ∩ B) when applying the conditional probability formula.
  • ✗Assuming causation from correlation. A strong association does not necessarily mean one variable causes the other.

Exam tips

  • ★Always read 'given that' questions carefully to correctly identify the condition (event B) and the event whose probability is being sought (event A).
  • ★When working with two-way tables, highlight or circle the row/column corresponding to the 'given' event to clearly define your reduced sample space.
  • ★For scatter plots, remember to describe the association in terms of direction (positive/negative/none), form (linear/non-linear), and strength (strong/moderate/weak).
  • ★Practise using both the formula and two-way tables for conditional probability problems, as different problems might be better suited to one method over the other.

Ready to practise?

Try a problem on this topic

Snap a photo or type a question — get step-by-step working instantly.