IE567 Homework 5- EVT and Maximum Likelihood Solved

35.00 $

Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . zip solution files instantly, after Payment


5/5 - (1 vote)


Assignment.  You have the S&P 500 index (SPX) data in the.csv file  You want to use extreme value theory (EVT) and the continuously compounded returns you compute from the SPX data to estimate the probability of a large decline in the index.

In this homework you should work with the loss X = −R rather than the return R.  For example, the December 11, 2015 return is R = −0.01961.  Instead of using this number, use the loss X = −R = 0.01961.

  1. Mean excess function (1.5 points) For each threshold u ∈ {0.010, 0.012, 0.014, …, 0.05} compute the mean excess loss e(u) given by the second displayed equation on slide 11 of the lecture notes EVT and VaR.ppt. (You should compute 21 different mean excess losses.)  Prepare a graph that shows the mean excess loss e(u) as a function of the threshold u.  (The threshold u should be on the horizontal axis.)


  1. Losses beyond the threshold (0.5 point) Examining the mean excess function, you decide that the mean excess function is linear beyond u = 0.022. Thus, you decide that the GPD can be used to approximate the conditional density of excess losses beyond the threshold u = 0.022.  How many losses are greater than or equal to 0.022?
  2. Maximum likelihood estimation of the GPD parameters (5 points) Using the losses X such that X ≥ 0.022, compute the excess losses Xu = X – 0.022.  Then use the excess losses, the density function of the GPD, and the method of maximum likelihood to estimate the parameters ξ and β of the GPD.  What are your estimates of the parameters ξ and β?
  3. Conditional density function (1 point)  Using the density function of the GPD and your parameter estimates from Question 3, create a figure that shows the conditional density function of the losses, condition on the loss being greater than or equal to 0.022.  Your figure should show the conditional density for losses between 0.022 and 0.10.
  4. Probabilities of various losses (2 points) What is your estimate of the probability that the loss X is greater than or equal to 0.022?  (That is, what is your estimate of P(X ≥ 0.022)?)  What is your estimate of P(X ≥ 0.05)?  What is your estimate of P(X ≥ 0.10)?  Create a figure showing P(Xx), for x ∈ [0.022, 0.10].