Skip to content

9231 · 4.2

Inference using normal and t-distributions — practice questions

Practice and worked examples for 9231 Inference using normal and t-distributions. Short previews only — attempt the full question in MarkScheme against the official scheme.

Worked example 1

A coffee machine is supposed to dispense a mean volume of 200 ml. The volume dispensed is believed to be normally distributed. A sample of 8 cups is taken, and the volumes are measured. The sample mean is found to be 197 ml, and the unbiased estimate of the population variance is s2=36 ml2s^2 = 36\text{ ml}^2. Test, at the 5% significance level, whether the mean volume dispensed is less than 200 ml.

Show solution outline

Let μ\mu be the population mean volume of coffee dispensed.
1. State Hypotheses:
H0:μ=200H_0: \mu = 200
H1:μ<200H_1: \mu < 200
This is a one-tailed test.\

2. Choose Distribution and Significance Level:
Population variance σ2\sigma^2 is unknown. Sample size n=8n=8 is small. The population is stated to be normal. Therefore, we use a t-distribution.
Significance level, α=0.05\alpha = 0.05.
Degrees of freedom, v=n1=81=7v = n - 1 = 8 - 1 = 7.\

3. Calculate the Test Statistic:
Sample mean, xˉ=197\bar{x} = 197.
Unbiased estimate of population variance, s2=36s^2 = 36, so s=36=6s = \sqrt{36} = 6.
Test statistic: T=xˉμ0s/n=1972006/8T = \frac{\bar{x} - \mu_0}{s/\sqrt{n}} = \frac{197 - 200}{6/\sqrt{8}}
T=36/2.828...=32.121...=1.414T = \frac{-3}{6/2.828...} = \frac{-3}{2.121...} = -1.414\

4. Find the Critical Value:
We need the critical value for a one-tailed test at the 5% level with 7 degrees of freedom. From t-distribution tables, t7(0.05)=1.895t_{7}(0.05) = 1.895. Since our test is for μ<200\mu < 200, the critical region is T<1.895T < -1.895.\

5. Make a Decision and Conclude:
Our calculated test statistic is T=1.414T = -1.414.
Since 1.414>1.895-1.414 > -1.895, the test statistic does not fall in the critical region.
Therefore, we do not reject H0H_0.
There is insufficient evidence at the 5% significance level to suggest that the mean volume of coffee dispensed is less than 200 ml.

Worked example 2

The reaction times of 50 randomly selected drivers are measured. The sample mean reaction time is 0.83 seconds. Assume the population standard deviation of reaction times is known to be 0.15 seconds. Calculate a 99% confidence interval for the mean reaction time of all drivers.

Show solution outline

Let μ\mu be the population mean reaction time.
1. Identify Information and Choose Distribution:
Sample mean, xˉ=0.83\bar{x} = 0.83.
Population standard deviation, σ=0.15\sigma = 0.15.
Sample size, n=50n = 50.
Confidence level = 99%.
Since the population standard deviation σ\sigma is known, we use the normal distribution.\

2. Find the Critical Value (zz^*):
For a 99% confidence interval, we have 1α=0.991 - \alpha = 0.99, so α=0.01\alpha = 0.01.
We need the z-value that leaves α/2=0.005\alpha/2 = 0.005 in each tail.
Looking up the value for a cumulative probability of 10.005=0.9951 - 0.005 = 0.995 in the normal distribution table gives z=2.576z^* = 2.576.\

3. Calculate the Margin of Error:
Standard Error (SE) = σn=0.15500.021213\frac{\sigma}{\sqrt{n}} = \frac{0.15}{\sqrt{50}} \approx 0.021213.
Margin of Error = z×SE=2.576×0.0212130.05466z^* \times \text{SE} = 2.576 \times 0.021213 \approx 0.05466.\

4. Construct the Interval:
CI = xˉ±\bar{x} \pm Margin of Error
CI = 0.83±0.054660.83 \pm 0.05466
CI = (0.830.05466,0.83+0.05466)(0.83 - 0.05466, 0.83 + 0.05466)
CI = (0.77534,0.88466)(0.77534, 0.88466)\

5. Conclude:
A 99% confidence interval for the mean reaction time is (0.775, 0.885) seconds (to 3 d.p.). We are 99% confident that the true mean reaction time for all drivers lies within this range.