Calculator
Z-test for a normal mean
In one sentence
Tests a sample mean against a hypothesised mean with known σ.
Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)
Inputs
- μ₀, σ, n, x̄
Worked input
- Input μ₀ = 100, σ = 8, n = 36, x̄ = 103.1.
- σ/√n = 1.3333; z = 2.3250.
- Compare with 1.645 (one-tailed 5%): significant.
- Take μ₀ = 50, σ = 6, n = 36 and x̄ = 51, a sample mean that is only a little above the claim. The standard error is 1 and z = 1.000. A sample mean only slightly away from the claim gives a small test statistic, which does not reach the critical value, so the result is not significant and the claim stands. Check: z = 1.000 is below the one-tailed 5 percent value 1.645, so the result is not significant.
- Take μ₀ = 200, σ = 15, n = 25 and x̄ = 194, a sample mean below the claim, so z is negative. The standard error is 3 and z = −2.000. A negative test statistic points to a lower tail, and the decision compares it with the negative critical value, so the direction of the alternative hypothesis decides which tail to use. Check: the lower-tail test compares z = −2.000 with −1.645, and it lies beyond it, so the result is significant.
- Take μ₀ = 10, σ = 2, n = 16 and x̄ = 10.98, chosen so that z is exactly the two-tailed 5 percent value. The standard error is 1/2 and z = 1.960. A test statistic equal to the critical value is the borderline case, where the usual rule is to reject if the statistic is at least as extreme as the critical value, so state the rule you are using. Check: z = 1.960 equals the critical value 1.96, so this is the borderline case, right on the edge of the rejection region.
How to use it
- Enter the four values.
- Compare z with the critical value.
Z-test for a normal mean in your study of A-level maths, set out with its source.
See also Linear regression calculator, Correlation coefficient calculator, Mean and standard deviation calculator and Quartiles and outliers calculator.
Study brief
- A Z-test for the mean allows for making inferences about a population parameter. When the variance is known, given, or assumed, a test for the mean of a Normal distribution can be performed. If a random variable follows the distribution X ~ N(µ, σ2), then the standardized version is expressed as (X − µ) / (σ/n), which follows the standard Normal distribution Z ~ N(0,1). For the normal curve, the points of inflection occur at x = µ ± σ. Students are expected to use a calculator to determine probabilities associated with the normal distribution. Within the framework of hypothesis testing, the significance level represents the probability of incorrectly rejecting the null hypothesis, which is also known as a Type I error. When using a binomial model, the expected value is given by np. This statistical testing framework is part of the Pearson Edexcel Level 3 Advanced GCE in Mathematics specification, Issue 4, dated February 2020.
Practise for free
Test yourself with exam-style questions and see why each answer is right or wrong.