Skip to main content

VaR Backtest: Exceptions and Kupiec Test

IntermediateRisk ManagementAlso known as: backtesting VaR, traffic light test, proportion of failures, VaR exceptions

Finds: whether a VaR model has the right number of exceptions.

When to use it: Use it to check whether a VaR model is calibrated. A 99% VaR should be exceeded about 1 day in 100. Too many exceptions means risk is understated, and too few means capital is wasted. The Basel traffic light for 250 days at 99% is green for 0 to 4 exceptions, yellow for 5 to 9 and red for 10 or more.

The formula

LRPOF\displaystyle LR_{POF}=−2ln⁡[(1−p)N−xpx]+2ln⁡[(1−xN)N−x(xN)x]\displaystyle =-2\ln\left[(1-p)^{N-x}p^{x}\right]+2\ln\left[\left(1-\tfrac{x}{N}\right)^{N-x}\left(\tfrac{x}{N}\right)^{x}\right]

In words: Kupiec statistic = −2 x ln[(1-p)^(N-x) x p^x] + 2 x ln[(1 − x/N)^(N-x) x (x/N)^x]; compare with 3.84 (5% level, 1 degree of freedom)

What each symbol means

NNumber of days testeddays
xNumber of days on which the loss exceeded VaR (exceptions)number
pExpected exception rate: 1 minus the VaR confidencepercent
LRLikelihood-ratio statistic. Above 3.84 rejects the model at the 5% levelnumber

Worked example

Over 250 days a 99% VaR model was exceeded 6 times.

Expected exception rate p1 − 0.991%
Expected exceptions250 × 0.012.50
Observed rate6 ÷ 2502.40%
Kupiec LR statistic−2 × ln((1 − 0.01)^(250 − 6) × 0.01^6) + 2 × ln((1 − 6 ÷ 250)^(250 − 6) × (6 ÷ 250)^6)3.555
Reject the model at 5%? (11 if 3.55535>3.841 else 00
The answer

With 99% confidence, about 2.50 exceptions were expected and 6 occurred (an observed rate of 2.40%). The Kupiec statistic is 3.555, just below the 3.84 cut-off, so the model is not rejected at the 5% level. Under the Basel traffic light, 6 exceptions fall in the yellow zone.

Want every formula on a few pages?Get the free Cheat Sheet (PDF) →

Calculator

Kupiec LR statistic3.555
Reject the model at 5%? (10

Keep going