A Level Further Mathematics · Chapter 51 · Further Statistics · Further Statistics 2
The spread of a normal sample follows its own distributions, chi-squared for one variance and F for a ratio of two, so variances can be estimated and tested.
Consistency often matters as much as the average, whether in tablet doses, bolt lengths or exam marks. This chapter tests and estimates the variance of one normal population with the chi-squared distribution, and compares two variances with the F distribution.
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:
- use the result that follows a chi-squared distribution with degrees of freedom
- test a claim about a single population variance, with one or two tails
- construct a confidence interval for a population variance or standard deviation
- read upper and lower critical values of the F distribution
- carry out an F-test to compare two population variances
- state and judge the normality assumption these methods rely on
Time: three sessions, about 4½ hours, plus the practice ladder and the exam workshop.
You need first: unbiased estimates of variance from Estimation, confidence intervals and normal tests, and chi-squared critical values from Chi-squared tests.
The big idea
The big idea
For a random sample of size from a normal population with variance , the sample variance satisfies
For two independent normal samples, the ratio of their sample variances, each divided by its population variance, follows an F distribution:
The diagram shows the chi-squared distribution with 9 degrees of freedom. Unlike the normal distribution, it is skewed to the right and never negative. So its lower and upper critical values are not mirror images, and both must be read from the tables.
Why test a variance?
A machine that fills bottles with the right average but varying amounts may still overfill some and underfill others. Customers and regulators care about the spread. Testing the variance checks whether a process is as consistent as claimed, which the tests for a mean cannot do.
Two new distributions
The chi-squared distribution describes the scaled sum of squared deviations from one normal sample. The F distribution describes the ratio of two such quantities from independent samples. Both are families indexed by degrees of freedom, and both are skewed to the right.
Degrees of freedom again
The sample variance uses deviations from the sample mean, which always add to zero. So only deviations are free. That is why the chi-squared distribution has degrees of freedom, and why the F distribution uses and .
Normality matters more here
Tests for means are fairly robust to non-normal data, especially for large samples. Tests for variances are not. Their distributions rely heavily on the population being normal. So these methods should be used only when normality is reasonable, as section 6 explains.
Reading the chapter
The first three sections deal with one variance: the statistic, tests and intervals. The next two compare two variances with the F distribution. The final section discusses when these methods can be trusted. Each section builds on the critical value tables, so keep them to hand.
Section 1
The chi-squared statistic for a variance
The statistic
To test , calculate
and compare it with the chi-squared distribution with degrees of freedom. If the null hypothesis is true, the statistic is typically close to , its mean.
Common mistake: using n instead of n − 1 in the statistic and its degrees of freedom when testing a variance. The sample variance already divides by , so multiplying back by recovers the sum of squared deviations. One degree of freedom is lost to estimating the mean.
Testing a variance with the chi-squared distribution
- Statistic
- 14.4
- Critical value χ²9(0.05)
- 16.919
- Decision
- no evidence the variance exceeds 4
Figure 51.1 shows the statistic against the chi-squared distribution and its upper critical region. The wrong model uses , which inflates the statistic.
What the statistic measures
The statistic compares the observed sum of squared deviations with what the claimed variance would produce. If the sample is much more spread out than claimed, the statistic is large. If it is much less spread out, the statistic is small. Both tails can therefore carry evidence.
Reading the chi-squared tables
Tables give the value with a stated probability in the upper tail. For a lower critical value at 5%, use the column with 95% in the upper tail. Writing the probability statement for each critical value avoids reading the wrong column.
From sums to the statistic
When data are given as totals, find the sum of squared deviations directly. It equals , so the statistic is simply that sum divided by . This saves a step and avoids rounding first.
The mean of the statistic
A chi-squared variable with degrees of freedom has mean . So under the null hypothesis the statistic averages . A value far above or below this suggests the variance is not as claimed. This gives a quick sense of whether a result is likely to be significant.
Checking the arithmetic
The statistic can never be negative, because it is built from squares. If you get a negative value, there is an error in the sum of squares. Also check that the degrees of freedom match the sample size minus one before looking up a critical value.
Units cancel
The sample variance and the claimed variance have the same squared units, so the statistic has no units. This is why one table serves every application, whether the data are in grams, seconds or marks. Always make sure both variances use the same units before dividing.
Variance in everyday quality
Pharmacies need each tablet to contain nearly the same dose, not just the right average. Engineers need bolts that fit every time, not just on average. In both cases a small variance is the goal. Testing the variance turns these requirements into questions that data can answer.
Thinking in standard deviations
Variances are in squared units, which can be hard to picture. A variance of 4 square grams is a standard deviation of 2 grams. When interpreting a result, translating back to standard deviations often makes the conclusion clearer to a reader.
A worked plan
For any variance test, find the sum of squared deviations and divide by the claimed variance. Then identify the degrees of freedom, read the critical value for the right tail, and compare. Writing these five steps as a checklist prevents the common slips described in this chapter.
Claims about consistency
A manufacturer might claim that the standard deviation of its product is at most a certain value. The null hypothesis takes that claimed value, and the alternative is that the spread is larger. Customers who suspect inconsistency look for evidence in the upper tail, just as in the first examples of this chapter.
Worked example 1: a statistic
A sample of 10 from a normal population has . Find the statistic for testing .
| Working | Reason |
|---|---|
| Recover the sum of squared deviations | |
| Divide by the claimed variance | |
| , on 9 degrees of freedom | Degrees of freedom are one less than n |
Why a larger sample helps
With more observations, the sample variance settles closer to the true variance. The chi-squared distribution then becomes relatively narrower around its mean. So the same sample variance can be significant with a larger sample but not with a smaller one, as the exam workshop shows.
Worked example 2: an upper-tail test
Using worked example 1, test at the 5% level whether the variance is greater than 4.
| Working | Reason |
|---|---|
| , | A larger variance gives a larger statistic |
| Critical value | Read the upper five percent point |
| : do not reject; no evidence of more variability | Compare and conclude in context |
Check yourself. A sample of 12 from a normal population has . Calculate the statistic for testing .
Show the answer
Multiply the sample variance by and divide by the claimed variance: . This is far below the mean of 11 for this distribution, which hints that the variance may be smaller than claimed.
Section 2
Testing a single variance
Choosing the tail
An alternative uses the upper tail. An alternative uses the lower tail. A two-tailed alternative uses both, with half the significance level in each. Because the distribution is skewed, the two critical values must be read separately.
Common mistake: using the upper critical value for a test that the variance has decreased. A smaller variance gives a small statistic, so the evidence lies in the lower tail. The critical value must be the lower percentage point, with the significance level in the left tail.
Lower critical values
The lower critical value at 5% has 95% of the distribution above it. In tables this is often listed under 0.95. Some tables give lower-tail probabilities instead, so check the heading. A lower critical value is always less than the degrees of freedom.
Two-tailed tests
For a two-tailed test at 5%, find the values cutting off 2.5% at each end. Reject if the statistic is below the lower value or above the upper value. Since the distribution is not symmetric, the two values are not equally spaced from the mean.
Writing hypotheses about variances
Hypotheses can be written in terms of the variance or the standard deviation, since one determines the other. For example, is the same as . Be consistent, and convert a claimed standard deviation to a variance before calculating the statistic.
Conclusions in context
A conclusion should refer to consistency or variability in the setting. For example, there is evidence that the new machine fills bottles more consistently. Avoid simply saying the variance is smaller; link the result to what it means for the process.
p-values for variance tests
A calculator can give the probability of a chi-squared value at least as extreme as the statistic. For an upper-tail test this is the upper tail probability; for a lower-tail test, the lower one. For a two-tailed test, double the smaller tail. Compare with the significance level as usual.
Variance or standard deviation in the conclusion
Questions often ask about the standard deviation because it is in the original units. The test is the same, since a statement about one is a statement about the other. Write the conclusion using whichever quantity the question uses, so that it reads naturally in context.
Evidence of improvement
Many variance tests are run after a change intended to make a process more consistent. A significant decrease supports the change. A non-significant result does not show the change failed; it may simply be that the sample was too small to detect a modest improvement.
Comparing with the expected value
Before reading tables, compare the statistic with its expected value, . A statistic far below it suggests less variability than claimed, and one far above suggests more. This quick comparison shows which tail is likely to matter and catches gross errors.
Reading tables in both directions
Some chi-squared tables list the probability above each value, and others the probability below it. Before reading a lower critical value, check which convention the table uses. Writing the probability statement next to the value, such as five percent below it, makes the reading clear.
Worked example 3: a lower-tail test
A process has variance 2.5. After a change, a sample of 12 gives . Test at the 5% level whether the variance has decreased.
| Working | Reason |
|---|---|
| , ; statistic 3.96 | A decrease gives a small statistic |
| Lower critical value | Read the point with five percent below it |
| : reject; evidence the variance has decreased | Compare and conclude in context |
Two critical values, one decision
In a two-tailed variance test, the statistic is compared with both critical values at once. It is significant if it falls below the lower value or above the upper one. Draw a quick number line with both values marked, and place the statistic on it, to see the decision at a glance.
Worked example 4: a two-tailed test
A sample of 20 has . Test at the 5% level whether the population variance differs from 0.4.
| Working | Reason |
|---|---|
| Statistic | Use nineteen degrees of freedom |
| Critical values 8.907 and 32.852 | Read the two and a half percent points |
| : do not reject | The statistic lies between the critical values |
Check yourself. Write down the lower 5% critical value of the chi-squared distribution with 9 degrees of freedom.
Show the answer
The lower 5% point has 95% of the distribution above it, which the tables give as 3.325. A statistic below 3.325 would be evidence that the variance is smaller than claimed.
Section 3
Confidence intervals for a variance
The interval
A confidence interval for uses the two critical values that enclose the central part of the chi-squared distribution:
Dividing by the larger value gives the lower limit. Taking square roots gives an interval for the standard deviation.
Common mistake: dividing by the lower chi-squared value to get the lower limit, which swaps the ends of the interval. Dividing by a larger number gives a smaller result. So the lower limit for comes from the larger, upper chi-squared value.
A confidence interval for a variance
- Upper χ² value
- 19.023
- Lower χ² value
- 2.7
- Interval
- (3.03, 21.33)
Figure 51.2 shows an interval for a variance and how it changes with the sample size and level. The wrong model's division puts the larger number first.
Derivation: the confidence interval for a variance
For a 95% interval, the statistic lies between the 2.5% and 97.5% points with probability 0.95.
Taking reciprocals reverses the inequalities, and multiplying by isolates the variance.
So the larger critical value gives the lower limit, and the smaller one gives the upper limit.
The interval is not symmetric
Because the chi-squared distribution is skewed, the interval is not centred on . Its upper limit lies further from than its lower limit. This is correct and expected. Do not try to write the interval as plus or minus a margin.
Intervals for the standard deviation
To get an interval for , take the square root of each limit of the interval for . This works because the square root is increasing, so the order of the limits is kept. Give the interval in the original units.
Using an interval to judge a claim
A claimed variance outside the 95% interval would be rejected by a two-tailed test at 5%. A value inside is consistent with the data. This gives a quick check on a claim, in the same way as an interval for a mean.
Width and sample size
Larger samples give narrower intervals, because the critical values move closer to the degrees of freedom. With small samples, intervals for variances are very wide. This shows how hard it is to pin down a variance precisely without plenty of data.
Reporting the interval
Give both limits to sensible accuracy and say what they are for, such as the variance of bottle volumes. If the interval for the standard deviation is wanted, give that too. Make clear which confidence level was used.
Intervals and tests together
An interval shows all the variances consistent with the data at once, while a test checks only one claimed value. Reporting the interval is often more informative. It also reveals whether a non-significant result reflects a precise estimate near the claim or simply a very wide range of possibilities.
Wide intervals are honest
Variance intervals from small samples are often surprisingly wide. This is not a mistake. It reflects how little a handful of observations reveals about spread. A wide interval is a useful warning that more data are needed before strong conclusions about consistency are drawn.
Planning for precise variances
Since variance intervals narrow only slowly, estimating a variance precisely needs a large sample. Studies whose main aim is to measure consistency plan for this. A rough rule is that halving the relative width of the interval needs about four times as many observations, as for means.
Worked example 5: an interval for a variance
A sample of 10 has . Find a 95% confidence interval for .
| Working | Reason |
|---|---|
| , critical values 2.700 and 19.023 | Use nine degrees of freedom |
| Lower limit | Divide by the larger value |
| Upper limit | Divide by the smaller value |
Precision of the standard deviation
Because the interval for the standard deviation comes from square roots, it is narrower in relative terms than the interval for the variance. Even so, small samples give wide intervals. Stating the interval in the original units makes it easier for a reader to judge whether the spread is acceptable.
Worked example 6: an interval for a standard deviation
Using worked example 5, find a 95% confidence interval for .
| Working | Reason |
|---|---|
| Take the square root of the lower limit | |
| Take the square root of the upper limit | |
| The order is unchanged by square roots |
Check yourself. A sample of 15 has . Calculate a 95% confidence interval for .
Show the answer
The sum of squared deviations is , and the critical values for 14 degrees of freedom are 5.629 and 26.119. Dividing gives the interval , with the larger critical value giving the lower limit.
Section 4
The F distribution
Definition and tables
If two independent normal samples come from populations with equal variances, the ratio follows an F distribution with degrees of freedom. Tables give upper critical values , with the numerator's degrees of freedom first.
Common mistake: swapping the numerator and denominator degrees of freedom when reading the F tables. The order matters: and are different distributions with different critical values. The first number always belongs to the sample whose variance is on top.
Comparing two variances with the F distribution
- Critical value F(8, 10)
- 3.072
- p-value
- 0.0794
- Decision
- no evidence of a difference
Figure 51.3 shows the F distribution and its upper critical value. The wrong model swaps the degrees of freedom, giving a different critical value.
Derivation: the F statistic for equal variances
Each sample gives a chi-squared quantity divided by its degrees of freedom, and their ratio is an F variable.
Under the null hypothesis that the population variances are equal, the unknown variances cancel.
So the test statistic is simply the ratio of the two sample variances.
Lower critical values
Tables usually give only upper critical values. A lower critical value comes from the reciprocal rule:
Notice that the degrees of freedom swap. The proof workshop explains why.
Shape of the F distribution
The F distribution is never negative and is skewed to the right. When the two variances are equal, the ratio is typically close to 1. Large ratios suggest the numerator's population is more variable. Small ratios suggest it is less variable.
Avoiding lower critical values
Putting the larger sample variance on top makes the ratio at least 1. Then only the upper tail is needed, which avoids the reciprocal rule. For a two-tailed test, compare with the upper critical value for half the significance level. This is the usual method in examinations.
Reading the tables carefully
F tables are large, with separate tables for different significance levels. Find the right table first, then the column for the numerator's degrees of freedom and the row for the denominator's. Write down which table, column and row you used.
Interpolation
If the exact degrees of freedom are not in the table, use the nearest values or a calculator. Examination questions usually use degrees of freedom that appear in the tables. A calculator with an inverse F function gives exact values.
Where F tables come from
Each entry in an F table is the value with the stated probability above it, for a particular pair of degrees of freedom. Producing these values needs the full F distribution, which depends on both numbers. That is why the tables are large and why careful reading matters.
Ratios near one
When two populations have the same variance, their sample variances are usually similar, so the ratio is often near 1. A ratio far from 1, in either direction, suggests different variances. The critical values say how far from 1 is far enough, given the sample sizes.
Numerator and denominator
The sample whose variance is on top of the ratio supplies the numerator degrees of freedom. The other sample supplies the denominator degrees of freedom. Labelling the two samples clearly at the start, and keeping track of which is on top, avoids the most common error with F tables.
Worked example 7: an upper critical value
Find the upper 5% critical value of the F distribution with 5 and 7 degrees of freedom.
| Working | Reason |
|---|---|
| Use the 5% table | Choose the table for the level |
| Column 5, row 7 | Numerator degrees of freedom first |
| Read the critical value |
Calculators and F values
Many calculators give F probabilities and inverse F values directly. They remove the need for the reciprocal rule. However, examinations often expect table values, and understanding the rule shows why the tables only need upper values. Use whichever method the question allows, and show the values you used.
Worked example 8: a lower critical value
Find the lower 2.5% critical value of .
| Working | Reason |
|---|---|
| Use the reciprocal rule and swap the degrees | |
| Read the upper value with swapped degrees | |
| Take the reciprocal of that value |
Check yourself. Read off the upper 5% critical value of .
Show the answer
Reading the 5% table in column 8 and row 10 gives . A ratio of sample variances above this, with 8 numerator degrees of freedom, would be significant.
Section 5
The F-test for equal variances
Carrying out the test
To test , put the larger sample variance on top and calculate . Compare it with the upper critical value with the matching degrees of freedom. For a two-tailed test, use half the significance level.
Common mistake: putting the smaller variance on top and then comparing with an upper critical value. A ratio less than 1 can never exceed an upper critical value, so the test could never reject. Either put the larger variance on top or use the lower critical value.
One-tailed and two-tailed F-tests
If the question asks whether one particular population is more variable, use a one-tailed test with that population's variance on top. If it asks whether the variances differ, use a two-tailed test with the larger variance on top and half the level. Decide before calculating.
Why test variances before means
Some methods for comparing two means assume the populations have equal variances. An F-test checks this assumption. If the variances seem equal, the variances can be pooled. If not, another method is needed. This makes the F-test a useful first step.
Degrees of freedom follow the variance
After deciding which variance goes on top, the numerator degrees of freedom are those of that sample. It is easy to compute the ratio correctly and then use the degrees of freedom in the original order. Write the ratio and its degrees of freedom together to avoid this slip.
Interpreting the result
Rejecting the null hypothesis means there is evidence that one population is more variable than the other. In context, this might mean one machine is less consistent, or one teaching method gives more varied results. Not rejecting means the data are consistent with equal variances, not that they are proved equal.
Large ratios from small samples
With small samples, sample variances vary a lot, so even large ratios may not be significant. The critical values for small degrees of freedom are large. This reflects how hard it is to compare variances without plenty of data.
Choosing which sample is first
For a one-tailed test, the sample named in the alternative hypothesis as more variable goes on top. If its variance happens to be the smaller one, the ratio is less than 1 and the test cannot reject. That is a correct outcome: the data do not support the claim in the stated direction.
A test before a test
When a later method needs equal variances, the F-test acts as a check. If it rejects, the later method should be replaced. If it does not reject, the assumption is reasonable, although not proved. This kind of preliminary check is common in applied statistics.
F-tests in experiments
Experiments comparing two methods often care about both average and spread. A new method that improves the average but makes results erratic may not be worth adopting. The F-test provides the evidence about spread, complementing the tests for means from the previous chapter.
Worked example 9: a one-tailed F-test
Sample A of 9 has , and sample B of 11 has , from normal populations. Test at the 5% level whether population A is more variable.
| Working | Reason |
|---|---|
| with (8, 10) degrees of freedom | Put A on top, as the claim is about A |
| Critical value | Read the one-tailed five percent point |
| : do not reject; no evidence A is more variable | Compare and conclude in context |
Stating hypotheses for an F-test
Write the hypotheses about the population variances, not the sample variances. The sample variances are known; the question is what they suggest about the populations. Naming which population is which, such as machine A and machine B, makes the conclusion easy to state in context.
Worked example 10: a two-tailed F-test
Using the same samples, test at the 5% level whether the population variances differ.
| Working | Reason |
|---|---|
| , larger variance on top | The ratio is at least one |
| Critical value | Use half the level for two tails |
| : do not reject | No evidence that the variances differ |
Check yourself. Sample sizes 16 and 13 give sample variances 3.2 and 5.1. Calculate the F statistic with the larger variance on top, and its degrees of freedom.
Show the answer
The larger variance, 5.1, comes from the sample of 13, so . Its degrees of freedom are 12 for the numerator and 15 for the denominator, following the samples.
Section 6
Assumptions and their limits
Normality is essential
The chi-squared and F results for variances hold only for normal populations. If the data are skewed or have heavy tails, the true distribution of the statistic can differ greatly from the tables. The tests may then reject far too often or too rarely, even with large samples.
Common mistake: applying the variance tests to clearly non-normal data. Unlike tests for means, these tests do not become reliable just because the sample is large. They depend on the shape of the population, so normality must be reasonable before they are used.
Checking normality
A histogram or a dot plot of the data can show whether normality is reasonable. A roughly symmetric, single-peaked shape with no extreme outliers supports it. Many measurements of physical quantities are close to normal. Waiting times and incomes are usually skewed.
Independence
The tests also assume independent observations within each sample, and independent samples for the F-test. Measurements on the same items, or observations that influence each other, break this assumption. Check how the data were collected.
What to do if assumptions fail
If normality is doubtful, the results of these tests should be treated with caution. More advanced methods exist that do not rely on normality. In examinations, you may be asked to state the assumption, or to comment on whether it is reasonable from a description of the data.
Stating assumptions in answers
When asked for assumptions, name them clearly: the populations are normal, and the samples are random and independent. Then, if relevant, say whether they seem reasonable in context. A short, precise statement earns the marks.
Consistency and quality control
Manufacturers monitor both the mean and the variance of their products. A process can drift in average, in spread, or both. Variance tests detect changes in spread, which can be just as costly as changes in the mean. They are an important part of quality control.
Robustness
A method is robust if it still works reasonably well when its assumptions are not quite met. Tests for means are fairly robust to non-normality. Tests for variances are not. This difference is one of the most important practical lessons of this chapter.
Outliers and variance
A single extreme value can inflate a sample variance dramatically, because deviations are squared. Before testing a variance, look for outliers and check whether they are genuine. An outlier caused by a recording error can make a consistent process look erratic.
Reporting a variance test
A full report gives the hypotheses, the statistic, its degrees of freedom, the critical value or p-value, the decision and a conclusion in context. It also names the normality assumption. Readers can then judge both the result and whether the method suited the data.
Worked example 11: checking equal variances
Samples of 13 and 16 have variances 5.1 and 3.2. Test at the 5% level whether the population variances differ, before comparing the means.
| Working | Reason |
|---|---|
| with (12, 15) degrees of freedom | Larger variance on top |
| Critical value | Two-tailed test at five percent |
| : no evidence of different variances | Equal variances seem reasonable |
Assumptions in examination answers
When a question asks for assumptions, give the specific ones for the method used. For a single variance, the population is normal and the sample is random. For an F-test, both populations are normal and the samples are independent. Vague answers, such as the data are accurate, do not earn the mark.
When normality is plausible
Measurements produced by many small independent effects, such as manufacturing tolerances or biological sizes, are often close to normal. Counts, times until an event and quantities with a hard lower limit are often skewed. Knowing which kinds of data tend to be normal helps judge when these tests are safe.
Worked example 12: an interval for a standard deviation
A sample of 15 has . Find a 90% confidence interval for .
| Working | Reason |
|---|---|
| and | Divide by the five percent points |
| Interval for : | The larger value gives the lower limit |
| Interval for : | Take square roots of both limits |
Check yourself. A sample of 30 has . Calculate the statistic for testing , and state the assumption needed.
Show the answer
The statistic is , on 29 degrees of freedom. The test assumes the population is normal, and the result could be unreliable if the data are clearly skewed.
Reference
Results in this chapter
| Result | What it says | When to use it | In the formula booklet? |
|---|---|---|---|
| Distribution of a sample variance | One variance | Yes | |
| Test statistic | Testing a variance | Claims about spread | No, learn it |
| Interval for | Estimating spread | No, learn it | |
| Ratio of variances | Comparing two variances | Yes | |
| Lower F values | Lower tails | Yes | |
| Normal populations | Key assumption | Every test in this chapter | No, learn it |
Reasoning
Proof workshop: the lower critical value of F
The claim
For the F distribution,
so lower critical values come from upper ones with the degrees of freedom swapped.
Strategy
Use the fact that if follows , then its reciprocal follows , because turning the ratio upside down swaps the roles of the two samples. Then write the lower-tail probability for as an upper-tail probability for its reciprocal.
The key insight is that taking reciprocals reverses inequalities between positive numbers. A small value of is a large value of .
The proof
Let with independent chi-squared variables and . Then , which follows . For any positive ,
Choosing makes the right-hand side equal to . So is the value with probability below it, which is the lower critical value .
Checking every step
Turning a ratio of two independent scaled chi-squared variables upside down gives the same kind of ratio with the parts swapped. So its distribution has the degrees of freedom in the other order. Both sides of each inequality are positive, so taking reciprocals reverses the direction correctly.
A numerical check uses worked example 8. The upper 2.5% point of is 4.295, so the lower 2.5% point of is . A calculator confirms that 2.5% of lies below 0.233.
The result is why F tables need only upper critical values. It also explains why putting the larger variance on top is equivalent to using the lower critical value with the original order: both reject exactly the same samples.
Your turn
Use the result to find the lower 5% critical value of , given .
Show a model proof
Swap the degrees of freedom and take the reciprocal: . So 5% of the distribution lies below 0.244.
Practice
Practice ladder
Rung 1: Recall and fluency
Q1. A sample of 16 from a normal population has . Calculate the statistic for testing .
Worked solution to Q1
Multiply the sample variance by to recover the sum of squared deviations, then divide by the claimed variance. This gives , on 15 degrees of freedom.
Q2. Write down the upper 5% critical value of the chi-squared distribution with 15 degrees of freedom.
Worked solution to Q2
Reading the 5% upper-tail column of the chi-squared tables for 15 degrees of freedom gives 24.996. A statistic above this value lies in the upper 5% critical region.
Q3. Using Q1 and Q2, decide at the 5% level whether the variance exceeds 2.
Worked solution to Q3
The statistic 26.25 is greater than the critical value 24.996, so it lies in the critical region. Reject the null hypothesis: there is evidence that the population variance is greater than 2.
Rung 2: Application
Q4. Construct a 90% confidence interval for from the sample in Q1.
Worked solution to Q4
The sum of squared deviations is 52.5, and the 5% points for 15 degrees of freedom are 7.261 and 24.996. Dividing by the larger gives 2.100 and by the smaller gives 7.230, so the interval is .
Q5. State the upper 5% critical value of .
Worked solution to Q5
Use the 5% table, reading column 6 for the numerator and row 9 for the denominator. This gives , with the numerator degrees of freedom first.
Q6. Determine the lower 5% critical value of .
Worked solution to Q6
Use the reciprocal rule, swapping the degrees of freedom: the lower value is . This gives 0.244, so 5% of the distribution lies below it.
Rung 3: Analysis
Q7. Samples of 7 and 10 have variances 2.1 and 6.3. Test at the 5% level whether the second population is more variable.
Worked solution to Q7
Put the second variance on top, as the claim concerns it: with (9, 6) degrees of freedom. The critical value is larger, so there is no evidence that the second population is more variable.
Q8. Twenty-five measurements give . Test at the 5% level whether the population variance is less than 1.
Worked solution to Q8
The statistic is , and the lower 5% point for 24 degrees of freedom is 13.848. Since 12 is below it, reject the null hypothesis: there is evidence that the variance is less than 1.
Q9. In Q8, compute the statistic that would result from wrongly using in place of .
Worked solution to Q9
Using the sample size instead gives , which overstates the sum of squared deviations. With the wrong degrees of freedom as well, the comparison with the tables would no longer be valid.
Rung 4: Stretch
Q10. Ten observations give . Calculate a 95% confidence interval for .
Worked solution to Q10
The interval for the variance is , from dividing 57.6 by 19.023 and by 2.700. Taking square roots of both limits gives the interval for the standard deviation, .
Q11. Write down the upper critical value used for a two-tailed F-test at 10% with 12 and 15 degrees of freedom.
Worked solution to Q11
A two-tailed test at 10% puts 5% in the upper tail when the larger variance is on top. So read the 5% table at column 12 and row 15, which gives 2.475.
Q12. Explain why, for 29 degrees of freedom, a statistic of 52.2 is strong evidence of a larger variance, given the upper 5% point 42.557.
Worked solution to Q12
The statistic 52.2 is well above the upper 5% critical value 42.557, so it lies deep in the critical region. Under the null hypothesis the statistic would average 29, so 52.2 is far larger than expected, which is strong evidence of a larger variance.
Exam practice
Exam technique and worked answer workshop
How these questions are marked
M1 marks go to the statistic or the ratio of variances, to choosing the right tail and to the interval formula. A1 marks go to correct values. B1 marks go to hypotheses, critical values with degrees of freedom, assumptions and conclusions in context.
State the degrees of freedom with every critical value. For F-tests, put the larger variance on top and say so. Mention the normality assumption whenever a question asks about validity.
Exam question 1 (7 marks · Paper 4 · about 10 minutes)
A sample of 10 from a normal population has . Test at the 5% level whether the population variance exceeds 4. Repeat the test for a sample of 20 with the same sample variance, and comment. (7)
Mark scheme for exam question 1
, B1
Statistic M1
: do not reject A1
Statistic M1
Critical value B1
: reject A1
A larger sample gives stronger evidence from the same variance B1
Exam question 2 (6 marks · Paper 4 · about 8 minutes)
A process had variance 2.5. After a change, a sample of 12 gives . Test at the 5% level whether the variance has decreased. (6)
Mark scheme for exam question 2
, B1
Statistic M1
A1
Lower critical value 4.575 B1
, so reject M1
Evidence the variance has decreased A1
Exam question 3 (6 marks · Paper 4 · about 8 minutes)
A sample of 15 from a normal population has . Find a 95% confidence interval for , and comment on a claim that . (6)
Mark scheme for exam question 3
B1
Critical values 5.629 and 26.119 B1
Divides by the larger for the lower limit M1
A1
1 lies outside the interval M1
So the claim is not supported at the 5% level A1
Exam question 4 (6 marks · Paper 4 · about 8 minutes)
Prove that . Use the result to find the lower 2.5% critical value of given that . (6)
Mark scheme for exam question 4
follows B1
M1
Sets M1
Obtains the result A1
M1
A1
Exam question 5 (7 marks · Paper 4 · about 10 minutes)
Sample A of 9 has and sample B of 11 has , from normal populations. Test at the 5% level whether the population variances differ, and state the assumptions you have made. (7)
Mark scheme for exam question 5
, B1
M1
A1
Degrees of freedom (8, 10) B1
Critical value A1
: no evidence the variances differ A1
Normal populations and independent random samples B1
Exam question 6 (6 marks · Paper 4 · about 8 minutes)
Samples of 13 and 16 have variances 5.1 and 3.2. Test at the 5% level whether the first population is more variable than the second. (6)
Mark scheme for exam question 6
B1
M1
Degrees of freedom (12, 15) A1
Critical value 2.475 B1
M1
No evidence the first population is more variable A1
Exam question 7 (6 marks · Paper 4 · about 8 minutes)
A sample of 20 has . Test at the 5% level whether the population variance differs from 0.4. (6)
Mark scheme for exam question 7
B1
Statistic M1
A1
Critical values 8.907 and 32.852 B1
The statistic lies between them M1
Do not reject: no evidence the variance differs from 0.4 A1
Exam question 8 (5 marks · Paper 4 · about 7 minutes)
Waiting times at a clinic are recorded for 30 patients, giving hours squared. Calculate the statistic for testing , and discuss whether a chi-squared test is appropriate for waiting times. (5)
Mark scheme for exam question 8
Statistic M1
A1
The test requires a normal population B1
Waiting times are usually skewed B1
So the result may be unreliable B1
Annotated model answer: exam question 2
The hypotheses are and . B1. The statistic is , M1, which equals 3.96. A1. For a decrease, use the lower tail: the 5% point with 11 degrees of freedom is 4.575. B1.
Since , M1, reject the null hypothesis. There is evidence at the 5% level that the change has reduced the variance of the process. A1.
Annotated model answer: exam question 5
The hypotheses are and . B1. Putting the larger variance on top, , M1, which is 2.604. A1. The degrees of freedom are 8 and 10. B1. For a two-tailed test at 5%, the critical value is . A1.
Since , there is no evidence that the population variances differ. A1. The test assumes both populations are normal and the samples are independent and random. B1.
Connections
Synoptic link
Estimation, confidence intervals and normal tests introduced the unbiased sample variance tested here. Chi-squared tests used the same distribution to compare counts with a model.
The t-distribution combines the chi-squared distribution with the normal to handle means with unknown variances. Combinations of normal random variables explains the independence that the F-test relies on.
Synoptic question 1. Explain why a test for a mean can be used with non-normal data when the sample is large, but a test for a variance cannot.
Answer to synoptic question 1
The central limit theorem makes the sample mean approximately normal for large samples, whatever the population. No such result rescues the sample variance, whose distribution depends on the population's shape. So variance tests need a normal population at any sample size.
Recap
Recap and next step
- For normal samples, follows .
- Test a variance with , using the tail that matches the alternative.
- The interval for divides by the upper value for the lower limit.
- The ratio of two sample variances follows when the population variances are equal.
- Put the larger variance on top; lower F values use the reciprocal rule with swapped degrees of freedom.
- All these methods need normal populations.
Next chapter: The t-distribution, which tests and estimates means when the variance is unknown and the sample is small.
For your exam board
This chapter covers Pearson Edexcel A Level Further Mathematics (9FM0) Further Statistics 2 section 6: the chi-squared distribution for the variance of a normal sample, hypothesis tests and confidence intervals for a variance, the F distribution, and the F-test for equality of two variances. It is assessed on Paper 4B, Further Statistics 2. Similar content appears in AQA (7367) and OCR (H245) statistics options.