24 Expected Values of Linear Combinations of Random Variables
24.1 Linear rescaling
If
24.2 Linearity of expected value
Example 24.1
Refer to the tables and plots in Example 5.29 in the textbook. Each scenario contains SAT Math (
- What is the mean of
in each scenario? How does it relate to the means of and ? Does the correlation affect the mean of ?
- What is the mean of
in each scenario? How does it relate to the means of and ? Does the correlation affect the mean of ?
- Linearity of expected value. For any two random variables
and , - That is, the expected value of the sum is the sum of expected values, regardless of how the random variables are related.
- Therefore, you only need to know the marginal distributions of
and to find the expected value of their sum. (But keep in mind that the distribution of will depend on the joint distribution of and .) - Whether in the short run or the long run,
regardless of the joint distribution of and . - A linear combination of two random variables
and is of the form where and are non-random constants. Combining properties of linear rescaling with linearity of expected value yields the expected value of a linear combination. - Linearity of expected value extends naturally to more than two random variables.
Example 24.2
Recall the matching problem in Example 21.1. We showed that the expected value of the number of matches
- Before proceeding take a minute to consider: how do you think
depends on ? Will increase as increases? Decrease? Stay the same?
- When
we derived the distribution of and used it to find . Now we’ll see how to find without first finding the distribution of . The key is to use the indicator random variables from Example @ref(exm:matching-indicator). Let be the indicator that object 1 is placed correctly in spot 1. Find .
- When
, find for .
- What is the relationship between the random variables
and ?
- Use the previous parts to find
.
- Now consider a general
. Let be the indicator that object is placed correctly in spot , . Find .
- What is the relationship between
and ?
- Find
. Be amazed.
- Interpret
is context.
24.3 Variance of linear combinations of random variables
Example 24.3 Consider a random variable
- Walt says:
so . - Jesse says: Variance of a sum is a sum of variances, so
which is equal to .
Who is correct? Why is the other wrong?
Example 24.4
Recall Example Example 24.1.
- In which of the three scenarios is
the largest? Can you explain why?
- In which of the three scenarios is
the smallest? Can you explain why?
- In which scenario is
roughly equal to the sum of and ?
- In which of the three scenarios is
the largest? Can you explain why?
- In which of the three scenarios is
the smallest? Can you explain why?
- In which scenario is
roughly equal to the sum of and ?
- Variance of sums and differences of random variables.
Example 24.5
Assume that SAT Math (
Example 24.6
Continuing the previous example. Compute
- The variance of the sum is the sum of the variances if and only if
and are uncorrelated. - The variance of the difference of uncorrelated random variables is the sum of the variances
- If
are non-random constants and and are random variables then