Combining random variables

About this lesson

Statistics (AP-aligned) › Random variables

To save a PDF, choose “Save as PDF” in the print dialog.

Combining random variables

Random variables.

Warm-up

Three quick questions from earlier lessons.

Discover

Two independent dice each have SD about 1.7. Is the SD of their sum about 3.4?

  1. No, smaller: about 2.4
  2. Yes

Key idea

Means always add; variances add for independent variables.

E(a+bX)=a+bE(X)E(a + bX) = a + bE(X), SD(a+bX)=∣b∣ SD(X)\text{SD}(a + bX) = |b|\,\text{SD}(X). E(X±Y)=E(X)±E(Y)E(X \pm Y) = E(X) \pm E(Y). If XX and YY are independent, Var(X±Y)=Var(X)+Var(Y)\text{Var}(X \pm Y) = \text{Var}(X) + \text{Var}(Y): variances add even for a difference.

Worked example

Morning commute: mean 20, SD 3; evening: mean 25, SD 4; independent.

E(total)=45E(\text{total}) = 45
Means add.
Var=9+16=25\text{Var} = 9 + 16 = 25
Variances add.
SD(total)=5\text{SD}(\text{total}) = 5
Square root.

Your turn, guided

Your turn: SD(X) = 6, SD(Y) = 8, independent. SD(X − Y).

1010
√(36 + 64).

Practice ★

  1. X and Y are independent with SD(X) = 27 and SD(Y) = 36. Find SD(X + Y).
  2. X and Y are independent with SD(X) = 18 and SD(Y) = 24. Find SD(X + Y).
  1. SD(X) = 8. Let Y = 12 + 5X. Find SD(Y).

Watch out!

Practice ★★

  1. X and Y are independent with SD(X) = 24 and SD(Y) = 10. Find SD(X − Y).
  2. X and Y are independent with SD(X) = 72 and SD(Y) = 30. Find SD(X − Y).

Exit ticket

Three questions to check you have got it.

  1. X and Y are independent with SD(X) = 27 and SD(Y) = 36. Find SD(X + Y).
  2. X and Y are independent with SD(X) = 18 and SD(Y) = 24. Find SD(X + Y).
  3. X and Y are independent with SD(X) = 12 and SD(Y) = 16. Find SD(X + Y).

Summary card

Combining random variables

  • Means add (and subtract).
  • Independent: variances add, for sums and differences.

Watch out: never add SDs directly.

CC BY-SA 4.0