Memra

Linear transformations and sums of random variables

◈ 6 cards

E[aX + b] = aμ + b and Var(aX + b) = a²σ²; for independent variables the means add and the variances add — the SDs do not.

A random variable in new units

Maple Ledger's follow-up cost for a batch is a fixed \$250 of clerk time plus \$40 per late invoice: . is a random variable because is; it takes the values 250, 290, 330 and 370 with the same probabilities as . You could rebuild the table — but two rules make it unnecessary.

For constants and ,

The mean transforms exactly as the values do. The variance ignores — adding a constant shifts every value and leaves the spread untouched — and scales by , because variance is in squared units; the SD scales by .

Worked example — the follow-up cost

With and from L6.2:

The expected follow-up cost is \$288 per batch with a standard deviation of about \$39. Rebuild the table if you doubt it: .

Adding random variables

Five batches are processed in a day. Let be the day's total of late invoices, where the five batches are independent and each has the L6.2 distribution. Then

Means add, always. Variances add when the variables are independent — and only then. The standard deviation of the total is , not . Standard deviations never add; the route to the SD of a sum is always through the variances.

In general, for independent and :

and — the surprise — as well. Subtracting an independent variable adds its uncertainty; the variance of a difference is a sum. Module 11's two-sample standard error is built on exactly that line.

Why this matters beyond the paper

counts five batches; is the average per batch. Apply the transformation rule with $a = 1/5$: and . Averaging shrinks the variance by and the SD by . Module 8 states this as the sampling distribution of the mean; it is these two rules and nothing more.

NORMAL ~/memra/learn/afm-113/linear-transformations-and-sums-of-random-variables utf-8 LF