Collection of notes for various classes I've taken.
A linear function of a random variable is a new random variable created by a linear transformation of an existing one. If $X$ is a random variable, a linear function of $X$ is defined as $Y = aX + b$, where $a$ and $b$ are constants. This transformation shifts and scales the values of $X$.
The key properties of these new random variables relate to their expected value and variance.
The expected value of a linear function of a random variable can be calculated using the linearity of expectation.
This means that the expected value of the transformed variable is simply the transformed expected value.
The variance of a linear function of a random variable is affected differently by the constants $a$ and $b$.
Note that the constant $b$ does not affect the variance. This is because adding a constant to every value in a distribution simply shifts the entire distribution without changing its spread or shape. The variance measures the spread, so it remains unchanged.
Property | Formula |
---|---|
Expected Value | $E(aX + b) = a \cdot E(X) + b$ |
Variance | $Var(aX + b) = a^2 \cdot Var(X)$ |