One-Sample z-tests
What is a one-sample z-test?
- A one-sample z-test is used to test the mean (μ) of a normally distributed population
- You use a z-test when the population variance (σ²) is known
- The mean of a sample of size n is calculated and a normal distribution is used to test the test statistic
- can be used as the test statistic
- In this case you would use the distribution
- Remember when using this distribution that the standard deviation is
- can be used as the test statistic
- In this case you would use the distribution
- This is a more old-fashioned approach but your GDC still might tell you the z-value when you do the test
- You will not need to use this method in the exam as your GDC should be capable of doing the other method
What are the steps for performing a one-sample z-test on my GDC?
- STEP 1: Write the hypotheses
- H0 : μ = μ0
- Clearly state that μ represents the population mean
- μ0 is the assumed population mean
- H0 : μ = μ0
-
- For a one-tailed test H1 : μ < μ0 or H1 : μ > μ0
- For a two-tailed test: H1 : μ ≠ μ0
- The alternative hypothesis will depend on what is being tested
- STEP 2: Enter the data into your GDC and choose the one-sample z-test
- If you have the raw data
- Enter the data as a list
- Enter the value of σ
- If you have summary statistics
- Enter the values of , σ and n
- Your GDC will give you the p-value
- STEP 3: Decide whether there is evidence to reject the null hypothesis
- If the p-value < significance level then reject H0
- STEP 4: Write your conclusion
- If you reject H0 then there is evidence to suggest that...
- The mean has decreased (for H1 : μ < μ0)
- The mean has increased (for H1 : μ > μ0)
- The mean has changed (for H1 : μ ≠ μ0)
- If you accept H0 then there is insufficient evidence to reject the null hypothesis which suggests that...
- The mean has not decreased (for H1 : μ < μ0)
- The mean has not increased (for H1 : μ > μ0)
- The mean has not changed (for H1 : μ ≠ μ0)
How do I find the p-value for a one-sample z-test using a normal distribution?
- The p-value is determined by the test statistic
- For H1 : μ < μ0 the p-value is
- For H1 : μ > μ0 the p-value is
- For H1 : μ ≠ μ0 the p-value is
- If then this can be calculated easier by
- If then this can be calculated easier by
How do I find the critical value and critical region for a one-sample z-test?
- The critical region is determined by the significance level α%
- For H1 : μ < μ0 the critical region is where
- For H1 : μ > μ0 the critical region is where
- For H1 : μ ≠ μ0 the critical regions are and where
- The critical value(s) can be found using the inverse normal distribution function
- When rounding the critical value(s) you should choose:
- The lower bound for the inequalities
- The upper bound for the inequalities
- This is so that the probability does not exceed the significance level
Exam Tip
- Exam questions might specify a method for you to use so practise all methods (using GDC, p-values, critical regions)
- If the exam question does not specify a method then use whichever method you want
- Make it clear which method you are using
- You can always use a second method as a way of checking your answer
Worked example
The mass of a Burmese cat, , follows a normal distribution with mean 4.2 kg and a standard deviation 1.3 kg. Kamala, a cat breeder, claims that Burmese cats weigh more than the average if they live in a household which contains young children. To test her claim, Kamala takes a random sample of 25 cats that live in households containing young children.