Maths4UBETA

Pooled variance and independent-sample t-tests

Weight two variance estimates by their degrees of freedom before comparing means.

Try the quick check →
Lesson 3 of 6

Section 1 of 6 · Core · about 6 min

When is pooling a justified choice?

Choose pooling for independent random samples from normal populations, given or justified a common unknown population variance.

Worked example

Identify the model from the sampling design

Two small independent random samples are normal, with a stated common unknown variance.

Which procedure matches this design?

  1. There are two independent normal samples and a common unknown population variance is assumed.

  2. The shared estimate weights each sample variance by its degrees of freedom. Divide the difference of sample means by sp1n1+1n2s_p\sqrt{\frac1{n_1}+\frac1{n_2}} after subtracting the null difference.

Worked example

Recover a variance using the two degrees-of-freedom weights

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=8, aˉ=18, sA2=92n_A=8,\ \bar a=18,\ s_A^2=\frac{9}{2} and nB=11, bˉ=17, sB2=165n_B=11,\ \bar b=17,\ s_B^2=\frac{16}{5}.

Find the pooled variance exactly and state the reference degrees of freedom.

Try it on paper first.

  1. A contributes 632\frac{63}{2} to the centred sum of squares. The combined degrees of freedom are 1717.

  2. Divide the combined centred sum 1272\frac{127}{2} by 1717 to obtain 12734\frac{127}{34}.

Your turn

Two small samples consist of before and after measurements on the same units; differences are normal.

Which procedure matches this design?

Appropriate method

Section 2 of 6 · Core · about 7 min

Why is the pooled estimate weighted?

Each sample variance is its own centred sum of squares divided by its degrees of freedom.

SampleCentred sum of squares
A(nA−1)sA2(n_A-1)s_A^2
B(nB−1)sB2(n_B-1)s_B^2

Worked example

Recover a variance using the two degrees-of-freedom weights

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=12, aˉ=615, sA2=4n_A=12,\ \bar a=\frac{61}{5},\ s_A^2=4 and nB=9, bˉ=475, sB2=92n_B=9,\ \bar b=\frac{47}{5},\ s_B^2=\frac{9}{2}.

Find the pooled variance exactly and state the reference degrees of freedom.

  1. A contributes 4444 to the centred sum of squares. The combined degrees of freedom are 1919.

  2. Divide the combined centred sum 8080 by 1919 to obtain 8019\frac{80}{19}.

Your turn

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=6, aˉ=12, sA2=4n_A=6,\ \bar a=12,\ s_A^2=4 and nB=10, bˉ=11, sB2=8n_B=10,\ \bar b=11,\ s_B^2=8.

Find the pooled variance exactly and state the reference degrees of freedom.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 3 of 6 · Core · about 8 min

How can I pool when only raw scores are given?

Calculate two separate sample means and centred sums before pooling. A mean difference can be part of what the test is testing.

Worked example

Recover a variance using the two degrees-of-freedom weights

Two small independent random samples are from normal populations with a common unknown variance.

Sample A gives 10,11,13,1410,\quad 11,\quad 13,\quad 14. Sample B gives 8,8,9,11,148,\quad 8,\quad 9,\quad 11,\quad 14.

Find the pooled variance and its degrees of freedom.

  1. After centring separately, the unbiased variances are 103\frac{10}{3} and 132\frac{13}{2}.

  2. A contributes 1010 to the centred sum of squares. The combined degrees of freedom are 77.

  3. Divide the combined centred sum 3636 by 77 to obtain 367\frac{36}{7}.

Your turn

Two small independent random samples are from normal populations with a common unknown variance.

Sample A gives 12,13,13,16,1612,\quad 13,\quad 13,\quad 16,\quad 16. Sample B gives 10,11,13,1410,\quad 11,\quad 13,\quad 14.

Find the pooled variance and its degrees of freedom.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 4 of 6 · Core · about 8 min

Which standard error belongs to the pooled statistic?

Once variances are pooled, the same variance multiplies the two reciprocal sample sizes.

Worked example

Use the alternative to select the reference tail

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=12, aˉ=615, sA2=4n_A=12,\ \bar a=\frac{61}{5},\ s_A^2=4 and nB=9, bˉ=475, sB2=92n_B=9,\ \bar b=\frac{47}{5},\ s_B^2=\frac{9}{2}.

Use μA−μB\mu_A-\mu_B for the population mean difference.

Test H0:μA−μB=0H_0:\mu_A-\mu_B=0 against H1:μA−μB>0H_1:\mu_A-\mu_B>0 at 55 per cent.

Give the statistic to 3 decimal places and the degrees of freedom.

  1. Use the upper tail specified by the alternative. The standard error calculation is sp2=8019,SE=8019(112+19)=266557s_p^2=\frac{80}{19},\quad \mathrm{SE}=\sqrt{\frac{80}{19}\left(\frac{1}{12}+\frac{1}{9}\right)}=\frac{2 \sqrt{665}}{57}.

  2. Standardise the observed estimate after subtracting the null value. This gives t=366525t=\frac{3 \sqrt{665}}{25}, or 3.0953.095 to 3 decimal places. Use t with 19 degrees of freedom.

  3. The p-value is 0.00300.0030 to 4 decimal places. It lies below the significance level, so reject the null.

Your turn

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=8, aˉ=18, sA2=92n_A=8,\ \bar a=18,\ s_A^2=\frac{9}{2} and nB=11, bˉ=17, sB2=165n_B=11,\ \bar b=17,\ s_B^2=\frac{16}{5}.

Use μA−μB\mu_A-\mu_B for the population mean difference.

Test H0:μA−μB=0H_0:\mu_A-\mu_B=0 against H1:μA−μB>0H_1:\mu_A-\mu_B>0 at 55 per cent.

Give the statistic to 3 decimal places and the degrees of freedom.

Round as requested in the label, or enter your calculator value. Decimal or fraction input is accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 5 of 6 · Core · about 7 min

How can I test a non-zero difference?

Take the observed difference minus the null difference before standardising. The statement of the question still fixes the tail.

Worked example

Use the alternative to select the reference tail

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=9, aˉ=16, sA2=4n_A=9,\ \bar a=16,\ s_A^2=4 and nB=12, bˉ=14, sB2=9n_B=12,\ \bar b=14,\ s_B^2=9.

Use μA−μB\mu_A-\mu_B for the population mean difference.

Test H0:μA−μB=1H_0:\mu_A-\mu_B=1 against H1:μA−μB>1H_1:\mu_A-\mu_B>1 at 55 per cent.

Give the test statistic to 3 decimal places and select the decision.

  1. Use the upper tail specified by the alternative. The standard error calculation is sp2=13119,SE=13119(19+112)=17423114s_p^2=\frac{131}{19},\quad \mathrm{SE}=\sqrt{\frac{131}{19}\left(\frac{1}{9}+\frac{1}{12}\right)}=\frac{\sqrt{17423}}{114}.

  2. Standardise the observed estimate after subtracting the null value. This gives t=617423917t=\frac{6 \sqrt{17423}}{917}, or 0.8640.864 to 3 decimal places. Use t with 19 degrees of freedom.

  3. The p-value is 0.19930.1993 to 4 decimal places. It lies above the significance level, so do not reject the null.

Your turn

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=10, aˉ=14, sA2=254n_A=10,\ \bar a=14,\ s_A^2=\frac{25}{4} and nB=11, bˉ=15, sB2=4n_B=11,\ \bar b=15,\ s_B^2=4.

Use μA−μB\mu_A-\mu_B for the population mean difference.

Test H0:μA−μB=1H_0:\mu_A-\mu_B=1 against H1:μA−μB<1H_1:\mu_A-\mu_B<1 at 55 per cent.

Give the test statistic to 3 decimal places and select the decision.

Round as requested in the label, or enter your calculator value. Decimal or fraction input is accepted.

Decision at the stated significance level

Section 6 of 6 · Extension · about 5 min

Can a pooled variance reveal an unknown contribution?

Multiply the pooled variance by the combined degrees of freedom to recover the total centred squares. Subtract the known contribution.

Worked example

Recover a variance using the two degrees-of-freedom weights

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=8, aˉ=18, sA2=92n_A=8,\ \bar a=18,\ s_A^2=\frac{9}{2} and nB=11, bˉ=17, sB2=unknownn_B=11,\ \bar b=17,\ s_B^2=\text{unknown}.

The pooled variance is 12734\frac{127}{34}. Find the unbiased variance of sample B exactly.

  1. A contributes 632\frac{63}{2} to the centred sum of squares. The combined degrees of freedom are 1717.

  2. Subtract A’s contribution to get 3232. Divide by 1010 to obtain 165\frac{16}{5}.

Your turn

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=7, aˉ=21, sA2=92n_A=7,\ \bar a=21,\ s_A^2=\frac{9}{2} and nB=13, bˉ=19, sB2=unknownn_B=13,\ \bar b=19,\ s_B^2=\text{unknown}.

The pooled variance is 173\frac{17}{3}. Find the unbiased variance of sample B exactly.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

Variance and standard deviation after pooling

2 marks

Independent samples of sizes 6,106,10 have unbiased variances 4,84,8. Their populations share an unknown variance. Find its pooled estimate and the corresponding estimate of the common standard deviation exactly.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Identify the model from the sampling design

Two independent small samples from normal populations have a common unknown variance.

Which procedure matches this design?

Appropriate method

Recover a variance using the two degrees-of-freedom weights

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=8, aˉ=19, sA2=5n_A=8,\ \bar a=19,\ s_A^2=5 and nB=9, bˉ=17, sB2=3n_B=9,\ \bar b=17,\ s_B^2=3.

Find the pooled variance exactly and state the reference degrees of freedom.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Recover a variance using the two degrees-of-freedom weights

Two small independent random samples are from normal populations with a common unknown variance.

Sample A gives 3,5,5,7,103,\quad 5,\quad 5,\quad 7,\quad 10. Sample B gives 1,3,4,51,\quad 3,\quad 4,\quad 5.

Find the pooled variance and its degrees of freedom.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Use the alternative to select the reference tail

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=11, aˉ=21, sA2=4n_A=11,\ \bar a=21,\ s_A^2=4 and nB=15, bˉ=19, sB2=9n_B=15,\ \bar b=19,\ s_B^2=9.

Use μA−μB\mu_A-\mu_B for the population mean difference.

Test H0:μA−μB=0H_0:\mu_A-\mu_B=0 against H1:μA−μB≠0H_1:\mu_A-\mu_B\ne0 at 55 per cent.

Give the statistic to 3 decimal places and the degrees of freedom.

Round as requested in the label, or enter your calculator value. Decimal or fraction input is accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Use the alternative to select the reference tail

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=6, aˉ=8, sA2=4n_A=6,\ \bar a=8,\ s_A^2=4 and nB=8, bˉ=11, sB2=9n_B=8,\ \bar b=11,\ s_B^2=9.

Use μA−μB\mu_A-\mu_B for the population mean difference.

Test H0:μA−μB=−1H_0:\mu_A-\mu_B=-1 against H1:μA−μB<−1H_1:\mu_A-\mu_B<-1 at 55 per cent.

Give the test statistic to 3 decimal places and select the decision.

Round as requested in the label, or enter your calculator value. Decimal or fraction input is accepted.

Decision at the stated significance level

Recover a variance using the two degrees-of-freedom weights

Independent random samples come from two normal populations with a common unknown variance. The summaries are nA=10, aˉ=16, sA2=112n_A=10,\ \bar a=16,\ s_A^2=\frac{11}{2} and nB=13, bˉ=15, sB2=unknownn_B=13,\ \bar b=15,\ s_B^2=\text{unknown}.

The pooled variance is 9714\frac{97}{14}. Find the unbiased variance of sample B exactly.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.