Percentile

A percentile is the value below which a given share of a sorted set of numbers falls; the 5th percentile has 5% beneath it.

How it works

Line up a set of numbers from lowest to highest. A percentile is a point on that line: the pth percentile is the value with p% of the numbers below it.

  • The 50th percentile is the median: half below, half above.
  • The 5th percentile sits near the bottom: only 5% of the numbers are lower.
  • The 95th percentile sits near the top.

For daily returns, the low end holds the losses. The 5th percentile of daily returns is the loss that only about 1 day in 20 goes past. That is exactly what a one-day 95% Value at Risk describes.

A percentile is also called a quantile, written as a fraction: the 5th percentile is the 0.05 quantile.

Formula

Sort n returns from worst to best
Position of the pth percentile≈n × p / 100
95% VaR=loss at the 5th percentile of daily returns
99% VaR=loss at the 1st percentile

When n × p / 100 is not a whole number, methods differ: some take the nearest value, others interpolate between neighbours.

Worked example

Illustrative numbers only. A portfolio has 200 daily returns.

StepResult
Sort from worst to bestWorst day first
5% of 20010
The 10th worst dayA loss of 2.2%
One-day 95% historical VaRAbout 2.2%
1% of 200, the 2nd worst dayA loss of 3.8%, the 99% figure

The 99% figure rests on only two days here, which is why it is much less certain than the 95% one.

How Sentinel shows it

  • Pro and up, historical VaR: the loss at the cut-off of your current holdings' past daily returns.
  • Pro and up, Monte Carlo VaR: the loss at the same cut-off across 10,000 simulated days.
  • Simulation bands: they hold the middle 50% and 90% of paths, and the 1-in-20 downside is the 5th percentile, the level only 5% of paths finish below.
  • Every plan: the bell-curve figure is also a percentile, read off a Normal distribution (bell curve) rather than sorted data.

Often confused with

Percentage. A percentage is a share; a percentile is a position in a sorted list. "The 5th percentile is −2.2%" mixes both: the position is 5th, the value is −2.2%.

Average of the tail. The 5th percentile is one value at the edge. The average of everything below it is Expected shortfall.

Percentile rank. "This day ranks in the 5th percentile" describes where one value sits, not the cut-off itself.

Limitations

  • Far percentiles rest on very few data points. With 100 days, the 1st percentile is a single day.
  • Different conventions give slightly different values on small samples.
  • A percentile says nothing about values beyond it.

Questions

Why is a 95% VaR the 5th percentile and not the 95th?

Returns are sorted from losses to gains. The 95% confidence level means 95% of days are better than the line, so the line sits at the 5th percentile of returns.

How many days are needed for a reliable 5th percentile?

More is better. With 100 days, the cut-off rests on about 5 days. Sentinel's historical and simulated estimates need about 100 days of data.

Sources

  1. Hyndman, R. J. and Fan, Y. (1996). Sample quantiles in statistical packages. The American Statistician, 50(4), 361 to 365.
  2. Freedman, D., Pisani, R. and Purves, R. (2007). Statistics, 4th edition. W. W. Norton.
  3. Jorion, P. (2007). Value at Risk: The New Benchmark for Managing Financial Risk, 3rd edition. McGraw-Hill.

Draft: not yet reviewed against the Sentinel app. Examples are illustrative. General information, not investment advice.

Check your understanding

3 questions on this page. Nothing is saved.

  1. A portfolio has 400 daily returns. Roughly which day marks the 5th percentile?
    Show the answer

    The 20th worst. 5% of 400 is 20. See Formula.

  2. What is the 50th percentile of a set of returns?
    Show the answer

    The median, with half the values below it. The 50th percentile splits the sorted list in two. See How it works.

  3. With 100 daily returns, why is the 99% historical VaR less certain than the 95% one?
    Show the answer

    It rests on about one day instead of about five. The 1st percentile of 100 days is a single observation. See Limitations.

See these figures on your own holdings.

Basic is free and needs no card. Type in what you own and read your risk in a minute.