Linear transformations of random variables
Understanding Linear Transformations of Random Variables
In AP Statistics, understanding how linear transformations affect random variables is crucial for analyzing data and making predictions. A linear transformation involves operations such as adding a constant, subtracting a constant, multiplying by a constant, or dividing by a constant to a random variable. These transformations impact the mean, median, standard deviation, and variance of the distribution.
Impact on Measures of Center (Mean and Median)
When a random variable X undergoes a linear transformation, its measures of center (like the mean and median) are affected in a straightforward manner. If we define a new random variable Y = a + bX, where a and b are constants:
- The new mean, E(Y), is found by applying the same transformation to the original mean: E(Y) = a + bE(X).
- Similarly, the new median will be transformed in the same way as the mean. If the original median of X is MX, then the new median of Y will be a + bMX.
For example, if the average score on a test (random variable X) was 75, and the teacher decides to add 5 points to everyone's score and then multiply by 1.2 (to curve the grade), the new average score would be 5 + 1.2(75) = 95.
Impact on Measures of Spread (Standard Deviation and Variance)
The effect of linear transformations on measures of spread is different. While adding or subtracting a constant shifts the entire distribution, it does not change its spread. Multiplying or dividing by a constant, however, does change the spread.
Standard Deviation
For the transformation Y = a + bX:
- The new standard deviation, SD(Y), is affected only by the multiplicative constant. Adding or subtracting a does not change the spread. Thus, SD(Y) = |b|SD(X). We use the absolute value of b because standard deviation is always non-negative.
Consider a situation where the standard deviation of daily sales (random variable X) is $50. If each sale has a $10 processing fee (added constant a) and then a 20% commission (multiplicative constant b = 0.20), the standard deviation of the commission earned would be |0.20| * $50 = $10. The $10 processing fee does not affect the variability.
Variance
Since variance is the square of the standard deviation, its transformation rule follows directly:
- For Y = a + bX, the new variance, Var(Y), is Var(Y) = b2Var(X). Note that the constant a still does not affect the variance.
This is because [|b|SD(X)]2 = b2[SD(X)]2 = b2Var(X).
Key Takeaways
- Adding or subtracting a constant a shifts the center of the distribution but does not change its spread.
- Multiplying or dividing by a constant b affects both the center and the spread.
- The mean and median are transformed directly by both addition/subtraction and multiplication/division.
- The standard deviation is multiplied by the absolute value of the constant b.
- The variance is multiplied by the square of the constant b.
These principles are fundamental when combining or transforming random variables, especially when dealing with expected values and standard deviations of sums or differences of random variables.
Practice questions
If a random variable X has a mean of 10 and a standard deviation of 3, what is the mean of the new random variable Y = 5 + 2X?
For the same random variable X with a standard deviation of 3, what is the standard deviation of Y = 5 + 2X?
A random variable X has a variance of 9. If a new variable Z is defined as Z = -3X, what is the variance of Z?
If the median of a distribution of test scores (X) is 70, and each score is transformed by the rule Y = 10 + 0.5X, what is the new median?
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/statistics/unit-4-probability-random-variables-and-probability-distributions/linear-transformations-of-random-variables