Skip to content

Transforming and combining random variables

Calculate means and SDs for transformed sums and differences, then find probabilities when the combined variable is normal.

It opens on

Independent bread weighs 2.0 oz on average (SD 0.1 oz); filling averages 3.0 oz (SD 0.3 oz). What are the sandwich’s mean and SD?

Why it matters

These rules also underlie SD calculations for differences between two groups.

Good to know first

  • Mean and standard deviation of a discrete random variable: the mean μ is its long-run average
  • the SD σ measures spread around that mean

Step by step

  1. Combining weights

    Find means and SDs of sums and differences, checking independence for SDs.

    The sandwich’s mean is μT = 2.0 + 3.0 = 5.0 oz.

    A common mix-up

    SDs add to 0.4 oz, or variances subtract for D.

    In fact: Both independent variations contribute; their squared SDs add.

  2. Scaling and shifting

    Transform a variable’s mean and SD when every value is multiplied and shifted.

    Second line: W = 10 g + (28.35 g/oz)T; μW = 10 g + (28.35 g/oz)(5.0 oz) = 151.75 g, the third line.

    A common mix-up

    A fixed addition changes SD.

    In fact: It moves every value and its mean equally, leaving their separations unchanged.

  3. Normal chances

    Find a probability for a normal sum or difference and connect its SD rule to two-sample work.

    T is normal with mean 5.0 oz and SD √0.10 oz; z at 4.5 oz is (4.5 − 5.0)/√0.10 ≈ −1.58.

    A common mix-up

    Normal probabilities need no model check.

    In fact: The probability calculations assume normal components; variance addition also needs independence.

Try it

Independent sandwiches have means 5.0 and 5.5 oz and variances 0.10 oz² each. Find first minus second.Answer

Mean −0.5 oz; SD √0.20 oz ≈ 0.447 oz

Hint: Subtract means, add variances

Change only the wrapper to 15 g. Find W’s mean and SD.Answer

156.75 g; 8.97 g

Hint: Only the fixed amount changed

Under the same sandwich model, find P(T < 4.7 oz).Answer

P(Z < −0.95) ≈ 0.171

Hint: Standardize using 5.0 oz and √0.10 oz

Write D’s SD.Answer

σD = √(0.3² + 0.1²) oz ≈ 0.316 oz.

Write the sandwich cost’s SD; does the $1.50 affect it?Answer

σC = $0.40(0.316) ≈ $0.126; no.

Transforming and combining random variables

30 minutes every month. No card.