WhatsApp us
IB Maths17 Nov 2026

MYP 4 Statistics and Probability: Grouped Data, Comparing Data Sets, Tree Diagrams and Venn Diagrams

MYP 4 statistics asks students to calculate and then explain. Four original worked examples cover the estimated mean from grouped data, comparing two data sets in words, tree diagrams without replacement and Venn diagram probability, with a self-check.

MYP 4 Statistics and Probability: Grouped Data, Comparing Data Sets, Tree Diagrams and Venn Diagrams

A Grade 9 student can often get every number right in a statistics test and still score only a middle level, because the last line asked "What does this show?" and the answer just repeated the numbers. That is the heart of MYP 4 statistics and probability: you calculate, then you explain what the result means in context.

This guide works through four original examples: an estimated mean from grouped data, a written comparison of two data sets, a tree diagram without replacement and a Venn diagram question. Each one shows the working a teacher expects. If your child would like regular help across the whole year, our Grade 9 MYP maths tutoring covers this unit alongside the algebra.

What this unit usually includes

The IB names statistics and probability as one of the four branches of MYP maths, but it does not set which year teaches what. In the MYP 4 unit plans we see most often:

  • Statistics: grouped frequency tables, the estimated mean, modal class, the class containing the median, range, scatter graphs and correlation in words.
  • Probability: sample spaces, two-way tables, tree diagrams with and without replacement, and Venn diagrams.
  • In many schools, extended maths adds topics such as conditional probability ("given that…") and cumulative frequency, although cumulative frequency often waits until MYP 5.

See how this unit fits the rest of Grade 9 in our Year 4 topic map for standard and extended.

Worked example 1: estimated mean from grouped data

Thirty students recorded how long their journey to school took.

Time t (minutes)Frequency fMidpoint xf × x
0 < t ≤ 104520
10 < t ≤ 20915135
20 < t ≤ 301225300
30 < t ≤ 40535175
Total30630

Estimated mean = 630 ÷ 30 = 21 minutes.

It is an estimate because we use the midpoint of each class, not the real times.

Modal class: 20 < t ≤ 30 (the highest frequency, 12).

Class containing the median: the median is between the 15th and 16th values. Running totals are 4, 13, 25, so the 15th and 16th values are both in 20 < t ≤ 30.

Worked example 2: comparing two data sets in words

Two Grade 9 groups took the same 25-mark quiz.

  • Group A: 12, 15, 15, 17, 18, 20, 22
  • Group B: 8, 12, 16, 17, 20, 22, 24
MeanMedianRange
Group A119 ÷ 7 = 171722 − 12 = 10
Group B119 ÷ 7 = 171724 − 8 = 16

A weak conclusion: "A has a range of 10 and B has a range of 16."

A stronger conclusion: "Both groups scored the same on average (mean and median 17 out of 25). Group B's scores were more spread out (range 16 compared with 10), so Group A performed more consistently. With only seven students in each group, this comparison may not hold for a larger class."

The stronger version compares an average and a spread, says what each means in context, and comments on reliability. That is the shape of a high-level criterion D answer, and our guide to lifting criterion D in MYP maths shows more of it.

Worked example 3: a tree diagram without replacement

A bag holds 5 red counters and 3 blue counters. Two counters are taken out, one after the other, without replacement.

First pick: P(red) = 5/8, P(blue) = 3/8.

Second pick, after a red: 4 red and 3 blue are left, so P(red) = 4/7 and P(blue) = 3/7.

Second pick, after a blue: 5 red and 2 blue are left, so P(red) = 5/7 and P(blue) = 2/7.

(a) P(both the same colour)

P(red, red) = 5/8 × 4/7 = 20/56

P(blue, blue) = 3/8 × 2/7 = 6/56

Total = 26/56 = 13/28.

(b) P(at least one blue)

"At least one" is quickest with the complement: 1 − P(red, red) = 1 − 20/56 = 36/56 = 9/14.

Multiply along branches, add between the outcomes you want. Check that the four end results add to 1: 20/56 + 15/56 + 15/56 + 6/56 = 56/56.

Worked example 4: a Venn diagram

In a class of 30, 18 students play cricket, 12 play football and 5 play both.

Fill the Venn diagram from the middle outwards:

  • Both: 5
  • Cricket only: 18 − 5 = 13
  • Football only: 12 − 5 = 7
  • Neither: 30 − (13 + 5 + 7) = 5

(a) P(a student plays neither) = 5/30 = 1/6.

(b) P(a student plays cricket, given that they play football)

"Given that" shrinks the group to the 12 football players. Of these, 5 play cricket.

P = 5/12.

Part (b) is conditional probability. In many schools it is an extended topic in MYP 4, and it returns in MYP 5 and in both DP courses.

Mistakes our tutors see

  1. Using the class width or the upper boundary instead of the midpoint for an estimated mean.
  2. Dividing by the number of classes (4) instead of the total frequency (30).
  3. Forgetting to change the second branch in "without replacement" questions.
  4. Adding along branches instead of multiplying.
  5. Counting the overlap twice in a Venn diagram: 18 + 12 = 30 does not mean nobody plays neither.
  6. Using the whole class as the denominator in a "given that" question.
  7. Conclusions with no context: "the mean is bigger" without saying bigger for what, and what it means.

Writing statistics answers that score well

  • Name the measure and the value: "The median time is 26 minutes."
  • Compare, do not just list: use words like "higher", "more spread out", "more consistent".
  • Put it in context: students, minutes, marks.
  • Comment on reliability when the data set is small or the data are grouped.
  • For probability, write the event in words before the fractions, for example "P(both blue) = …". Clear notation supports criterion C.

Self-check (answers below)

  1. A grouped table has classes 0–4, 4–8 and 8–12 with frequencies 3, 7 and 10. Estimate the mean.
  2. A fair coin is tossed and a fair six-sided die is rolled. Find P(head and a 6).
  3. A box has 4 green and 6 yellow pens. Two are taken without replacement. Find P(both green).
  4. Of 40 students, 25 like tea, 20 like coffee and 9 like both. Find P(a student likes neither).

Answers: 1) (3 × 2 + 7 × 6 + 10 × 10) ÷ 20 = 148 ÷ 20 = 7.4. 2) 1/2 × 1/6 = 1/12. 3) 4/10 × 3/9 = 2/15. 4) 40 − (25 + 20 − 9) = 4, so 4/40 = 1/10.

Where this unit leads

In MYP 5, statistics moves to cumulative frequency, quartiles and box plots, and comparing distributions becomes a standard real-life task. Our MYP 5 guide on reading cumulative frequency graphs and drawing box plots picks up exactly where this one stops. If probability or statistics is the unit your child finds hardest, see our list of the Grade 9 maths units that cause the most trouble.

How Maths Bodhi helps

In a free demo, the tutor gives one calculation and one "what does this show?" question, then reads the written answer as a teacher would. That shows whether the gap is the method or the explanation. Sessions alternate short calculation drills with written comparisons, and feedback is given against the criterion the task targets. For focused work on chance, see our one-to-one probability lessons for tree and Venn diagrams, or explore our wider IB MYP maths programme.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.

Frequently asked questions

What statistics and probability is in MYP 4 maths?
It depends on the school, because the IB does not set topics by year. Most MYP 4 courses cover grouped data and the estimated mean, scatter graphs, two-way tables, tree diagrams and Venn diagrams.
Why is the mean from a grouped table only an estimate?
Because you use the midpoint of each class instead of the real values. The real data could sit anywhere inside each class.
How do I do tree diagrams without replacement?
Reduce both the number of items of that type and the total by one on the second set of branches. Then multiply along each path and add the paths you need.
What does "given that" mean in probability?
It means you only look at the group described after "given that". That group becomes the denominator. For example, P(cricket given football) uses only the football players.
How do I write a good comparison of two data sets for criterion D?
Compare one average and one measure of spread, say what each means in the context, and add a sentence on how reliable the conclusion is, for example if the sample is small.
Is conditional probability in MYP 4 standard maths?
It varies. In many schools it is taught to the extended group in MYP 4 and to everyone later. Check your school's unit plan.
MYP 4 statisticsMYP 4 probabilitytree diagramsVenn diagramsIB maths tutor Gurgaon

Related guides

Keep exploring this maths topic

IB Maths17 Nov 2026

MYP 4 Maths Topics: A Year-4 Topic Map for Standard and Extended, and What Parents Can Check Each Term

A typical MYP 4 (Grade 9) maths topic map across number, algebra, geometry and trigonometry, and statistics and probability, with the extra topics many schools add for extended maths, how placement usually works, and a term-by-term checklist for parents.

MYP 4 mathsMYP 4 math topicsMYP extended mathsGrade 9 IB maths

By Maths Bodhi Team

Read guide

IB DP Maths17 Nov 2026

IB Maths AI SL Probability: Venn Diagrams, Tree Diagrams and Conditional Probability Explained

Most AI SL probability questions are solved with a Venn diagram, a tree diagram or a sample space table. When to use each, the formulas behind them, and four worked examples including a three-set Venn and reversing a tree.

IB maths AI SL Venn diagramstree diagramsconditional probabilityIB maths AI SL probability

By Maths Bodhi Team

Read guide

IB Maths17 Nov 2026

MYP 4 Quadratics and Functions: Factorising, Completing the Square, the Formula and Graphs, with Worked Examples

Quadratics are the largest algebra unit of MYP 4 in most schools. Four original worked examples take you from factorising to completing the square, the quadratic formula and a real-life model, with function notation, common mistakes and a self-check.

MYP 4 quadraticsMYP 4 functionsquadratic equationsMYP extended maths

By Maths Bodhi Team

Read guide

IB Maths17 Nov 2026

MYP 4 Simultaneous Equations and Inequalities: Elimination, Substitution, a Line Meeting a Curve and Number-Line Answers

How to solve simultaneous equations in MYP 4 by elimination and substitution, set them up from a word problem, solve a linear and a quadratic together, and solve linear and quadratic inequalities, with four worked examples and a self-check.

MYP 4 simultaneous equationsMYP 4 inequalitiesMYP 4 algebraIB MYP maths

By Maths Bodhi Team

Read guide

IB Maths17 Nov 2026

MYP 5 Statistics: Cumulative Frequency, Quartiles and Box Plots, with Worked Examples

How to build a cumulative frequency table and graph, estimate the median and quartiles, draw a box plot from raw data, spot outliers with the 1.5 × IQR rule and compare two distributions in words, with four worked examples and a self-check for MYP 5.

MYP 5 statisticsbox plotscumulative frequencyinterquartile range

By Maths Bodhi Team

Read guide

IB DP Maths13 Jul 2026

Most Difficult Topics in IB MYP 4 Mathematics and How to Master Them

IB MYP 4 Mathematics introduces several advanced concepts that students often find challenging. Learn which topics cause the most difficulty and discover practical strategies to improve understanding and performance.

IB MYP 4 MathsMYP 4 MathematicsIB Maths Tutor GurgaonMYP Maths Tutor

By Maths Bodhi Team

Read guide