2. Expected shortfall. In the previous problem, you found that the 92% VaR threshold for a portfolio with normally-distributed
profits (mean = 3, standard deviation = 7) was -6.84 (or 6.84 if we state it as a loss).
In this exercise, you will compute a numerical approximation of expected shortfall.
Use dnorm()
to evaluate the the normal distribution's PDF (mean = 3, standard deviation = 7) at two points below the VaR threshold:
-8 and -12. Compute the following approximation of ES, where f()
is the PDF:
$$ES \approx \frac{-8*f(8) - 12 *f(12)}{f(8)+f(12)}$$