A Level Further Mathematics · Chapter 50 · Further Statistics · Further Statistics 2
A sample estimates a population, and a confidence interval or a z-test says how far that estimate can be trusted.
A factory cannot weigh every bag it fills, and a doctor cannot test every patient, so decisions rest on samples. This chapter shows how to estimate a population mean and variance fairly, attach a range of plausible values, and test claims about means.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- calculate unbiased estimates of the population mean and variance
- find the standard error of the sample mean
- construct and interpret a confidence interval for a mean when the variance is known
- choose a sample size that gives an interval of a required width
- carry out a z-test for a single mean, one-tailed or two-tailed
- carry out a z-test for the difference between two means, including large-sample versions
Time: three sessions, about 4½ hours, plus the practice ladder and the exam workshop.
You need first: Combinations of normal random variables, the normal distribution, and the language of hypothesis testing.
The big idea
The big idea
If is a random sample from a population with mean and variance , the sample mean has mean and standard error . Standardising it gives
exactly for a normal population, and approximately for a large sample from any population. Both confidence intervals and z-tests come from this one statement.
The diagram shows why sample means are so useful. A single bag can easily weigh 52.3 g when the target is 50 g. A mean of 25 bags that high is very unusual if the target is being met. That contrast is the basis of every test in this chapter.
Population and sample
The population is everything we want to know about, such as every bag a machine fills. A sample is the part we actually measure. Numbers that describe the population, such as its mean, are called parameters. Numbers calculated from a sample, such as its mean, are called statistics. Statistics are used to estimate parameters.
Estimates vary
Different samples give different estimates. That variation is not a flaw; it is a fact about sampling. The aim of this chapter is to measure how much estimates vary, so that we can say how close an estimate is likely to be to the truth. The standard error is that measure.
Two ways to use a sample
A confidence interval answers the question of what values of the parameter are plausible. A hypothesis test answers whether a particular claimed value is believable. The two are closely linked: a value outside a 95% interval would be rejected by a two-tailed test at the 5% level.
Known and unknown variance
In this chapter the population variance is usually known, from long experience with a process. When it is unknown but the sample is large, the sample variance can be used instead, with little loss. For small samples with unknown variance, a different distribution is needed, which is the subject of the t-distribution chapter.
Section 1
Unbiased estimators
What makes an estimator unbiased
An estimator is a rule for turning a sample into an estimate. It is unbiased if its average value, over all possible samples, equals the parameter it estimates. The sample mean is an unbiased estimator of . For the variance, the unbiased estimator divides by :
Common mistake: dividing the sum of squared deviations by n, which underestimates the population variance on average. Deviations measured from the sample mean are smaller than those from the true mean. Dividing by instead of makes up for this exactly.
Dividing by n − 1 removes the bias
- Divide by n − 1
- 4
Figure 50.1 compares the average value of the two estimates for different sample sizes. The wrong model's estimate is always too small, and worst for small samples.
Why n − 1?
The sample mean is calculated from the same data, so it sits in the middle of them. Squared deviations from it are as small as they can possibly be. On average they total rather than . Dividing by gives an average of exactly , as the proof workshop shows.
Bias and variability
An unbiased estimator is right on average, but any single estimate can still be some distance from the truth. A good estimator is both unbiased and not too variable. The sample mean has both properties, and its variability falls as the sample grows. Unbiasedness alone does not guarantee a useful estimate.
Calculators and notation
Calculators often show two standard deviations, one dividing by and one by . The one dividing by is the unbiased version, often labelled or . Use it whenever you estimate a population variance from a sample. Check which key your calculator uses before an examination.
Estimates from summary totals
Questions often give and rather than the raw data. The mean is the total divided by . The variance estimate uses the same formula as , divided by . Keep the totals exact and round only the final answers.
When the difference matters
For a sample of 100, dividing by 99 or 100 makes almost no difference. For a sample of 5, the difference is 25%. So the correction matters most in small samples, which are exactly the samples where every bit of accuracy counts. Always use unless told otherwise.
Estimating standard deviations
The square root of is used to estimate the population standard deviation. Strictly, is slightly biased, even though is not. The bias is small and is ignored in this course. What matters is to base the calculation on the unbiased variance.
Random samples
All the methods in this chapter assume a random sample, where every member of the population has an equal chance of selection, independently. A sample chosen for convenience, such as the first bags off the line each morning, may be biased in ways no formula can correct. Good sampling comes before good calculation.
Sample size and the estimate
A larger sample gives estimates that vary less from sample to sample. It does not remove bias from a poorly chosen sample. So sample size and sampling method both matter. A small random sample is often more trustworthy than a large biased one.
Recording estimates
When reporting an estimate, say what it estimates and how it was calculated. For example, an unbiased estimate of the population variance of bag masses is 15.56 square grams. This clarity helps readers, and examiners, see that the right formula has been used.
Parameters are fixed, statistics vary
The population mean is a single fixed number, even if we do not know it. The sample mean changes from sample to sample. Keeping this distinction clear is the key to understanding intervals and tests, because every probability statement in this chapter is about the statistic, not the parameter.
Worked example 1: from raw data
The values 12, 15, 11, 14 and 13 are a random sample. Find unbiased estimates of the population mean and variance.
| Working | Reason |
|---|---|
| The sample mean estimates the population mean | |
| , so | Find the sum of squared deviations |
| Divide by one less than the sample size |
Estimating from grouped data
Sometimes data come in a frequency table rather than as a list. Use the midpoint of each group and multiply by its frequency to build the totals. The estimates are then approximate, because the exact values within each group are unknown. The same formulas apply once the totals are found.
Checking an estimate
A variance estimate can be checked roughly by looking at the data. Most values lie within about two standard deviations of the mean. If the estimated standard deviation is far larger or smaller than the spread you can see, recheck the arithmetic, especially the subtraction of the correction term.
Worked example 2: from totals
A sample of 10 has and . Find unbiased estimates of the mean and variance.
| Working | Reason |
|---|---|
| Divide the total by the sample size | |
| Subtract the square of the total over n | |
| Divide by nine, not ten, for an unbiased estimate |
Check yourself. A population has variance 4. Calculate the average value of the divide-by- estimate for samples of size 5.
Show the answer
On average the divide-by- estimate equals . It falls short of the true variance 4 by a fifth, which is why the unbiased estimate divides by instead.
Section 2
The standard error
Definition
The standard error of the sample mean is its standard deviation, . It measures how far sample means typically lie from the population mean. It is always smaller than the population standard deviation, and it shrinks as the sample grows.
Common mistake: using the population standard deviation instead of the standard error in the test statistic. A sample mean varies much less than a single value. Dividing by instead of makes a large difference look small and hides real evidence.
Derivation: the standard error of the mean
The sample mean is the total divided by n, and the total of n independent observations has variance .
Taking the square root gives the standard error.
So the spread of a mean shrinks with the square root of the sample size.
Interpreting the standard error
A standard error of 0.8 g means that sample means of this size typically lie within about 0.8 g of the true mean. About 95% lie within about two standard errors. This gives a quick sense of how precise a sample mean is, before any formal interval is built.
The square root law
Because the standard error divides by , halving it needs four times as many observations. Precision becomes more expensive as it improves. This is why surveys rarely go beyond a few thousand people: the extra precision from more responses is small compared with the cost of collecting them.
Standard error with an estimated variance
When the population variance is unknown and the sample is large, replace by . The estimated standard error is . With a large sample, is close to , so the normal methods still work well. For small samples, the extra uncertainty in matters.
Standard error in reports
Scientific papers often report a mean plus or minus its standard error. Readers then know how precise the estimate is. Distinguish this from a mean plus or minus the standard deviation, which describes the spread of individual values instead. The two are easy to confuse but mean very different things.
Standard error and confidence together
The standard error is the building block of every interval and test in this chapter. Once it is known, a confidence interval is the mean plus or minus a multiple of it, and a test statistic is a difference divided by it. Finding the standard error correctly is therefore half the work.
The standard error depends on the design
Two studies of the same population can have very different standard errors if their sample sizes differ. That is why results from small studies are more uncertain. When comparing studies, look at their standard errors, not just their means, to judge which is more precise.
Worked example 3: a standard error
Bags have masses with standard deviation 4 g. Find the standard error of the mean of 25 bags.
| Working | Reason |
|---|---|
| Use the formula for the standard error | |
| Substitute the standard deviation and sample size | |
| g | Evaluate the standard error with units |
A quick sense of surprise
A sample mean more than about two standard errors from a claimed value is surprising if the claim is true. One more than three standard errors away is very surprising. This rough rule gives an instant feel for the evidence before any formal test is carried out.
Worked example 4: standardising a mean
The 25 bags have mean 52.3 g. If the true mean were 50 g, how many standard errors above it is the sample mean?
| Working | Reason |
|---|---|
| Divide the difference by the standard error | |
| Evaluate the standardised value | |
| Dividing by 4 instead would give only 0.575 | The standard error, not the SD, is needed |
Check yourself. With , find the standard error of the mean of 36 observations.
Show the answer
The standard error is the population standard deviation divided by the square root of the sample size, . So means of 36 observations typically lie within about one unit of the true mean.
Section 3
Confidence intervals
Building an interval
For a normal population with known variance, a confidence interval for is
where is 1.645 for 90%, 1.96 for 95% and 2.576 for 99%. These values leave half of the remaining probability in each tail.
Common mistake: using the one-tailed z value 1.645 for a two-sided 95% confidence interval. A two-sided interval leaves 2.5% in each tail, so it needs 1.96. Using 1.645 leaves 5% in each tail, which gives a 90% interval and overstates the confidence.
What 95% confidence means
- z value
- 1.96
- Half-width zσ/√n
- 1.568
- Intervals containing μ
- 17 of 20
Figure 50.2 draws twenty intervals from twenty samples and counts how many contain the true mean. The wrong model's intervals are too narrow and miss too often.
Derivation: the confidence interval
For a 95% interval, the standardised mean lies between −1.96 and 1.96 with probability 0.95.
Rearranging the inequalities to make the subject gives a random interval.
The probability describes the interval, which varies from sample to sample, not the fixed mean.
Choosing the confidence level
Higher confidence needs a wider interval. A 99% interval is more likely to contain the mean, but it is less precise. A 90% interval is narrower but misses more often. The 95% level is a common compromise. The question usually states which level to use.
Reading the z value
The z value for a two-sided interval at level satisfies . For 95%, that is , giving 1.96. Writing this step down shows where the value comes from and avoids the one-tailed slip.
Large samples from any population
If the population is not normal but the sample is large, the central limit theorem makes the sample mean approximately normal. The same interval can then be used, with in place of if necessary. State that the result is approximate and relies on the large sample.
Rounding intervals
Give the end points of an interval to a sensible accuracy, usually one more decimal place than the data. Do not round the standard error or the z value before multiplying. Writing the interval as a pair of numbers in brackets makes the answer clear.
The centre of an interval
Every confidence interval in this chapter is centred on the sample mean. The sample mean is the best single estimate, and the interval spreads equally either side of it. If a calculated interval is not centred on the sample mean, something has gone wrong in the arithmetic.
Interval or point estimate?
A single number, such as a mean of 52.3 g, is a point estimate. It gives no idea of its own precision. An interval adds that missing information. Reporting an interval alongside a point estimate is good practice in any field that relies on data.
Confidence and the data
A narrow interval from a large sample is more informative than a wide interval from a small one, even at the same confidence level. Both are correct, but the narrow one pins down the mean more tightly. More data buy precision, not extra confidence.
Worked example 5: a 95% interval
The 25 bags have mean 52.3 g, and g. Find a 95% confidence interval for the mean mass.
| Working | Reason |
|---|---|
| Use z equal to 1.96 for a 95% interval | |
| Multiply the z value by the standard error | |
| Write the lower and upper limits |
Confidence levels in different fields
Different fields use different confidence levels. Medicine often uses 95%. Physics experiments claiming a new discovery may require far higher confidence. The choice reflects the cost of being wrong. A higher level protects against false claims but needs more data to give a useful interval.
Worked example 6: a 99% interval
For the same sample, find a 99% confidence interval.
| Working | Reason |
|---|---|
| Use the larger z value for 99% | |
| Multiply to find the half-width | |
| The interval is wider than at 95% |
Check yourself. A sample of 36 has mean 498.2, from a population with . Calculate a 90% confidence interval for the mean.
Show the answer
The standard error is , and the two-sided 90% value is 1.645. So the interval is , which gives to two decimal places.
Section 4
Interpreting intervals and choosing a sample size
What confidence means
A 95% confidence interval comes from a method that captures the true mean in 95% of samples. Once a particular interval has been calculated, the true mean is either inside it or not. The 95% describes the method's long-run success, not the chance for this one interval.
Common mistake: saying there is a 95% probability that the true mean lies in this particular interval. The mean is a fixed number, not a random one. The probability belongs to the procedure: over many samples, 95% of the intervals it produces contain the mean.
Using an interval to judge a claim
If a claimed value lies outside a 95% interval, the data are evidence against the claim at the 5% level. If it lies inside, the data are consistent with the claim. This gives a quick test without calculating a statistic. It matches a two-tailed z-test at the corresponding level.
The width of an interval
The width of an interval is . It depends on the confidence level, the population spread and the sample size, but not on the sample mean. So the width can be found before any data are collected, which is the key to planning.
Choosing a sample size
To get an interval no wider than , solve for . This gives . Always round up to the next whole number, because rounding down would give an interval slightly too wide.
Trade-offs in planning
A narrower interval or a higher confidence level needs a larger sample. Halving the width needs four times as many observations. Planners weigh the value of precision against the cost of data. Calculating the required sample size makes this trade-off explicit before money is spent.
Intervals in context
A good interpretation says what the interval is for, such as the mean mass of bags filled by the machine, and what it suggests. For example, the interval lies entirely above 50 g, so the machine appears to be overfilling. Linking the numbers to the situation is what earns the final mark.
Margin of error
Opinion polls often report a margin of error, such as plus or minus three percentage points. This is the half-width of a confidence interval, usually at the 95% level. Knowing this helps you read news reports critically, since a lead smaller than the margin of error may not be real.
Why the width ignores the mean
The width depends only on how variable the data are, how many there are, and how confident we want to be. Where the sample mean happens to fall does not change the width. This is what makes it possible to plan a study before any data are collected.
Intervals for other quantities
The same idea extends to other parameters. Intervals can be built for proportions, differences of means and variances. Each uses an estimate, its standard error and a suitable critical value. This chapter focuses on means, but the pattern of estimate plus or minus a multiple of the standard error recurs throughout statistics.
Worked example 7: the width of an interval
Find the width of a 95% confidence interval for a mean when and .
| Working | Reason |
|---|---|
| Width | Double the half-width of the interval |
| Evaluate the width of the interval | |
| It does not depend on the sample mean | The width is fixed before sampling |
Using a pilot study
When the population standard deviation is unknown, a small pilot study can estimate it. That estimate is then used to calculate the sample size for the main study. The result is approximate, so planners often add a little extra to the sample size to be safe.
Worked example 8: a sample size
How large a sample is needed for a 95% interval of width at most 2 g, when g?
| Working | Reason |
|---|---|
| Set the width to at most two | |
| , so | Rearrange and square both sides |
| Round up to the next whole number |
Check yourself. Determine the sample size needed for a 99% interval of width at most 4 when .
Show the answer
Solve , which gives and . Rounding up, a sample of 166 is needed.
Section 5
Testing a single mean
The z-test
To test when is known, calculate
and compare it with the critical value for the significance level and the number of tails. Equivalently, find the p-value and compare it with the significance level.
Common mistake: treating a non-significant result as proof that the null hypothesis is true. Failing to reject means only that the data do not give enough evidence against the claim. The true mean could still differ from the claimed value by an amount the test was not sensitive enough to detect.
One or two tails
A one-tailed test looks for a change in a stated direction, such as the mean having increased. A two-tailed test looks for any change. Decide before looking at the data, based on the question. A two-tailed test at 5% uses ; a one-tailed test uses 1.645 or .
The p-value approach
The p-value is the probability, if the null hypothesis is true, of a statistic at least as extreme as the one observed. For an upper-tail test it is . For a two-tailed test, double the tail beyond . Reject when the p-value is below the significance level.
Assumptions
The z-test assumes the sample is random, the population variance is known, and either the population is normal or the sample is large. State these assumptions when asked. If the variance is unknown and the sample small, use the t-distribution instead.
Writing a conclusion
A conclusion should give the decision and its meaning in context, without overstating it. For example, there is evidence at the 5% level that the mean mass is greater than 50 g. If not rejecting, say there is insufficient evidence, not that the mean is 50 g.
Statistical and practical significance
With a very large sample, a tiny difference can be statistically significant but unimportant in practice. With a small sample, an important difference may fail to be significant. Consider the size of the difference, as well as the test result, before drawing practical conclusions.
Setting up a test
Every test follows the same steps. State the hypotheses and choose the significance level. Then calculate the statistic, compare it with the critical value or find the p-value, and conclude in context. Following the steps in order keeps the reasoning clear and makes sure no mark is lost for a missing part.
The critical region
The critical region is the set of values of the statistic that lead to rejecting the null hypothesis. For an upper-tail test at 5%, it is values above 1.645. Writing the critical region explicitly makes the decision easy to check and shows the examiner exactly what you compared.
One-tailed tests need a reason
A one-tailed test is more powerful in its chosen direction, but it cannot detect a change the other way. Use it only when the question gives a clear reason to expect a particular direction, such as a claim that a mean has increased. Otherwise, use a two-tailed test.
Hypotheses come from the question
Read the question to decide what is being claimed and what would count as evidence against it. A claim that a machine fills to a target gives the null hypothesis. A worry that it overfills gives the alternative. Translating words into hypotheses correctly is often the first mark in a testing question.
Worked example 9: a one-tailed test
A machine should fill bags with mean 50 g, and g. A sample of 25 has mean 52.3 g. Test at the 5% level whether the machine is overfilling.
| Working | Reason |
|---|---|
| , | Overfilling means a larger mean |
| , p-value 0.0020 | Compare the statistic with the one-tailed critical value |
| Reject; evidence that the machine overfills | Conclude in the context of the question |
Reporting a p-value
Reporting the p-value as well as the decision gives readers more information. A p-value of 0.049 and one of 0.0001 both lead to rejection at 5%, but the second is far stronger evidence. Similarly, a p-value of 0.06 is close to significance, which a simple not rejected hides.
Errors in testing
Rejecting a true null hypothesis is a Type I error, and its probability is the significance level. Failing to reject a false one is a Type II error. A z-test controls the first directly. The second depends on the true mean and the sample size, as Quality of tests explained.
Worked example 10: a two-tailed test
A sample of 36 has mean 498.2, from a population with . Test at the 5% level whether the mean differs from 500.
| Working | Reason |
|---|---|
| Standardise using the standard error of one | |
| ; p-value 0.0719 | Compare with the two-tailed critical value |
| Do not reject; insufficient evidence of a change | Conclude without claiming the mean is 500 |
Check yourself. A two-tailed test gives . Find the p-value and decide at the 5% level.
Show the answer
The two-tailed p-value doubles the tail beyond 2.1, giving . Since this is below 0.05, reject the null hypothesis: there is evidence that the mean has changed.
Section 6
Two means and large samples
Comparing two means
For independent samples from populations with known variances, the difference of the sample means has standard error . To test , use
Common mistake: forgetting to divide each variance by its own sample size in a two-sample z statistic. Each sample mean has variance , not . Leaving out the sample sizes treats each mean as a single observation and makes real differences look insignificant.
Testing the difference between two means
- z
- 2.407
- p-value (two-tailed)
- 0.0161
- Decision at 5%
- evidence of a difference
Figure 50.3 shows the statistic for a difference between two means against the critical values. The wrong model's statistic, without the sample sizes, is far too small.
Where the formula comes from
The two sample means are independent and approximately normal. Their difference is normal with mean and variance equal to the sum of their variances. This is the difference rule from the previous chapter, applied to sample means rather than single observations.
Large samples with unknown variances
When the population variances are unknown but both samples are large, replace each with the sample estimate . The central limit theorem makes the means approximately normal even if the populations are not. State that the test is approximate and relies on large samples.
Testing a difference other than zero
Sometimes the claim is that one mean exceeds the other by a fixed amount, such as 2 units. Then subtract that amount in the numerator: . The denominator is unchanged. This handles claims about the size of a difference, not just its existence.
Independence of the samples
The two-sample test needs the samples to be independent. Measurements on the same people before and after a treatment are paired, not independent. Paired data need a different method, which uses the differences within each pair. Check how the data were collected before choosing the test.
Choosing the right test
Ask how many samples there are, whether the variance is known, and whether the sample is large. One sample with known variance uses the one-sample z-test. Two independent samples with known variances use the two-sample z-test. Large samples allow sample variances in either case.
Comparing groups in practice
Comparing two groups is one of the most common uses of statistics. Medical trials compare a treatment with a placebo, and schools compare teaching methods. The two-sample test turns the difference between two sample means into evidence about the populations they came from.
Paired or independent?
Before using the two-sample test, ask whether each observation in one sample is linked to one in the other. If the same people are measured twice, the samples are paired, and the right method analyses the differences. Using an independent-samples test on paired data wastes information.
Conclusions about populations, not classes
A two-sample test is about the populations the classes come from, not the particular students. If the classes were the whole populations of interest, there would be nothing to test: their means would simply be known. Stating the conclusion about the populations shows understanding of what inference is for.
Worked example 11: two classes
Class A has 40 students with mean 82.4, from a population with variance 36. Class B has 50 students with mean 79.1, from a population with variance 49. Test at the 5% level whether the population means differ.
| Working | Reason |
|---|---|
| Divide each variance by its sample size | |
| ; p-value 0.0161 | Standardise the difference of the means |
| : reject; evidence the means differ | Compare with the two-tailed critical value |
How large is large?
A common guide is that samples of 30 or more are large enough for the central limit theorem and for using the sample variance. Strongly skewed populations may need more. When a question uses a sample variance with a normal test, it expects you to mention that the sample is large.
Worked example 12: a large sample
A sample of 40 has mean 3.42 and . Test at the 5% level whether the population mean is less than 3.5.
| Working | Reason |
|---|---|
| Use the sample variance because n is large | |
| Critical value | Lower-tail test at five percent |
| : reject; evidence the mean is below 3.5 | The approximation relies on the large sample |
Check yourself. For worked example 11, compute the statistic if the sample sizes were wrongly left out of the standard error.
Show the answer
Without the sample sizes, the denominator becomes , so the statistic is only . That would wrongly suggest no evidence of a difference at all.
Reference
Results in this chapter
| Result | What it says | When to use it | In the formula booklet? |
|---|---|---|---|
| Unbiased variance estimate | Estimating | Yes | |
| Standard error of the mean | Intervals and tests | No, learn it | |
| Confidence interval | Known variance | Yes | |
| Sample size for width | Planning | No, learn it | |
| One-sample z-test | Known variance or large n | Yes | |
| Two-sample z-test | Independent samples | Yes |
Reasoning
Proof workshop: why s² is unbiased
The claim
For a random sample from a population with mean and variance ,
so dividing by gives an unbiased estimator of .
Strategy
Rewrite each deviation from the sample mean as a deviation from the true mean, minus the error in the sample mean. Expand the sum of squares, and simplify using the fact that the deviations from the sample mean add to zero. Then take expectations, using and .
The key insight is that measuring from the sample mean loses exactly the variance of the sample mean, multiplied by . That loss is one , which is why one is subtracted from .
The proof
Writing and expanding, the cross terms combine because :
Taking expectations, each has expectation and has expectation , so
Checking every step
The expansion of the square gives three parts: the sum of the squared true deviations, a cross term, and copies of the squared error of the mean. The cross term equals , which combines with the last part to leave .
The expectations use the definition of variance for each observation and the standard error result from section 2. Nothing here needs the population to be normal, so the result holds for any population with a finite variance.
A numerical check uses a population with variance 4 and samples of 5. The sum of squared deviations averages . Dividing by 4 gives 4, the true variance, while dividing by 5 gives 3.2, which is too small, matching the check-yourself in section 1.
Your turn
A population has variance 9. Find the average of the divide-by- estimate for samples of size 3.
Show a model proof
The sum of squared deviations averages . Dividing by 3 gives an average of 6, a third below the true variance, which is why the unbiased estimate divides by 2.
Practice
Practice ladder
Rung 1: Recall and fluency
Q1. The values 3, 5, 6, 8 and 9 are a random sample. Calculate the unbiased estimate of the population variance.
Worked solution to Q1
The total is 31 and the sum of squares is 215, so the sum of squared deviations is . Dividing by one less than the sample size gives .
Q2. Measurements have . Write down the standard error of the mean of 16 observations.
Worked solution to Q2
Divide the population standard deviation by the square root of the sample size, which gives . So means of 16 observations typically lie within about 2.5 of the true mean.
Q3. State the z value used for a two-sided 90% confidence interval.
Worked solution to Q3
A 90% interval leaves 5% in each tail, so the value satisfies . Reading the tables gives , usually written as 1.645.
Rung 2: Application
Q4. A sample of 36 from a population with has mean 20. Construct a 95% confidence interval for the mean.
Worked solution to Q4
First find the standard error by dividing the standard deviation by the square root of the sample size, . The 95% value is 1.96, so the interval is , which gives .
Q5. A second sample of 36 from the same population has mean 20.8. Test at the 5% level whether the mean has increased from 20.
Worked solution to Q5
The statistic is , and the one-tailed critical value is 1.645. Since 1.6 is just below it, do not reject: there is insufficient evidence that the mean has increased.
Q6. For the test in Q5, evaluate the p-value.
Worked solution to Q6
For an upper-tail test the p-value is the probability above the statistic, . This is just above 0.05, which matches the decision not to reject.
Rung 3: Analysis
Q7. A population has . Determine the smallest sample giving a 95% interval no wider than 1.
Worked solution to Q7
Set the width of the interval to be at most one and solve: , which gives and . A sample size must be a whole number, and rounding down would make the interval too wide, so a sample of 139 is needed.
Q8. Work out the width of a 99% confidence interval when and .
Worked solution to Q8
The width is twice the z value times the standard error, . It is wider than a 95% interval from the same sample, because higher confidence needs more room.
Q9. Samples of 30 and 40 from populations with variances 4 and 9 have means 25.4 and 24.1. Calculate the statistic for testing whether the population means are equal.
Worked solution to Q9
The standard error of the difference is . Dividing the difference of 1.3 by it gives , which exceeds 1.96, so a two-tailed test at 5% would reject.
Rung 4: Stretch
Q10. A sample of 50 has and . Test, using a large-sample method, whether the population mean exceeds 5 at the 5% level.
Worked solution to Q10
The mean is 5.2 and , so the estimated standard error is . The statistic is , below 1.645, so there is insufficient evidence that the mean exceeds 5.
Q11. A population has variance 9. Deduce the average of the divide-by- estimate for samples of size 3.
Worked solution to Q11
The divide-by- estimate averages . It underestimates the variance by a third, which is why small samples need the correction most.
Q12. A 95% interval for a mean is . Explain what a two-tailed test of at the 5% level would conclude.
Worked solution to Q12
The claimed value 50 lies below the lower limit of the interval, so it is not among the plausible values. A two-tailed test at the 5% level would therefore reject the claim that the mean is 50.
Exam practice
Exam technique and worked answer workshop
How these questions are marked
M1 marks go to using , the standard error , the right z value and the right test statistic. A1 marks go to correct values and decisions. B1 marks go to hypotheses, critical values, assumptions and conclusions in context.
State both hypotheses with . Give the critical value or p-value with the number of tails. End with a conclusion in context, and never claim that a null hypothesis has been proved.
Exam question 1 (6 marks · Paper 4 · about 8 minutes)
A sample of 10 has and . Find unbiased estimates of the population mean and variance. Given that the population is normal with , find a 95% confidence interval for the mean. (6)
Mark scheme for exam question 1
B1
Uses M1
A1
M1
Standard error 1.265 A1
A1
Exam question 2 (7 marks · Paper 4 · about 10 minutes)
A machine should fill bags with mean 50 g, and the masses are normal with g. A sample of 25 bags has mean 52.3 g. Test at the 5% level whether the machine is overfilling, giving the p-value. (7)
Mark scheme for exam question 2
, B1
Standard error 0.8 M1
A1
Critical value 1.6449 B1
p-value 0.0020 A1
, so reject M1
Evidence that the machine is overfilling A1
Exam question 3 (6 marks · Paper 4 · about 8 minutes)
A process has . A sample of 36 has mean 498.2. Test at the 5% level whether the mean differs from 500, and state what the conclusion does not show. (6)
Mark scheme for exam question 3
, B1
M1
A1
Two-tailed critical values B1
Do not reject: insufficient evidence of a change A1
It does not show that the mean equals 500 B1
Exam question 4 (6 marks · Paper 4 · about 8 minutes)
Bag masses have g. Find the width of a 95% interval from a sample of 25, and the smallest sample size giving a 95% interval of width at most 2 g. (6)
Mark scheme for exam question 4
Width M1
A1
M1
A1
M1
A1
Exam question 5 (7 marks · Paper 4 · about 10 minutes)
Class A has 40 students with mean mark 82.4 and class B has 50 students with mean mark 79.1. The populations have variances 36 and 49. Test at the 5% level whether the population means differ. (7)
Mark scheme for exam question 5
, B1
Standard error M1
A1
A1
Critical values B1
, so reject M1
Evidence that the mean marks differ A1
Exam question 6 (6 marks · Paper 4 · about 8 minutes)
Show that for a random sample of size , and hence explain why the unbiased estimate of divides by . (6)
Mark scheme for exam question 6
Writes M1
Expands to A1
B1
M1
Obtains A1
Dividing by gives expectation B1
Exam question 7 (6 marks · Paper 4 · about 8 minutes)
A sample of 40 components has mean length 3.42 cm and . Test at the 5% level whether the population mean is less than 3.5 cm, and explain why a normal test is justified. (6)
Mark scheme for exam question 7
, B1
Uses M1
A1
Critical value B1
Reject: evidence the mean is less than 3.5 cm A1
Large sample, so the central limit theorem applies B1
Exam question 8 (5 marks · Paper 4 · about 7 minutes)
A 95% confidence interval for a mean mass is grams. Explain what is meant by a 95% confidence interval, and use this interval to comment on a claim that the mean is 50 g. (5)
Mark scheme for exam question 8
95% of such intervals contain the true mean B1
The probability refers to the method, not this interval B1
50 lies outside the interval M1
So the claim is rejected at the 5% level A1
The mean appears to be above 50 g B1
Annotated model answer: exam question 2
The hypotheses are and , since overfilling means a larger mean. B1. The standard error is . M1. So . A1. The one-tailed 5% critical value is 1.6449. B1.
The p-value is . A1. Since , reject . M1. There is strong evidence that the machine is overfilling the bags. A1.
Annotated model answer: exam question 5
The hypotheses are and . B1. The standard error of the difference is , M1, which is 1.371. A1. The statistic is . A1.
The two-tailed critical values at 5% are . B1. Since , reject . M1. There is evidence that the mean marks of the two populations differ. A1.
Connections
Synoptic link
Combinations of normal random variables gave the exact distribution of a sample mean used throughout this chapter. Quality of tests explained the errors and power of tests like these.
The t-distribution handles small samples with unknown variance, where the normal methods here no longer apply. Tests for variances: chi-squared and F estimates and tests the variance itself rather than the mean.
Synoptic question 1. Explain why a confidence interval and a two-tailed test at matching levels always agree about a claimed mean.
Answer to synoptic question 1
Both use the same standardised mean and the same critical value. A claimed mean lies outside the 95% interval exactly when its z statistic is beyond . So the interval rejects precisely the values the test would reject.
Recap
Recap and next step
- The sample mean is unbiased for ; divides by to be unbiased for .
- The standard error of the mean is .
- A confidence interval is , with from the two-sided level.
- The confidence level describes the method, not one particular interval.
- The z-test standardises the sample mean; not rejecting is not proof of the null hypothesis.
- Two-sample tests divide each variance by its own sample size; large samples may use .
Next chapter: Tests for variances: chi-squared and F, which estimates and tests population variances themselves.
For your exam board
This chapter covers Pearson Edexcel A Level Further Mathematics (9FM0) Further Statistics 2 section 5: unbiased estimators of the mean and variance, the standard error, confidence intervals for a mean with known variance, and hypothesis tests for one mean and for the difference of two means using the normal distribution, including large-sample methods. It is assessed on Paper 4B, Further Statistics 2. Similar content appears in AQA (7367) and OCR (H245) statistics options.