There seems to be different ways to calculate the ES, depending, for example, whether the returns are continuous or discrete (I think).
In P1, T4, Chapter 1 EOC 1.17 the question goes "An investment has a uniform distribution where all outcomes between -40 and +60 are equally likely. What are the VaR and expected shortfall with a confidence level of 95%?" and the answer is "...Expected shortfall is 37.5. Conditional on the loss being greater than 35, the expected loss is halfway between 35 and 40, or 37.5."
Is this calculated as "median" (as it answer says "halfway"): 35,36,37,38,39,40 -> 37.5 is "halfway" or is this calculated as (35+36+37+38+49+40)/6=37.5?
Why does the answer say "halfway" when it should be the average?
In the next chapter EOC 2.5 question* goes:
"In the situation in Question 2.4, how is expected shortfall calculated?"
and the answer is "It is the average of the three worst losses."
Why is this calculated as the average of the three worst losses and not 4 worst losses as the "35" is included in the ES calculation in EOC 1.17 so should the 4th worst loss be included in the EOC 2.5 question.
(Question 2.4 being: "if there are 400 simulations on the loss (gain) from an investment, how is VaR with a 99% confidence level calculated"?)
In P1, T4, Chapter 1 EOC 1.17 the question goes "An investment has a uniform distribution where all outcomes between -40 and +60 are equally likely. What are the VaR and expected shortfall with a confidence level of 95%?" and the answer is "...Expected shortfall is 37.5. Conditional on the loss being greater than 35, the expected loss is halfway between 35 and 40, or 37.5."
Is this calculated as "median" (as it answer says "halfway"): 35,36,37,38,39,40 -> 37.5 is "halfway" or is this calculated as (35+36+37+38+49+40)/6=37.5?
Why does the answer say "halfway" when it should be the average?
In the next chapter EOC 2.5 question* goes:
"In the situation in Question 2.4, how is expected shortfall calculated?"
and the answer is "It is the average of the three worst losses."
Why is this calculated as the average of the three worst losses and not 4 worst losses as the "35" is included in the ES calculation in EOC 1.17 so should the 4th worst loss be included in the EOC 2.5 question.
(Question 2.4 being: "if there are 400 simulations on the loss (gain) from an investment, how is VaR with a 99% confidence level calculated"?)