Menu
Sign up Sign in

AI HL · AHL 8

Statistics 2

AHL 8.6

Mixed practice: linear combinations and the sample mean

AHL 8.6

Mixed practice: linear combinations and the sample mean

Target: I can combine the rules for \(aX+b\), sums and differences of independent variables, and the sample mean in one question. (+4 more)

By the end of this section

Key points

Method for every question

  • Define each random variable first, for example \(X\) = mass of an orange, \(Y_1,\dots,Y_5\) = five lemons.
  • Write the combination, then use \(E\) with the coefficients and \(\mathrm{Var}\) with the squared coefficients.
  • Add variances, never standard deviations. Take the square root at the end.
  • A constant changes the mean but not the variance.

Types that look different

  • A relationship such as \(3U+4V=100\): rearrange to \(V=25-0.75U\), then use \(aU+b\). Square the coefficient \(-0.75\).
  • \(X_1-X_2\) for two random individuals: the mean is 0 and the variance is \(2\sigma^2\).
  • A weekly or daily total of \(k\) independent journeys has variance \(k\sigma^2\). A difference of two totals adds the two variances.
  • \(kX\) has variance \(k^2\sigma^2\). \(X_1+\dots+X_k\) has variance \(k\sigma^2\).

Sample size questions

  • The standard deviation of the sample mean is \(\sigma/\sqrt{n}\).
  • 'Less than a bound': solve \(\sigma/\sqrt{n}<\text{bound}\), then round \(n\) up to a whole number.
  • If \(n\) increases by \(m\) and the sd becomes \(\tfrac1f\) of its value, then \(\sqrt{n+m}=f\sqrt{n}\), so \(n+m=f^2n\).
  • If the sd of the mean is \(d\) less than the sd of one observation, \(\sigma-\sigma/\sqrt{n}=d\).

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
A relationship between two variables

The random variable \(U\) has mean 18 and variance 12.8. The random variable \(V\) is such that \(3U+4V=100\). Find the mean and variance of \(V\).

Working
  1. Make V the subject

    \(V=\dfrac{100-3U}{4}=25-0.75U\)

    Now \(V\) is a linear transformation of \(U\), with \(a=-0.75\) and \(b=25\).

  2. The mean

    \(E(V)=25-0.75(18)=11.5\)

    Use \(E(aU+b)=aE(U)+b\).

  3. The variance

    \(\mathrm{Var}(V)=(-0.75)^2(12.8)=7.2\)

    Square the coefficient. The negative sign and the 25 do not matter.

Video walkthrough coming
The difference between two people

The time a student takes to run 100 m has mean 15.2 s and standard deviation 1.4 s. Two students are chosen at random. Find the mean and standard deviation of the first student's time minus the second student's time.

Working
  1. Name the variables

    \(D=X_1-X_2\), two independent observations of \(X\)

    Two different students, so two separate observations.

  2. The mean

    \(E(D)=15.2-15.2=0\)

    The difference between two people of the same population averages 0.

  3. The variance and sd

    \(\mathrm{Var}(D)=1.4^2+1.4^2=3.92\), sd \(=\sqrt{3.92}=1.98\) s

    A difference adds variances, because the minus sign is squared.

Video walkthrough coming
A fixed mass and two kinds of item

A trolley with mass exactly 18 kg is loaded with 6 suitcases and 4 rucksacks. A suitcase has mean mass 21.5 kg and standard deviation 3.2 kg. A rucksack has mean mass 8.4 kg and standard deviation 1.5 kg. All items are independent. Find the mean and standard deviation of the total mass.

Working
  1. The total

    \(T=18+S_1+\dots+S_6+R_1+\dots+R_4\)

    Six different suitcases and four different rucksacks. The trolley is a constant.

  2. The mean

    \(E(T)=18+6(21.5)+4(8.4)=180.6\) kg

    Add every mean.

  3. The variance

    \(\mathrm{Var}(T)=6(3.2^2)+4(1.5^2)=61.44+9=70.44\)

    The constant 18 has no variance.

  4. The standard deviation

    \(\sqrt{70.44}=8.39\) kg

    Square root last.

Video walkthrough coming
How big a sample

A population has variance 6.4. A researcher wants the standard deviation of the sample mean to be less than 0.25. Find the smallest sample size \(n\) that works.

Working
  1. The condition

    \(\sqrt{\dfrac{6.4}{n}}<0.25\)

    The sd of the sample mean is \(\sigma/\sqrt{n}\), and here \(\sigma^2=6.4\).

  2. Solve for n

    \(\dfrac{6.4}{n}<0.0625\), so \(n>102.4\)

    Square both sides, then rearrange. Check the direction: a larger \(n\) gives a smaller sd.

  3. Round up

    \(n=103\)

    Always round up. A smaller whole number would not meet the bound.

Video walkthrough coming
Working back to the sample size

A sample of size \(n\) is taken from a population with standard deviation \(\sigma\). When the sample size is increased by 60, the standard deviation of the sample mean becomes half of its original value. Find \(n\).

Working
  1. Write the two standard deviations

    \(\dfrac{\sigma}{\sqrt{n+60}}=\dfrac12\cdot\dfrac{\sigma}{\sqrt{n}}\)

    The new sd is half the old one.

  2. Cancel and rearrange

    \(\sqrt{n+60}=2\sqrt{n}\)

    \(\sigma\) cancels.

  3. Square both sides

    \(n+60=4n\), so \(3n=60\) and \(n=20\)

    Check: \(\sqrt{80}=2\sqrt{20}\).

Video walkthrough coming
One tripled or two added

A spinner has mean score 5 and standard deviation 1.2. Ana spins once and triples the score. Ben spins twice and adds the scores. Find the mean and standard deviation of Ana's result minus Ben's result.

Working
  1. Write the result

    \(D=3X-(X_1+X_2)\)

    Ana: one observation, tripled. Ben: two different observations.

  2. The mean

    \(E(D)=3(5)-2(5)=5\)

    Means follow the coefficients.

  3. The variance

    \(\mathrm{Var}(D)=3^2(1.2^2)+2(1.2^2)=12.96+2.88=15.84\)

    Tripled: \(9\sigma^2\). Two spins: \(2\sigma^2\). Add them.

  4. The standard deviation

    \(\sqrt{15.84}=3.98\)

    Square root last.

Video walkthrough coming