This University statistical inference worksheet with answers has 20 questions for pupils aged 18-19, from short skills practice to real-life problems. The worked answers are on a separate page, so you can try every question first.
Question 1 β Sample mean, variance and standard error (Section A Β· Skills practice)
A random sample of 8 values is: 12, 15, 11, 18, 14, 16, 13, 17.
- Find the sample mean \(\bar x\). [1 mark]
- Find the sample variance \(s^2=\dfrac1{n-1}\sum(x_i-\bar x)^2\) and the standard deviation \(s\). [3 marks]
- Find the estimated standard error of the mean. [2 marks]
- Explain why we divide by \(n-1\) and not by \(n\). [2 marks]
Question 2 β The sampling distribution of the mean (Section A Β· Skills practice)
A population has mean \(\mu=40\) and standard deviation \(\sigma=10\). Samples of size \(n=25\) are taken.
- State the approximate distribution of \(\bar X\) and justify it. [2 marks]
- Find \(P(\bar X>43)\). [2 marks]
- Find \(P(38\lt \bar X<42)\). [2 marks]
- How large must \(n\) be for the standard error to be at most 1? [2 marks]
Question 3 β Confidence intervals (Section A Β· Skills practice)
Find a 95% confidence interval in each case.
- \(\sigma=6\) known, \(n=36\), \(\bar x=72.4\). [2 marks]
- A normal population, \(n=10\), \(\bar x=15.2\), \(s=2.1\). [3 marks]
- 84 successes in a sample of 200 (a proportion). [3 marks]
Question 4 β Tests for a mean (Section A Β· Skills practice)
Carry out each test, stating the hypotheses and the conclusion.
- \(H_0:\mu=500\) against \(H_1:\mu\ne500\) with \(\sigma=20\), \(n=16\), \(\bar x=509\), at the 5% level. [3 marks]
- The same data with \(H_1:\mu>500\). [2 marks]
- A normal sample with \(n=12\), \(\bar x=4.6\), \(s=0.9\): test \(H_0:\mu=4\) against \(H_1:\mu\ne4\) at 5%. [3 marks]
Question 5 β A chi-squared goodness-of-fit test (Section A Β· Skills practice)
A die is rolled 120 times.
Score 1 2 3 4 5 6 Observed 25 17 15 23 24 16 - State the hypotheses and the expected frequencies. [2 marks]
- Calculate \(\chi^2=\sum\dfrac{(O-E)^2}E\). [3 marks]
- Test at the 5% level. [2 marks]
Question 6 β Correlation and the regression line (Section A Β· Skills practice)
Five pairs of data are given.
\(x\) 1 2 3 4 5 \(y\) 3 5 6 8 9 - Find \(S_{xx}\), \(S_{xy}\) and \(S_{yy}\). [3 marks]
- Find the least-squares line \(y=a+bx\). [2 marks]
- Find the correlation coefficient \(r\) and comment. [2 marks]
Question 7 β Battery life of a new phone (Section B Β· Real-life practice)
A consumer magazine tests 40 phones of a new model. The mean battery life is \(\bar x=18.6\) hours with standard deviation \(s=2.5\) hours. The manufacturer advertises "20 hours of battery".
- Find a 95% confidence interval for the mean battery life.
- Does the interval support the advert? Explain.
- Find a 99% interval and explain why it is wider.
- How many phones should be tested to estimate the mean to within \(\pm0.5\) hours with 95% confidence?
Question 8 β Is the coffee machine giving short measures? (Section B Β· Real-life practice)
A cafΓ©'s coffee machine is set to pour 250 ml. The volume poured is normal with \(\sigma=8\) ml. The manager measures 25 cups and finds a mean of \(246.5\) ml.
- State suitable hypotheses.
- Calculate the test statistic and the \(p\)-value.
- Give conclusions at the 5% and at the 1% levels.
- Explain in context what a Type I error would be.
Question 9 β An opinion poll before an election (Section B Β· Real-life practice)
In a random sample of 1 000 voters, 520 say they will vote for the Green candidate. A newspaper headline says "Green candidate set to win a majority".
- Find a 95% confidence interval for the proportion \(p\) of supporters.
- Test \(H_0:p=0.5\) against \(H_1:p>0.5\) at the 5% level.
- Is the headline justified?
- What sample size would give a margin of error of 2 percentage points?
Question 10 β Does the revision app work? (Section B Β· Real-life practice)
Eight students take a test, use a revision app for two weeks, then take a similar test. The improvements \(d=\) after \(-\) before are shown.
Student A B C D E F G H \(d\) 5 3 -1 6 4 2 7 2 - Explain why a paired test is appropriate.
- Find \(\bar d\) and \(s_d\).
- Test at the 5% level whether the mean improvement is positive.
- Suggest a weakness of this study design.
Question 11 β Comparing two production lines (Section B Β· Real-life practice)
Two production lines make the same component. Samples give the following lengths (in mm).
Line \(n\) Mean Standard deviation 1 50 12.4 1.5 2 60 11.8 1.8 - State hypotheses for a test of whether the mean lengths differ.
- Calculate the standard error of \(\bar X_1-\bar X_2\).
- Calculate the test statistic and the \(p\)-value.
- State your conclusion at the 5% and 10% levels.
Question 12 β Road accidents during the week (Section B Β· Real-life practice)
A council records 130 road accidents on weekdays over a year.
Day Mon Tue Wed Thu Fri Accidents 30 22 18 25 35 - State hypotheses for a test of whether accidents are equally likely on each weekday.
- Calculate the expected frequencies and \(\chi^2\).
- Carry out the test at the 5% level.
- Which day contributes most to \(\chi^2\), and what might explain it?
Question 13 β Ice cream sales and temperature (Section B Β· Real-life practice)
An ice cream van records the midday temperature and the number of ice creams sold on six summer days.
Temperature \(x\) (\(^\circ\)C) 14 16 20 23 26 29 Sales \(y\) 120 140 175 200 240 260 - Given \(S_{xx}=167.33\) and \(S_{xy}=1586.67\), find the regression line of \(y\) on \(x\).
- Interpret the gradient in context.
- Predict the sales at 25 \(^\circ\)C.
- Given \(S_{yy}=15120.8\), find \(r\).
- Would you use the line to predict sales at 5 \(^\circ\)C? Explain.
Question 14 β Quality control and the power of a test (Section B Β· Real-life practice)
Bags of flour should contain 100 g on average; the mass is normal with \(\sigma=4\) g. An inspector weighs 16 bags and tests \(H_0:\mu=100\) against \(H_1:\mu<100\) at the 5% level.
- Show that \(H_0\) is rejected when \(\bar x<98.36\).
- What is the probability of a Type I error?
- If in fact \(\mu=97\), find the probability of a Type II error.
- Find the power of the test when \(\mu=97\) and explain how it could be increased.
Question 15 β Exercise and sleep quality (Section C Β· Problem solving)
A health survey of 170 adults records their level of exercise and the quality of their sleep.
Low exercise Medium High Total Good sleep 20 35 45 100 Poor sleep 30 25 15 70 Total 50 60 60 170 - State the hypotheses for a test of independence.
- Show that the expected frequency for "good sleep, low exercise" is \(29.41\) and find the others.
- Calculate \(\chi^2\).
- Find the degrees of freedom and test at the 1% level.
- A journalist writes "exercise improves sleep". Comment.
Question 16 β The central limit theorem with dice (Section C Β· Problem solving)
A single fair die has mean \(\mu=3.5\) and variance \(\sigma^2=\dfrac{35}{12}\). A class repeatedly rolls 30 dice and records the mean score \(\bar X\). Out of 200 samples, the results were:
\(\bar X\) below 3 3 to 3.5 3.5 to 4 above 4 Frequency 11 91 86 12 - Show that \(\sigma^2=\dfrac{35}{12}\).
- State the approximate distribution of \(\bar X\).
- Find \(P(\bar X>4)\) and the expected number of samples above 4.
- Compare with the class results.
- Explain why the distribution of \(\bar X\) is close to normal although a single die is uniform.
Question 17 β Testing the strength of bridge cables (Section C Β· Problem solving)
An engineer tests six steel cables for a footbridge. The breaking loads (in kN) are below. The specification requires a mean breaking load above 50 kN. Assume the loads are normally distributed.
Cable 1 2 3 4 5 6 Load (kN) 52.1 49.8 51.5 50.6 48.9 51.3 - Calculate \(\bar x\) and \(s\).
- Find a 95% confidence interval for the mean breaking load.
- Test \(H_0:\mu=50\) against \(H_1:\mu>50\) at the 5% level.
- The engineer says "the cables are within specification". Is this justified? What would you recommend?
Question 18 β Correlation is not causation (Section C Β· Problem solving)
Over 10 summer weeks at a seaside resort, the number of ice creams sold and the number of lifeguard rescues give a sample correlation coefficient \(r=0.72\).
- To test \(H_0:\rho=0\) the statistic \(t=r\sqrt{\dfrac{n-2}{1-r^2}}\) has a \(t_{n-2}\) distribution. Calculate it.
- Test at the 5% level (two-sided).
- A local councillor suggests banning ice cream to reduce rescues. Explain the flaw.
- Name the likely lurking variable and describe a better analysis.
Question 19 β Planning a medical trial (Section C Β· Problem solving)
Researchers plan a study to detect whether a new diet lowers blood pressure by 2 mmHg on average. Individual changes have standard deviation \(\sigma=8\) mmHg. They will test \(H_0:\mu=0\) against \(H_1:\mu\ne0\) at the 5% level.
- For a sample of size \(n\), write the standard error and the rejection rule.
- For \(n=100\), find the power of the test when \(\mu=2\) (ignore the very small chance of rejecting in the wrong tail).
- Show that a power of 90% needs \(n\ge\left(\dfrac{(1.96+1.2816)\times8}{2}\right)^2\) and evaluate it.
- Explain the trade-off between the significance level, the power and the cost of the trial.
Question 20 β Challenge: why divide by n β 1? (Section D Β· Challenge)
Let \(X_1,\dots,X_n\) be independent with mean \(\mu\) and variance \(\sigma^2\), and let \(\bar X=\frac1n\sum X_i\).
- Show that \(E[\bar X]=\mu\) and \(\operatorname{Var}(\bar X)=\dfrac{\sigma^2}n\).
- Show that \(\sum(X_i-\bar X)^2=\sum X_i^2-n\bar X^2\).
- Using \(E[X_i^2]=\sigma^2+\mu^2\) and \(E[\bar X^2]=\dfrac{\sigma^2}n+\mu^2\), show that \(E\left[\sum(X_i-\bar X)^2\right]=(n-1)\sigma^2\).
- Deduce that \(S^2=\dfrac1{n-1}\sum(X_i-\bar X)^2\) is unbiased, and find the bias of the version with \(\frac1n\).
How to use this University statistical inference worksheet with answers
First, read the statistical inference lesson so that the methods are fresh in your mind. Then answer the questions in order, because they start easy and get harder. Show your working on paper; afterwards, compare it with the worksheet answers. If a question goes wrong, look back at the matching example before you try again. Finally, when you feel confident, try the statistical inference test or the quiz.
You can also download this University statistical inference worksheet with answers as a PDF and print it for homework. Moreover, all the pages of this chapter work together, so you can move between them at any time. For example, many pupils read the lesson on Monday, practise on Wednesday and test themselves on Friday. In short, this University statistical inference worksheet with answers prepares you well for the test.


















