14  Expected Values of Continuous Random Variables

Example 14.1 Recall Example 12.1 and Example 12.2 where office arrival times, measured in minutes after 8am, followed this pdf \[ f_X(x) = \begin{cases} (2/3600)x, & 0<x<60,\\ 0 & \text{otherwise.} \end{cases} \]

  1. Explain how you could use simulation to approximate \(\text{E}(X)\).




  2. Explain how you could approximate \(\text{E}(X)\) as a sum (as if \(X\) were a discrete random variable). Hint: recall Example 12.2.




  3. How could you obtain a better approximation than the sum in the previous part? What happens in the limit?




  4. Compute \(\text{E}(X)\) as an integral. Compare to the approximations.




  5. Interpret \(\text{E}(X)=40\) in context.




  6. Compute and interpret \(\text{P}(X \le \text{E}(X))\).




Example 14.2 Continuing Example 14.1 where \(X\) has pdf \[ f_X(x) = \begin{cases} (2/3600)x, & 0<x<60,\\ 0 & \text{otherwise.} \end{cases} \]

Now we want to compute variance and standard deviation.

  1. What is the formula for computing variance?




  2. Explain how you could use simulation to approximate \(\text{E}(X^2)\).




  3. Explain how you could approximate \(\text{E}(X^2)\) as a sum (like a discrete random variable).




  4. How could you obtain a better approximation than the sum in the previous part? What happens in the limit?




  5. Compute \(\text{E}(X^2)\) as an integral. (You should get 1800.)




  6. Compute \(\text{Var}(X)\).




  7. Compute and interpret \(\text{SD}(X)\).



     

Example 14.3 Continuing Example 12.3. Suppose that \(X\) is a claim amount in excess of the decuctible for a car insurance policy that incurs a claim, measured in thousands of dollars. Assume that \(X\) has pdf \[ f_X(x) = (1/4.3) e^{-x/4.3}, \qquad x >0 \]

  1. Explain how you could use simulation to approximate \(\text{E}(X)\).




  2. Donny Dont says \(\text{E}(X) = \int_0^\infty (1/4.3)e^{-x/4.3}dx = 1\). Do you agree?




  3. Compute and interpret \(\text{E}(X)\).




  4. Compute and interpret \(\text{P}(X \le \text{E}(X))\).




  5. Explain how you could use simulation to approximate \(\text{E}(X^2)\).




  6. Donny Dont says: “I can just use LOTUS and replace \(x\) with \(x^2\), so \(\text{E}(X^2)\) is \(\int_{-\infty}^{\infty} (1/4.3)x^2 e^{-x^2/4.3} dx\)”. Do you agree?




  7. Compute \(\text{E}(X^2)\).




  8. Compute \(\text{Var}(X)\).



     
  9. Compute and interpret \(\text{SD}(X)\).




14.1 Exercises

Exercise 14.1 Continuous Exercise 12.1. In a certain population, household income \(X\) ($ thousands) follows the pdf \[ f_X(x) = c x^{-2.5}, \quad x \ge 30 \] for an appropriate constant \(c\). Note that the measurement units are $ thousands, so 1 represents 1 thousand dollars. (This is not a super realistic example, but just go with it.)

  1. Compute \(\text{E}(X)\).




  2. Interpret \(\text{E}(X)\) in context.




  3. Compute and interpret \(\text{P}(X \le \text{E}(X))\).




  4. Compute \(\text{Var}(X)\).



     
  5. Compute and interpret \(\text{SD}(X)\).