aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2027

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.d9e1c61

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AITopic 4.11Chi-Squared Goodness of Fit
Back to Math AI Topics
4.11.27 min read

Chi-Squared Goodness of Fit

IB Mathematics: Applications and Interpretation · Unit 4

AI-powered feedback

Stop guessing — know where you lost marks

Get instant, examiner-style feedback on every answer. See exactly how to improve and what the markscheme expects.

Try It Free

Contents

  1. 1Goodness-of-fit test idea
  2. 2Computing expected counts from proportions
  3. 3Chi-squared and degrees of freedom
  4. 4Interpretation and exam communication
  5. 5Three ways to get the expected frequencies
  6. 6Small expected frequencies, and the whole test

Goodness-of-fit test idea

Big idea: Goodness-of-fit checks whether observed category counts match a claimed distribution.

Example: Is a die fair?

Compare observed rolls to expected equal frequencies.

Same chi-squared framework: You still use chi-squared formula.

The difference is one categorical variable with expected proportions.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Expected counts from proportions

Worked example

A spinner has 4 colors with expected proportions 0.1, 0.2, 0.3, 0.4.

After 200 spins, find expected counts.

Step by step

  1. Multiply total by each proportion
  2. E1=200×0.1=20, E2=40, E3=60, E4=80
  3. Check total expected = 200

Final answer

Expected counts are 20, 40, 60, 80.

Never wonder what to study next

Get a personalized daily plan based on your exam date, progress, and weak areas. We'll tell you exactly what to review each day.

Try Free Study PlanYour first topic is free to keep • No credit card required

Chi-squared and degrees of freedom

Degrees of freedom: For goodness-of-fit with k categories and no estimated parameters, df = k - 1.

Worked example

There are 6 categories.

What is df?

Solution

  1. Use df = k - 1
  2. df = 6 - 1 = 5

Final answer

Degrees of freedom = 5.

IB-style question — χ² goodness-of-fit for normality

A teacher tests whether 200 exam marks follow N(60, 12²), grouping them into 5 classes.

(a) State the degrees of freedom. (b) Explain how each expected frequency is found.

Step by step

  1. (a) For a goodness-of-fit test, df = (number of classes) − 1. (At AI SL μ and σ are given, so there is no extra subtraction.)
  2. (b) Expected count for a class = total × P(that class) using normalcdf, with the two end classes open (lower = −1E99, upper = 1E99).

Final answer

(a) df = 4. (b) Eᵢ = 200 × normalcdf over each class (end classes use ±1E99).

Animated graph

Watch the graph build step by step in study mode.

Claim your free topic

Interpretation and exam communication

A full-marks conclusion

  • The comparison first: p with the significance level, or χ² with the critical value
  • The decision: reject H₀, or do not reject H₀
  • One sentence in context that names the model (fair, the stated percentages, N(μ, σ²))

Exam tips

  • State H0 and H1 in words.
  • Use p-value or critical-value rule consistently.
  • Final sentence must reference context data.

Stop wasting time on topics you know

Our AI identifies your weak areas and focuses your study time where it matters. No more overstudying easy topics.

Try Smart Study FreeYour first topic is free to keep • No credit card required
Expected = total × probability: Every expected frequency is the total number of observations times the probability the model gives that category. They always add up to the total.

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.Equally likely
  • 2.Percentages or probabilities
  • 3.A normal model
Claim your free topic

See it drawn, step by step

In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.

Claim your free topic
A "show that" for an expected value: Write the probability line and the multiplication: "P(neither) = 0.8 × 0.75 = 0.6, 200 × 0.6 = 120". The given number must come at the end.
Every expected frequency more than 5: If a category's expected frequency is 5 or less, merge it with a neighbouring category before the test. Then count the categories again for df.

See it drawn, step by step

In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.

Claim your free topic

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.Hypotheses name the model
  • 2."Perform the test"
  • 3.Same decision rule
Claim your free topic

Exam-style question — delivery times [6 marks]

A courier claims its delivery times, T minutes, can be modelled by N(30, 5²). For 250 parcels:

Time (min)ObservedExpected
T < 255639.7
25 ≤ T < 307985.3
30 ≤ T < 357285.3
35 ≤ T < 403134
T ≥ 40125.7

The test is at the 5 % significance level and the critical value is 9.488.

(a) Write down the null and alternative hypotheses. [2]

(b) Write down the degrees of freedom. [1]

(c) Perform the test, stating the conclusion in context. [3]

Step by step

  1. (a) H₀: the delivery times can be modelled by N(30, 5²). H₁: they cannot be modelled by N(30, 5²).
  2. (b) 5 classes, every expected value more than 5.
  3. (c) Observed in L1, expected in L2, χ²GOF-Test with df = 4.
  4. Comparison first, then the decision in context.

Final answer

(a) H₀: the times can be modelled by N(30, 5²); H₁: they cannot. (b) 4 (c) χ² = 16.5 > 9.488 (p = 0.00246 < 0.05), so reject H₀: there is sufficient evidence that the delivery times cannot be modelled by N(30, 5²).

Try an IB Exam Question — Free AI Feedback

Test yourself on Chi-Squared Goodness of Fit. Write your answer and get instant AI feedback — just like a real IB examiner.

A χ2 goodness of fit test gives p = 0.002 at the 5% level. the conclusion. [2 marks]

Related Math AI Topics

Continue learning with these related topics from the same unit:

4.1.1Population and Samples4.1.2Data Classification4.1.3Sampling Techniques4.1.4Data Reliability and Outliers
View all Math AI topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Math AI
Previous4.11.1Contingency Tables and Chi-SquaredNextTwo-Sample t-Test4.11.3

47 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start FreeView All Math AI Topics