Hard Further Maths Further hypothesis tests Questions
Challenging, exam-style Further Maths Further hypothesis tests questions with worked solutions. Stretch yourself on the hardest two-sample-t-test, difference-of-means, pooled-variance, test-statistic problems.
Ten examination scripts are each marked independently by two examiners. The mark given by examiner A is x and the mark given by examiner B to the same script is y. The values of x are x:61.7,60.5,57.9,56.2,61.8,66.7,59.2,66.1,59.0,61.8 and the corresponding values of y are y:63.3,58.5,57.4,54.3,62.6,65.6,58.1,66.1,58.0,61.4; the ith value of x and the ith value of y come from the same script, so that n=10. The observations are naturally paired, so the test is carried out on the differences d=x−y. The test statistic is t=sd/ndˉ−μd, where sd2 is the unbiased variance of the differences, and it has a t distribution with ν=n−1 degrees of freedom when H0 is true. The hypotheses are H0:μd=0againstH1:μd=0, where μd is the population mean of the differences. The test is carried out at the 10% significance level. This is a two-tailed test, so the critical value is the upper 5% point tcrit of the null distribution and H0 is rejected if and only if ∣t∣>tcrit. Do not round any intermediate value, and give every numerical answer correct to 3 decimal places. Calculate the value of the paired t test statistic, giving your answer to 3 decimal places.
Show worked solution
Worked solution
State the hypotheses
H0:μd=0againstH1:μd=0
The null hypothesis always states equality; the alternative encodes the claim being tested.
State the modelling assumption
D=X−Y∼N(μd,σd2)
The differences are assumed to be a random sample from a normal population.
Form the differences d=x−y
d:−1.6,2.0,0.5,1.9,−0.8,1.1,1.1,0.0,1.0,0.4
Pairing removes the between-unit variation, which is exactly why a paired test is more powerful here.
Find ∑d and ∑d2
∑d=5.6,∑d2=14.64
The two sums are all that is needed for the mean and the variance of the differences.
Find the mean of the differences
dˉ=105.6=0.56
This estimates the population mean difference μd.
Find Sdd
Sdd=∑d2−ndˉ2=14.64−10×(0.56)2=11.5040
This is the sum of the squared deviations of the differences about their mean.
Find the unbiased variance of the differences
sd2=n−1Sdd=911.5040=1.2782
Only ONE sample (the differences) is used, so only one degree of freedom is lost.
Find the standard deviation of the differences
sd=1.2782=1.1306
The square root of the unbiased variance estimates σd.
Find the number of degrees of freedom
ν=n−1=10−1=9
The paired test is a one-sample test on the n differences, so ν=n−1.
Find the standard error of dˉ
nsd=101.1306=0.3575
The mean of n differences has standard error sd/n.
Substitute into the test statistic
t=0.35750.56−0
The hypothesised mean difference is subtracted from dˉ before dividing by the standard error.
Recall the test statistic for a difference of means with known variances
z=n1σ12+n2σ22(xˉ1−xˉ2)−(μ1−μ2)
The variances of independent sample means add, which is why the two terms under the root are added.
Recall the pooled estimate of the common variance
sp2=n1+n2−2(n1−1)s12+(n2−1)s22
It is the weighted mean of the two unbiased sample variances, each weighted by its own degrees of freedom.
Recall the pooled two-sample t statistic
t=spn11+n21(xˉ−yˉ)−(μ1−μ2)
The pooled standard deviation replaces the unknown common σ.
Recall the degrees of freedom of a pooled two-sample t-test
ν=n1+n2−2
One degree of freedom is lost for each of the two sample means used in the variance estimate.
Evaluate the test statistic
t=1.566
This is t correct to 3 decimal places, on ν=9 degrees of freedom.
Answer
t=1.566
Question 2
9 markschallenging
A company claims that its warehouse staff work, on average, exactly 2 hours per week more than its office staff. The weekly hours worked by a warehouse worker are normally distributed with mean μ1 and those worked by an office worker are normally distributed with mean μ2; both variances are known from many years of payroll records. The population variances are known from long experience. The summary statistics of the two independent random samples are n1=60,xˉ1=32.4,σ12=25;n2=60,xˉ2=28.9,σ22=20.25. Because both population variances are known, the test statistic is z=n1σ12+n2σ22(xˉ1−xˉ2)−(μ1−μ2), which has the standard normal distribution when H0 is true. The hypotheses are H0:μ1−μ2=2againstH1:μ1−μ2=2. The test is carried out at the 10% significance level. This is a two-tailed test, so the critical value is the upper 5% point zcrit of the null distribution and H0 is rejected if and only if ∣z∣>zcrit. Do not round any intermediate value, and give every numerical answer correct to 3 decimal places. Calculate the value of the test statistic z, giving your answer to 3 decimal places.
Show worked solution
Worked solution
State the hypotheses
H0:μ1−μ2=2againstH1:μ1−μ2=2
The null hypothesis always states equality; the alternative encodes the claim being tested.
State the modelling assumptions
Xˉ1−Xˉ2∼N(μ1−μ2,n1σ12+n2σ22)
Independent normal samples make the difference of the sample means exactly normal.
Find the standard error of xˉ1−xˉ2
6025+6020.25=0.7542=0.8684
The variances of the two independent sample means are added, then square rooted.
Substitute into the test statistic
z=0.8684(32.4−28.9)−2
The hypothesised difference is subtracted before dividing by the standard error.
Recall the test statistic for a difference of means with known variances
z=n1σ12+n2σ22(xˉ1−xˉ2)−(μ1−μ2)
The variances of independent sample means add, which is why the two terms under the root are added.
Recall the pooled estimate of the common variance
sp2=n1+n2−2(n1−1)s12+(n2−1)s22
It is the weighted mean of the two unbiased sample variances, each weighted by its own degrees of freedom.
Recall the pooled two-sample t statistic
t=spn11+n21(xˉ−yˉ)−(μ1−μ2)
The pooled standard deviation replaces the unknown common σ.
Recall the degrees of freedom of a pooled two-sample t-test
ν=n1+n2−2
One degree of freedom is lost for each of the two sample means used in the variance estimate.
Recall the paired t statistic
t=sd/ndˉ−μd,ν=n−1
A paired test reduces the two samples to the single sample of differences.
Recall the unbiased sample variance
s2=n−1Sxx,Sxx=∑x2−nxˉ2
Dividing by n−1 rather than n makes the estimator unbiased.
Recall the F statistic for comparing two variances
F=smaller s2larger s2≥1
Putting the larger variance on top means only the upper tail of the F distribution is ever needed.
Recall the degrees of freedom of the F statistic
F∼F(ν1,ν2),νi=ni−1
The numerator degrees of freedom belong to the sample with the larger variance.
Note the modelling assumptions
X∼N(μ1,σ12),Y∼N(μ2,σ22)
Both populations are normal and the samples are independent random samples.
Note the effect of a two-tailed test on the critical value
21α in each tail
A two-tailed test splits the significance level equally between the two tails.
Note why the difference of the sample means is used
E(Xˉ−Yˉ)=μ1−μ2
The difference of the sample means is an unbiased estimator of the difference of the population means.
Note the variance of the difference of two independent sample means
Var(Xˉ−Yˉ)=n1σ12+n2σ22
Independence lets the two variances be added, even though the means are subtracted.
Evaluate the test statistic
z=1.727
This is z correct to 3 decimal places.
Answer
z=1.727
Question 3
9 markschallenging
A meteorologist records the daily rainfall, in millimetres, at station A (values x) and at station B (values y) on independent randomly chosen days. It is claimed that the rainfall at station A is more variable than the rainfall at station B. The observations from the first sample are x:26.6,18.6,28.2,19.5,22.2,21.5,22.2,31.7,14.7,26.4 and those from the second sample are y:23.0,23.0,19.3,23.6,24.4,22.7,20.6,22.7,18.5,24.9, so that n1=10 and n2=10. Both populations are assumed to be normally distributed and the samples are independent. The test statistic is F=smaller sample variancelarger sample variance, with ν1 one less than the size of the sample having the larger variance and ν2 one less than the size of the other sample. The hypotheses are H0:σ12=σ22againstH1:σ12>σ22. The test is carried out at the 5% significance level. This is a one-tailed test. The larger sample variance is placed on top, so the critical value is the upper 5% point Fcrit=F5%(ν1,ν2) and H0 is rejected if and only if F>Fcrit. Do not round any intermediate value, and give every numerical answer correct to 3 decimal places. Calculate the value of the test statistic F, giving your answer to 3 decimal places.
Show worked solution
Worked solution
State the hypotheses
H0:σ12=σ22againstH1:σ12>σ22
The null hypothesis always states equality; the alternative encodes the claim being tested.
Find ∑x for the sample of size 10
∑x=231.6
Adding the raw values is the first step towards the sample mean.
Find ∑x2 for that sample
∑x2=5594.88
The sum of squares is needed for the unbiased variance.
Find the mean of the x sample
xˉ=10231.6=23.16
The sample mean is the sum of the values divided by the sample size.
Find Sxx
Sxx=∑x2−nxˉ2=5594.88−10×(23.16)2=231.0240
Using ∑x2−nxˉ2 avoids computing every deviation separately.
Find the unbiased variance s12
s12=9Sxx=25.6693
Dividing the sum of squares by n−1 gives the unbiased estimate of the population variance.
Find ∑y for the sample of size 10
∑y=222.7
Adding the raw values is the first step towards the sample mean.
Find ∑y2 for that sample
∑y2=5000.01
The sum of squares is needed for the unbiased variance.
Find the mean of the y sample
yˉ=10222.7=22.27
The sample mean is the sum of the values divided by the sample size.
Find Syy
Syy=∑y2−nyˉ2=5000.01−10×(22.27)2=40.4810
Using ∑y2−nyˉ2 avoids computing every deviation separately.
Find the unbiased variance s22
s22=9Syy=4.4979
Dividing the sum of squares by n−1 gives the unbiased estimate of the population variance.
Identify the larger and the smaller sample variance
larger=25.6693(sample A),smaller=4.4979
The larger variance always goes on top, so that F≥1 and only the upper tail is needed.
Find the degrees of freedom
ν1=10−1=9,ν2=10−1=9
The numerator degrees of freedom belong to sample A, which has the larger variance.
Substitute into the F statistic
F=4.497925.6693
The statistic is the ratio of the two unbiased variance estimates.
Recall the test statistic for a difference of means with known variances
z=n1σ12+n2σ22(xˉ1−xˉ2)−(μ1−μ2)
The variances of independent sample means add, which is why the two terms under the root are added.
Evaluate the F statistic
F=5.707
This is F correct to 3 decimal places, on (9,9) degrees of freedom.
Answer
F=5.707
Question 4
9 markschallenging
A drug company claims that its new tablet lowers systolic blood pressure, in millimetres of mercury, by exactly 2 units on average. Ten patients each have their blood pressure measured before treatment (x) and after treatment (y), and the claim is tested using the differences d=x−y. The values of x are x:156.0,141.2,160.0,161.2,155.5,151.1,164.2,157.7,158.0,140.0 and the corresponding values of y are y:155.0,139.0,158.6,157.7,155.0,147.9,160.7,155.0,157.5,139.5; the ith value of x and the ith value of y come from the same patient, so that n=10. The observations are naturally paired, so the test is carried out on the differences d=x−y. The test statistic is t=sd/ndˉ−μd, where sd2 is the unbiased variance of the differences, and it has a t distribution with ν=n−1 degrees of freedom when H0 is true. The hypotheses are H0:μd=2againstH1:μd=2, where μd is the population mean of the differences. The test is carried out at the 5% significance level. This is a two-tailed test, so the critical value is the upper 2.5% point tcrit of the null distribution and H0 is rejected if and only if ∣t∣>tcrit. Do not round any intermediate value, and give every numerical answer correct to 3 decimal places. Calculate the value of the paired t test statistic, giving your answer to 3 decimal places.
Show worked solution
Worked solution
State the hypotheses
H0:μd=2againstH1:μd=2
The null hypothesis always states equality; the alternative encodes the claim being tested.
State the modelling assumption
D=X−Y∼N(μd,σd2)
The differences are assumed to be a random sample from a normal population.
Form the differences d=x−y
d:1.0,2.2,1.4,3.5,0.5,3.2,3.5,2.7,0.5,0.5
Pairing removes the between-unit variation, which is exactly why a paired test is more powerful here.
Find ∑d and ∑d2
∑d=19.0,∑d2=50.58
The two sums are all that is needed for the mean and the variance of the differences.
Find the mean of the differences
dˉ=1019.0=1.9
This estimates the population mean difference μd.
Find Sdd
Sdd=∑d2−ndˉ2=50.58−10×(1.9)2=14.4800
This is the sum of the squared deviations of the differences about their mean.
Find the unbiased variance of the differences
sd2=n−1Sdd=914.4800=1.6089
Only ONE sample (the differences) is used, so only one degree of freedom is lost.
Find the standard deviation of the differences
sd=1.6089=1.2684
The square root of the unbiased variance estimates σd.
Find the number of degrees of freedom
ν=n−1=10−1=9
The paired test is a one-sample test on the n differences, so ν=n−1.
Find the standard error of dˉ
nsd=101.2684=0.4011
The mean of n differences has standard error sd/n.
Substitute into the test statistic
t=0.40111.9−2
The hypothesised mean difference is subtracted from dˉ before dividing by the standard error.
Recall the test statistic for a difference of means with known variances
z=n1σ12+n2σ22(xˉ1−xˉ2)−(μ1−μ2)
The variances of independent sample means add, which is why the two terms under the root are added.
Recall the pooled estimate of the common variance
sp2=n1+n2−2(n1−1)s12+(n2−1)s22
It is the weighted mean of the two unbiased sample variances, each weighted by its own degrees of freedom.
Recall the pooled two-sample t statistic
t=spn11+n21(xˉ−yˉ)−(μ1−μ2)
The pooled standard deviation replaces the unknown common σ.
Recall the degrees of freedom of a pooled two-sample t-test
ν=n1+n2−2
One degree of freedom is lost for each of the two sample means used in the variance estimate.
Recall the paired t statistic
t=sd/ndˉ−μd,ν=n−1
A paired test reduces the two samples to the single sample of differences.
Evaluate the test statistic
t=−0.249
This is t correct to 3 decimal places, on ν=9 degrees of freedom.
Answer
t=−0.249
Question 5
9 markschallenging
Twelve fields are each sown with the same crop in two successive years. The yield, in tonnes, of a field in the first year is x and the yield of the same field in the second year, after the fertiliser was changed, is y. It is claimed that the yields fell in the second year. The values of x are x:48.4,53.5,51.2,44.2,43.2,42.0,48.1,41.2,55.1,46.8,49.4,44.7 and the corresponding values of y are y:44.8,50.2,49.1,43.3,41.5,40.7,44.3,40.2,53.7,43.3,47.6,41.5; the ith value of x and the ith value of y come from the same plot, so that n=12. The observations are naturally paired, so the test is carried out on the differences d=x−y. The test statistic is t=sd/ndˉ−μd, where sd2 is the unbiased variance of the differences, and it has a t distribution with ν=n−1 degrees of freedom when H0 is true. The hypotheses are H0:μd=0againstH1:μd>0, where μd is the population mean of the differences. The test is carried out at the 5% significance level. This is a one-tailed test with the critical region in the upper tail, so the critical value is the upper 5% point tcrit of the null distribution and H0 is rejected if and only if t>tcrit. Do not round any intermediate value, and give every numerical answer correct to 3 decimal places. Calculate the value of the paired t test statistic, giving your answer to 3 decimal places.
Show worked solution
Worked solution
State the hypotheses
H0:μd=0againstH1:μd>0
The null hypothesis always states equality; the alternative encodes the claim being tested.
State the modelling assumption
D=X−Y∼N(μd,σd2)
The differences are assumed to be a random sample from a normal population.
Form the differences d=x−y
d:3.6,3.3,2.1,0.9,1.7,1.3,3.8,1.0,1.4,3.5,1.8,3.2
Pairing removes the between-unit variation, which is exactly why a paired test is more powerful here.
Find ∑d and ∑d2
∑d=27.6,∑d2=76.78
The two sums are all that is needed for the mean and the variance of the differences.
Find the mean of the differences
dˉ=1227.6=2.3
This estimates the population mean difference μd.
Find Sdd
Sdd=∑d2−ndˉ2=76.78−12×(2.3)2=13.3000
This is the sum of the squared deviations of the differences about their mean.
Find the unbiased variance of the differences
sd2=n−1Sdd=1113.3000=1.2091
Only ONE sample (the differences) is used, so only one degree of freedom is lost.
Find the standard deviation of the differences
sd=1.2091=1.0996
The square root of the unbiased variance estimates σd.
Find the number of degrees of freedom
ν=n−1=12−1=11
The paired test is a one-sample test on the n differences, so ν=n−1.
Find the standard error of dˉ
nsd=121.0996=0.3174
The mean of n differences has standard error sd/n.
Substitute into the test statistic
t=0.31742.3−0
The hypothesised mean difference is subtracted from dˉ before dividing by the standard error.
Recall the test statistic for a difference of means with known variances
z=n1σ12+n2σ22(xˉ1−xˉ2)−(μ1−μ2)
The variances of independent sample means add, which is why the two terms under the root are added.
Recall the pooled estimate of the common variance
sp2=n1+n2−2(n1−1)s12+(n2−1)s22
It is the weighted mean of the two unbiased sample variances, each weighted by its own degrees of freedom.
Recall the pooled two-sample t statistic
t=spn11+n21(xˉ−yˉ)−(μ1−μ2)
The pooled standard deviation replaces the unknown common σ.
Recall the degrees of freedom of a pooled two-sample t-test
ν=n1+n2−2
One degree of freedom is lost for each of the two sample means used in the variance estimate.
Evaluate the test statistic
t=7.246
This is t correct to 3 decimal places, on ν=11 degrees of freedom.
Answer
t=7.246
Unlock 29 more Further hypothesis tests questions
Create a free account to work through every Further Maths Further hypothesis tests question with instant step-by-step worked solutions, progress tracking and interactive lessons.