Maths4U
Menu

Maths4U Original · Learn, check, explain

Coded data — 9709 S1

Transform means and variances and combine summaries.

Notes and key methods

If \(Y=aX+b\), then \(E(Y)=aE(X)+b\) and \(\operatorname{Var}(Y)=a^2\operatorname{Var}(X)\). Hence standard deviation scales by |a|; translation changes the mean but not the variance.

To combine groups, recover \(\sum x=n\bar x\) and \(\sum x^2=n(v+\bar x^2)\), add the two totals and divide by the combined number of observations. Averaging two means is valid only when the sample sizes are equal.

Check the conditions

Three worked examples

Example 1 · Coding and combined data

The n=7 observations X have mean 4 and population variance 5. Define \(Y=4X+9\). A second disjoint group has 9 Y-values with mean 29.

  1. Find the mean of Y.
  2. Find the variance of Y.
  3. Find the sum of Y in the first group.
  4. Find the mean of all Y-values in both groups.
Show the reasoning

(a)

\(E(Y)=4(4)+9=25\)

Answer: \(25\).

(b)

\(\operatorname{Var}(Y)=4^2(5)=80\)

Answer: \(80\).

(c)

\(\sum Y=7(25)=175\)

Answer: \(175\).

(d)

\(\bar y_{\rm combined}=\frac{n_1\bar y_1+n_2\bar y_2}{n_1+n_2}\)

Answer: \(\frac{109}{4}\).

Example 2 · Coding and combined data

The n=8 observations X have mean 5 and population variance 6. Define \(Y=2X+10\). A second disjoint group has 10 Y-values with mean 24.

  1. Find the mean of Y.
  2. Find the variance of Y.
  3. Find the sum of Y in the first group.
  4. Find the mean of all Y-values in both groups.
Show the reasoning

(a)

\(E(Y)=2(5)+10=20\)

Answer: \(20\).

(b)

\(\operatorname{Var}(Y)=2^2(6)=24\)

Answer: \(24\).

(c)

\(\sum Y=8(20)=160\)

Answer: \(160\).

(d)

\(\bar y_{\rm combined}=\frac{n_1\bar y_1+n_2\bar y_2}{n_1+n_2}\)

Answer: \(\frac{200}{9}\).

Example 3 · Coding and combined data

The n=9 observations X have mean 6 and population variance 7. Define \(Y=3X+11\). A second disjoint group has 11 Y-values with mean 33.

  1. Find the mean of Y.
  2. Find the variance of Y.
  3. Find the sum of Y in the first group.
  4. Find the mean of all Y-values in both groups.
Show the reasoning

(a)

\(E(Y)=3(6)+11=29\)

Answer: \(29\).

(b)

\(\operatorname{Var}(Y)=3^2(7)=63\)

Answer: \(63\).

(c)

\(\sum Y=9(29)=261\)

Answer: \(261\).

(d)

\(\bar y_{\rm combined}=\frac{n_1\bar y_1+n_2\bar y_2}{n_1+n_2}\)

Answer: \(\frac{156}{5}\).

Common mistakes

Practise with answer checking

Original exam-style problems

Write complete solutions before opening the worked solution. The marking guidance rewards reasoning as well as answers.

Examination practice · 2020–2026

Apply the method to recent source-labelled questions from this chapter.

Browse recent examination questions · All topic resources and the full bank

Next skill: Review →