TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Empirical VaR and expected shortfall conventions

Compute an empirical loss quantile and a specified tail average.

Learning objectives

  • Compute an empirical loss quantile and a specified tail average.
  • Explain why a quantile is not a worst possible loss bound.

Prerequisites: Sort numbers, interpret percentiles and distinguish gains from positive loss values.

Mechanism and interpretation

Value at Risk summarizes a loss quantile at a stated horizon and probability level. Expected shortfall summarizes the tail beyond that probability boundary. For finite samples, ties and interpolation require an explicit convention. Here use positive numbers for losses, nearest-rank VaR at rankceil(αn), and a tail average over the worst(1−α)n observations when that count is an integer.

This discrete teaching convention avoids ambiguity in the supplied examples; production systems may use interpolation or fractional weights at the boundary. A95% loss quantile does not mean losses cannot exceed it. A historical sample may omit the worst future scenario, and a small tail count creates substantial uncertainty. BIS terminology motivates the measures, but this is not a regulatory capital calculation.

Worked case · synthetic data

Ten synthetic losses sorted ascending are 0,1,1,2,2,3,4,5,8,14. Atα=80%, nearest-rank VaR is the eighth value,5. The worst 20% contains two observations,8 and 14, so the specified expected shortfall is 11. Replacing 14 with 30 leaves VaR 5 unchanged while tail average rises to 19, showing why the quantile alone misses severity beyond its boundary.

Failure modes and context

Loss sign conventions are easy to reverse. A portfolio with changing positions should not treat old raw P&L as directly comparable without a model. Serial dependence and sparse crises undermine naive sample interpretation. Do not label the largest historical observation as the maximum possible future loss or annualize a tail measure with an unsupported square-root rule.

Practice assignment

Sorted losses are 0,1,2,3,4,6,7,9,12,20. Use the same 80% convention to compute VaR and tail average. Then change only the largest loss to 40 and explain which measure changes and what this teaches about tail sensitivity.

Worked answer

VaR is the eighth value 9. The worst two losses average(12+20)/2=16. With the largest loss 40, VaR stays 9 while expected shortfall becomes 26. The tail average responds to severity beyond the quantile boundary, although both estimates remain conditional on the tiny observed sample.

Check your understanding

Question 1

What is the 80% nearest-rank position for ten observations?

  1. The second
  2. The tenth
  3. The eighth
Reveal answer and reasoning

C. The eighth

The nearest-rank convention takes the ceiling of 0.8×10, which selects the eighth sorted observation.

Question 2

Does VaR establish a maximum possible loss?

  1. Only with a long sample
  2. No
  3. Yes
Reveal answer and reasoning

B. No

It is a quantile under a model or empirical distribution, not a hard loss cap.

Question 3

Which measure changes when only the worst loss rises beyond an unchanged quantile?

  1. The tail average
  2. Neither
  3. Only the sample count
Reveal answer and reasoning

A. The tail average

Expected shortfall includes tail magnitude, while that particular quantile can remain unchanged.

Sources and further reading

The explanations, operational rules, numerical cases and questions on this page are original TradeViora Academy educational material. Source documents support definitions or conventions; they do not establish the profitability of an illustrated rule.

Third-party rights remain with their owners. TradeViora Academy is not affiliated with these organizations. Examples are hypothetical and exclude real orders. Source review: 26 November 2026.

Continue learning

Open related learning tools · Practice library · Learning downloads