VaR Backtest: Exceptions and Kupiec Test
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
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
| N | Number of days tested | days |
| x | Number of days on which the loss exceeded VaR (exceptions) | number |
| p | Expected exception rate: 1 minus the VaR confidence | percent |
| LR | Likelihood-ratio statistic. Above 3.84 rejects the model at the 5% level | number |
Worked example
Over 250 days a 99% VaR model was exceeded 6 times.
| Expected exception rate p | 1 − 0.99 | 1% |
| Expected exceptions | 250 × 0.01 | 2.50 |
| Observed rate | 6 ÷ 250 | 2.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%? (1 | 1 if 3.55535>3.841 else 0 | 0 |
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.