Hypothesis Tests for the Mean of a Normal Distribution | Edexcel A Level Maths notes

Free preview: Hypothesis Tests for the Mean of a Normal Distribution

Testing a Claim About a Mean

Year 2 (A level only)

Watch: 1-minute explainer

Let's start with a story. A flour company says its bags have mean mass 500 g.

  • The masses are Normally distributed with standard deviation 15 g.
  • A consumer group weighs a random sample of 25 bags and finds a mean of 495.2 g.
  • Is that evidence that the true mean is less than 500 g, or just chance?

The steps are the same as the binomial test; only the distribution changes. Instead of counting successes with B(n, p), we use the sampling distribution of the mean from the last note.

Hypotheses

  • The parameter is now the population mean μ: the mean mass of all bags.
  • As before, H1 can be <, > (one-tailed) or ≠ (two-tailed).

H0:μ=500,H1:μ<500

The test statistic

  • From the last note, if H0 is true, X¯~N(500,15225)=N(500,32).
  • Standardising the observed sample mean x¯ gives the test statistic:

z=x¯−μσ/n

๐Ÿ’ก In plain words

  • μ is the value in H0, σ the known population standard deviation and n the sample size.
  • z says how many standard errors the sample mean is from the claimed mean.

๐Ÿ‘€ Watch me do it: find the test statistic for the flour bags

What I writeWhy I do it
Standard error 1525=3.We are testing a mean of 25 bags, so use σ/n, not σ.
z=495.2−5003Sample mean minus the claimed mean, over the standard error.
=−4.83=−1.6Negative: the sample mean is below the claim, which fits H1:μ<500.
  • The sample mean is 1.6 standard errors below the claimed mean. Is that unusual enough? The next page decides.

๐Ÿ“ The variance must be known

This test needs σ to be known, given, or assumed from past data, and the population to be Normal (or assumed Normal). State these if asked for assumptions, along with "the sample is random".

โœ๏ธ YOUR TURN 1

Try this first:

A machine fills jars with a mean of 30 g of spice; masses are Normal with standard deviation 4 g. After a repair, a random sample of 16 jars has mean 31.8 g. The manager thinks the mean has increased. Write the hypotheses and find the test statistic.

Answer:

  • H0:μ=30, H1:μ>30, where μ is the mean mass of spice in all jars after the repair.
  • Standard error 416=1.
  • z=31.8−301=1.8.

Method 1: The p-Value

  • For H1:μ<500, the p-value is the probability of a sample mean this low or lower, if H0 is true.
  • It is the same idea as before: "at least as extreme" in the direction of H1.

Recipe: test for a mean by p-value

  1. Hypotheses about μ.
  2. Under H0, X¯~N(μ0,σ2/n).
  3. p-value: P(X¯⩽x¯) for a lower-tail test, P(X¯⩾x¯) for an upper-tail test.
  4. Compare with the significance level (half of it for each tail of a two-tailed test).
  5. Conclude in context.

๐Ÿ‘€ Watch me do it: finish the flour test at the 5% level

What I writeWhy I do it
P(X¯⩽495.2)=P(Z⩽−1.6)=0.0548Step 3: Normal CD with mean 500, sd 3, or Φ(−1.6).
0.0548>0.05: not significant, so do not reject H0.Step 4.
There is insufficient evidence at the 5% level to suggest the mean mass of bags is less than 500 g.Step 5: cautious, in context.

๐Ÿ“ Common mistake: using ฯƒ instead of the standard error

Wrong: z=495.2−50015=−0.32, p-value 0.374. Right: we are testing a mean of 25 bags, so divide by 1525=3: z=−1.6.

โœ๏ธ YOUR TURN 2

Try this first:

Finish the spice test from Your turn 1 at the 5% level using a p-value. Would the conclusion be the same at 1%?

Answer:

  • p-value =P(X¯⩾31.8)=P(Z⩾1.8)=0.0359.
  • 0.0359<0.05: reject H0. There is sufficient evidence at the 5% level to suggest the mean mass has increased.
  • At 1%: 0.0359>0.01, so do not reject H0.

Method 2: Critical Values and Critical Regions

  1. For a 5% lower-tail test, the critical value is โˆ’1.6449 (inverse Normal of 0.05). Reject H0 if z<−1.6449.
  2. Here −1.6>−1.6449: z is not far enough into the tail.
  3. So do not reject H0. Same conclusion, as it must be.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Hypothesis Testing

  1. The Language of Hypothesis Testing
  2. One-Tailed Hypothesis Tests for a Binomial Proportion
  3. Two-Tailed Binomial Tests and Critical Regions
  4. Testing for Correlation with the Product Moment Correlation Coefficient
  5. The Distribution of the Sample Mean
  6. Hypothesis Tests for the Mean of a Normal Distribution
  7. Move Up a Grade: A Level Maths Hypothesis Testing
  8. Tricky Bits: A Level Maths Hypothesis Testing

Video

What's inside for this topic

8 teacher notes, 162 practice questions, 50 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: The Distribution of the Sample Mean Next note: Move Up a Grade: A Level Maths Hypothesis Testing

Hypothesis Tests for the Mean of a Normal Distribution on other exam boards

All Edexcel A Level Maths topics ยท A Level Maths