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 2026

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.c1e448f

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

NotesMath AI HLTopic 4.18t-tests and z-tests
Back to Math AI HL Topics
4.18.14 min read

t-tests and z-tests (Math AI HL)

IB Mathematics: Applications and Interpretation · Unit 4

Smart study tools

Turn reading into results

Move beyond passive notes. Answer exam-style questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  1. 1Hypotheses and the p-value rule
  2. 2t-test (σ unknown) vs z-test (σ known); one- and two-sample
A test weighs the evidence against H₀: Imagine a coffee chain claims its cups hold 250 ml on average. A sample comes out a bit low — but is that a real shortfall, or just random cup-to-cup variation?

A hypothesis test answers this

1

H₀ (null)

Nothing unusual — the mean is exactly the claimed value (μ = 250).

2

H₁ (alternative)

The claim you suspect (μ < 250, or μ ≠ 250).

3

The p-value

The GDC returns a p-value = the probability of getting data this extreme if H₀ were true.

Two rival statements, then one p-value.

p < significance level → reject H₀

  • The data are too surprising for H₀ to stand.

p ≥ significance level → do not reject H₀

  • The data are consistent with H₀.
α is the significance level (often 5% = 0.05). It is the bar the p-value must beat.
One-tailed vs two-tailed: One-tailed (μ < 250 or μ > 250): you only care about one direction. Use when the claim is directional ('cups are short-filled').

Two-tailed (μ ≠ 250): you care about a difference either way. Use when the claim is just 'the mean has changed'.

The GDC needs to know which — pick the tail that matches H₁.

IB-style question — set up and conclude

A machine should fill bottles to 500 ml. A consumer group suspects under-filling and tests at the 5% significance level. Their test gives p = 0.018.

State the hypotheses and the conclusion in context.

Step by step

  1. 'Suspects under-filling' is directional, so this is a one-tailed (lower) test.
  2. Compare the p-value to α = 0.05.
  3. Since p < α, reject H₀.

Final answer

Reject H₀. There is significant evidence (at the 5% level) that the machine under-fills the bottles — the mean is below 500 ml.

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
Which test? Look at the standard deviation: Both tests compare means, but they differ in what you know about the spread.

z-test

  • Use when the population standard deviation σ is given (known).

t-test

  • Use when σ is unknown and you only have the sample standard deviation.
  • This is the common case in real data, so the t-test dominates AI HL.

Then count the groups:

One-sample

  • Compare one group's mean to a fixed claimed value (e.g. 'is the mean weight 250 g?').

Two-sample

  • Compare two independent groups' means (e.g. 'do brand A and brand B last equally long?').
On the GDC: pick T-Test or Z-Test, enter the data (or stats), choose the tail, read off p.

IB-style question — one-sample t-test

A nutritionist claims a snack bar contains 200 kcal on average. A sample of 12 bars has mean 207 kcal and sample standard deviation 9 kcal. The population σ is unknown. Test at the 5% level whether the mean differs from 200 kcal.

Step by step

  1. σ unknown → t-test. 'Differs' (either way) → two-tailed.
  2. Enter the summary stats into the GDC's one-sample t-test (μ₀ = 200, x̄ = 207, sₙ₋₁ = 9, n = 12, two-tailed).
  3. The GDC returns the p-value.
  4. Compare to α = 0.05.

Final answer

Reject H₀. There is significant evidence at the 5% level that the mean calorie content differs from the claimed 200 kcal (the sample suggests it is higher).

IB-style question — two-sample t-test

Two factories produce LED bulbs. A sample from factory A lasts longer on average than a sample from factory B. A two-sample t-test of H₀: μA = μB against H₁: μA > μB gives p = 0.16 at the 5% level.

State the conclusion in context.

Step by step

  1. Two independent groups, σ unknown → two-sample t-test (one-tailed, since H₁ is directional).
  2. Compare the p-value to α.
  3. Since p ≥ α, do not reject H₀.

Final answer

Do not reject H₀. There is not enough evidence at the 5% level to conclude that factory A's bulbs last longer — the observed difference could be due to chance.

Try an IB Exam Question — Free AI Feedback

Test yourself on t-tests and z-tests. Write your answer and get instant AI feedback — just like a real IB examiner.

A class of eight students sits a Physics examination and a Chemistry examination, each with the same maximum mark. The results are given in Table 1.

Table 1

StudentPhysics markChemistry mark
S15551
S27270
S33842
S46458
S58177
S64740
S76061
S86963

You may assume these data are a random sample from a bivariate normal distribution with means and and correlation coefficient .

Before the data were collected, a researcher decided to test for a difference between
and using a two-tailed paired -test at the significance level.

suitable hypotheses for the -test. [1 mark]

Related Math AI HL 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 HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Math AI HL
Previous4.17.1Poisson distributionNextType I and Type II errors4.18.2

223 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 HL Topics