A position loses 100 currency units in 4 percent of states and nothing in the others. Its 95 percent value at risk is 0, yet a loss of 100 is entirely possible. Value at risk marks where a chosen probability level is first reached in the loss distribution and says nothing about the size of the losses beyond that point. This lesson defines VaR with a quantile convention that handles atoms, computes historical VaR from a sorted sample, states how uncertain a sample quantile is, and builds an exact example in which the VaR of a sum exceeds the sum of the VaRs.
Key terms
Loss distribution
Definition Fix a portfolio, a horizon in years, a reporting currency and a probability measure, usually the physical measure or a stated scenario distribution. If is the profit and loss of the period in currency units, a mark change plus any included cash flows as in Profit and loss attribution and sensitivities, the loss is . With this sign change a larger positive is worse and a negative is a gain. The loss distribution is the law of under the stated measure, described by its distribution function
for real , which is nondecreasing and right-continuous, with limit at and limit at . An atom is a value with , where jumps by that probability. Losses from discrete events such as defaults, from scenario sets and from empirical samples have atoms, so a definition that works only for continuous distributions is not enough.
In plain words The loss distribution says how much the portfolio might lose over the horizon and how likely each amount is. Every number computed from it inherits the choices of horizon, currency, positions, cash flows and probability measure.
Example A constructed exposure loses currency units with probability and otherwise. Its distribution function is below , equal to on and equal to from on, with atoms at and at . Stored as profit and loss, the same exposure has with probability , and the sign change has to be applied before any quantile is taken.
Value at risk
Definition For a confidence level , the value at risk of the loss is the lower quantile of its distribution,
The set is nonempty and bounded below because tends to at and to at while , so the infimum is finite, and right-continuity makes it attained, . Hence
and holds exactly when . When is continuous and strictly increasing, VaR is the unique solution of . VaR is an amount in currency units, reported with its horizon, currency, portfolio, loss definition, measure and level. It is neither the largest possible loss nor an average of tail losses, and at an atom it can jump when the probabilities change slightly. If the profit and loss is stored instead, then with the upper quantile , and the lower quantile of gives a different answer wherever is flat at level .
In plain words VaR is the smallest loss level such that the probability of losing at most is at least . It tells where the worst of probability begins, not how large the losses in that tail are.
Example For the constructed exposure, while for , so although a loss of has probability . At the level is first reached at , so . If the loss probability rises from to , then and the percent VaR jumps from to . The jump follows from the atom and the cutoff, not from a numerical error.
Empirical quantile convention
Definition For losses with equal weights , the empirical distribution function is
Write for the sorted sample. The lower inverse of at level is the order statistic
Indeed . Any lies below the observations , so , because is the smallest integer with . Ties do not affect the argument. This is the lower inverse convention applied to the empirical law, and the losses strictly above carry empirical probability at most . Interpolating between neighboring order statistics defines a different estimator, and numerical libraries differ in their default rules, so two reported VaRs can be compared only after their conventions are matched.
In plain words Sort the losses from smallest to largest and count up to the first position whose share of the sample reaches . The loss at that position is the empirical quantile. Changing the level means changing the rank.
Example For and the rank is , for it is , and for and it is . A common linear interpolation rule places the quantile at position in the sorted sample and interpolates between the neighboring values. For the twenty losses of the next card this position is , which gives , while the lower inverse gives .
Historical VaR
Definition Historical VaR applies the empirical quantile to losses of the current portfolio under past scenarios. Take historical changes of the risk factors over windows of the horizon length, apply each to today’s factors with today’s positions, and revalue, so that
With equal weights, historical VaR at level is . Relative or logarithmic changes can replace absolute ones, and that choice is part of the method. The number is exact for the empirical law of the scenarios. Treating it as the VaR of the next period assumes that the scenarios are a relevant sample of next-period changes, which is an assumption about the future and not a consequence of a long history. Overlapping windows make the scenario losses dependent, and changes in holdings or in the volatility regime can make older scenarios describe a different distribution. Reweighting the scenarios or revaluing a changed portfolio changes the empirical law, and the quantile has to be recomputed from it.
In plain words Historical VaR asks how the portfolio held today would have fared in each past period, sorts those outcomes and reads off the chosen rank. It reports where the worst share of the replayed outcomes begins.
Example Take twenty constructed scenario losses in currency units, already sorted,
where the negative values are gains. At the rank is and historical VaR is . Only the loss exceeds it, one observation in twenty, exactly of the empirical probability. At the rank is and VaR is . Adding a twenty-first scenario with loss moves the percent rank to , so VaR becomes , not . The new worst loss changes the severity of the tail without being the quantile.
Failure of subadditivity
Definition A risk measure is subadditive on a set of losses if
for all and in the set. VaR is monotone, translation equivariant and positively homogeneous, but it is not subadditive on the set of all losses, and the example below gives two independent losses whose sum has a larger VaR than the sum of their VaRs. Subadditivity does hold in scoped cases. A normal loss with mean and standard deviation has . If is jointly normal, the sum is normal too, the means add, , and for the factor is nonnegative, so VaR is subadditive. A result for one family of distributions is not a theorem about all of them.
In plain words Each exposure alone keeps its rare loss inside the worst of probability, which VaR does not look into. Together, the chance that at least one of them loses exceeds , so the combined VaR shows a loss that neither separate VaR shows. This does not mean that diversification raises risk. It means that VaR can fail to recognize diversification.
Example Let and be independent, each losing with probability and otherwise, so each has . The sum is with probability , with probability and with probability . Its distribution function is at and at , so
the sum of the two separate VaRs.
Quantile estimation uncertainty
Definition Suppose are independent with a common distribution function , and is differentiable at with derivative , for example when has a density that is continuous and positive at . Then the empirical quantile satisfies
in distribution as , a result stated here without proof, which gives the approximate standard error
The reason shows in the empirical distribution function. At the fixed point , the value is an average of independent indicators with mean and variance , and near a probability error moves the quantile by about . A thin tail, where is small, turns a small probability error into a large threshold error. The statement is asymptotic and holds for this sampling law. It is not an exact interval for a given dataset, and atoms at the quantile, dependence such as overlapping windows, changing volatility and sparse tails need other methods.
In plain words A sample quantile is itself random. Its scatter shrinks like and grows where the density is thin, which is where a high-level VaR lies, and a short sample has only a handful of observations near a 99 percent quantile.
Example For constructed losses that are independent and normal with mean and standard deviation , the percent quantile is and the density there is . With the selected rank is , only observations lie above it, and the approximate standard error is
about a tenth of the quantile. A simulation of such samples gave a standard deviation of about for the estimator, close to the approximation. At percent the same sample size gives an approximate standard error of about around the quantile .
Check yourself
- For the twenty constructed losses, find historical VaR at percent and at percent and the number of observations strictly above each. What does the percent figure say about losses beyond the sample?
Show the answer
At percent the rank is , so VaR is , and the four losses , , and lie above it, exactly percent of the sample. At percent the rank is , so VaR is , the largest observation, and nothing lies above it. With twenty observations every level above selects the sample maximum, so the estimate cannot exceed , and the sample carries no information about how far beyond losses can go.
- A system stores the same twenty outcomes as profit and loss, gains positive, so the sorted values begin , , . An analyst takes the lower empirical percent quantile of the profit and loss and changes its sign to report the percent VaR. What does that give, why does it differ from the VaR of the losses, and what is the correct conversion?
Show the answer
The lower percent quantile of the profit and loss has rank , so it is , and the analyst reports . The percent VaR of the losses has rank and is . The empirical distribution function of equals from up to, but not including, , so the lower inverse picks the left end, while the sign change needs the upper quantile,
The safe route is to form the losses first and then take their lower quantile. With observations the product is not an integer, the two routes agree, and both give .
- Two independent exposures each lose with probability and otherwise. Find the VaR of each and of their sum at and at percent. A colleague says that VaR is subadditive for independent exposures and cites the normal argument. What does that argument need?
Show the answer
Each exposure has , which is at least and at least , so each VaR is at both levels. The sum is with probability , with probability and with probability . At percent, , so the VaR of the sum is and the inequality holds. At percent, and , so the VaR of the sum is , larger than . The normal argument needs the losses to be jointly normal, so that every VaR has the form , and it needs . These losses are not normal, and independence alone does not give subadditivity. Whether it holds depends on the distribution and on the level.