Exercise
On Main Street, a driver’s speed just before an accident is uniformly distributed on [5, 20]. Given the speed, the resulting loss from the accident is exponentially distributed with mean equal to three times the speed.
Calculate the variance of a loss due to an accident on Main Street.
- 525
- 1463
- 1575
- 1632
- 1744
Let [math]S[/math] be the random variable representing the driver's speed, and [math]X[/math] be the random variable representing the resulting loss from the accident. The problem provides the following information:
- Speed Distribution: The driver's speed [math]S[/math] is uniformly distributed on the interval [math][5, 20][/math].
The probability density function (PDF) for [math]S[/math] is:
- Conditional Loss Distribution: Given the speed [math]S=s[/math], the resulting loss [math]X[/math] is exponentially distributed with a mean equal to three times the speed.
Therefore, the conditional mean of [math]X[/math] given [math]S[/math] is:
To calculate the variance of the loss [math]\operatorname{Var}(X)[/math], we use the Law of Total Variance, which states:
- [math]\operatorname{E}[9S^2] = 9\operatorname{E}[S^2][/math]
- [math]\operatorname{Var}[3S] = 3^2 \operatorname{Var}(S) = 9\operatorname{Var}(S)[/math]
So, the equation becomes:
The speed [math]S[/math] is uniformly distributed on [math][a, b] = [5, 20][/math]. We need to find [math]\operatorname{E}[S^2][/math] and [math]\operatorname{Var}(S)[/math].
- Mean of S:
For a uniform distribution on [math][a, b][/math], the mean is [math]\operatorname{E}[S] = \frac{a+b}{2}[/math].
- Variance of S:
For a uniform distribution on [math][a, b][/math], the variance is [math]\operatorname{Var}(S) = \frac{(b-a)^2}{12}[/math].
- Second Moment of S:
The second moment [math]\operatorname{E}[S^2][/math] can be calculated using the relationship [math]\operatorname{Var}(S) = \operatorname{E}[S^2] - (\operatorname{E}[S])^2[/math], so [math]\operatorname{E}[S^2] = \operatorname{Var}(S) + (\operatorname{E}[S])^2[/math].
Now we substitute the calculated values of [math]\operatorname{E}[S^2][/math] and [math]\operatorname{Var}(S)[/math] into the equation for [math]\operatorname{Var}(X)[/math] from Step 2:
- The Law of Total Variance is a fundamental tool for calculating the variance of a random variable when its distribution depends on another random variable. It states [math]\operatorname{Var}(X) = \operatorname{E}[\operatorname{Var}(X | Y)] + \operatorname{Var}[\operatorname{E}(X | Y)][/math].
- Understanding the properties of common distributions is crucial. For an exponential distribution with mean [math]\mu[/math], its variance is [math]\mu^2[/math].
- For a uniform distribution on [math][a, b][/math], the mean is [math]\operatorname{E}[S] = \frac{a+b}{2}[/math] and the variance is [math]\operatorname{Var}(S) = \frac{(b-a)^2}{12}[/math].
- The second moment of a random variable [math]Y[/math], [math]\operatorname{E}[Y^2][/math], is related to its mean and variance by [math]\operatorname{E}[Y^2] = \operatorname{Var}(Y) + (\operatorname{E}[Y])^2[/math]. This relationship is often used to find [math]\operatorname{E}[Y^2][/math] when [math]\operatorname{E}[Y][/math] and [math]\operatorname{Var}(Y)[/math] are known.
- Constants can be factored out of expectation and variance operators: [math]\operatorname{E}[cY] = c\operatorname{E}[Y][/math] and [math]\operatorname{Var}(cY) = c^2\operatorname{Var}(Y)[/math].
Solution: E
Let S be the speed and X be the loss. Given S, X has an exponential distribution with mean 3X. Then, noting that the variance of an exponential random variable is the square of the mean, the variance of a uniform random variable is the square of the range divided by 12, and for any random variable the second moment is the variance plus the square of the mean: