Tutorials › CAS Exam 9 - Risk Management for Actuaries › Monte Carlo Error in Tail Aggregation

CAS Exam 9 · Aggregating Risks and Diversification · Tutorial 483 of 995

Monte Carlo Error in Tail Aggregation

Estimate simulation error in aggregate tail risk measures, and decide whether the number of simulated scenarios provides adequate precision.

Advanced 12 min read

What You'll Learn

  • Estimate Monte Carlo standard error for a simulated VaR using the loss density near the target quantile.
  • Use independent simulation batches to assess uncertainty in aggregate VaR estimates.
  • Distinguish a TVaR tail-average standard error from uncertainty caused by estimating the tail threshold.
  • Use tail sample counts to plan simulation size and judge whether a reported estimate is reliable.
  • Interpret Monte Carlo confidence intervals without confusing simulation error with model uncertainty.

Why Monte Carlo Error Matters in Tail Aggregation

A simulated aggregate loss distribution can produce a numerical VaR or TVaR estimate, but the estimate changes when the random scenarios change. A result reported to the nearest dollar may therefore imply much more precision than the simulation supports. Monte Carlo error measures this simulation-to-simulation variability; it does not measure uncertainty about the chosen loss model, dependence structure, or input parameters.

For an aggregate loss \(X\), define the confidence-level VaR as the \(\alpha\)-quantile of its distribution. In this tutorial, the main formulas assume \(X\) has a continuous distribution with density positive near that quantile. For a continuous loss, TVaR at level \(\alpha\) is the mean loss conditional on exceeding VaR. Discrete losses may have probability mass at VaR, so their tail average needs an atom-aware definition rather than blindly averaging only losses strictly above the empirical quantile.

Definition: For a continuous aggregate loss \(X\), let \(q_\alpha=\operatorname{VaR}_\alpha(X)\) satisfy \(F_X(q_\alpha)=\alpha\), and let \(r=1-\alpha\). Then $$ \operatorname{TVaR}_\alpha(X)=E[X\mid X>q_\alpha] =q_\alpha+\frac{E[(X-q_\alpha)_+]}{r}. $$ A Monte Carlo standard error estimates the standard deviation of an estimator across repeated independent simulations of the same size, under the same model.

Monte Carlo Standard Error for VaR

Suppose \(N\) independent aggregate losses are simulated from the model. The empirical distribution function is \(\widehat F_N(x)\), and the empirical VaR is an empirical \(\alpha\)-quantile. If the true density \(f_X(q_\alpha)\) is positive and smooth near \(q_\alpha\), a large-sample approximation to its Monte Carlo standard error is

$$ \operatorname{SE}(\widehat q_\alpha) \approx \frac{\sqrt{\alpha(1-\alpha)}}{\sqrt{N}\,f_X(q_\alpha)}. $$

The density has units inverse to the loss unit, so the resulting standard error has the same units as the loss. In practice, \(f_X(q_\alpha)\) is not usually known: it may be estimated from simulated losses near the quantile using a suitable density or local-quantile method. Because the estimate depends on this density estimate, report the method and treat the resulting standard error as approximate.

Justification: At the true quantile, \(\widehat F_N(q_\alpha)\) fluctuates around \(\alpha\) with approximate variance \(\alpha(1-\alpha)/N\), since it is an average of \(N\) indicators of whether a simulated loss is at most \(q_\alpha\). Near \(q_\alpha\), a small change in cumulative probability is approximately \(f_X(q_\alpha)\) times the corresponding change in loss. Thus the quantile error is approximately \(-(\widehat F_N(q_\alpha)-\alpha)/f_X(q_\alpha)\). Taking its standard deviation gives the stated formula.

Worked Example: VaR Precision From a Local Density Estimate

A hypothetical aggregate-loss simulation uses \(N=40{,}000\) independent scenarios to estimate 99.5% VaR. A local density estimate at the estimated VaR is \(0.000025\) per dollar. Estimate the Monte Carlo standard error and a normal-approximation 95% interval for the VaR estimate.

Method. Apply the quantile standard-error formula, treating the local density estimate as fixed for this approximation. Here \(\alpha=0.995\), so \(\alpha(1-\alpha)=0.995(0.005)=0.004975\).

The denominator is \(Nf_X(q_\alpha)^2=40{,}000(0.000025)^2=40{,}000(0.000000000625)=0.000025\). Therefore the estimated variance is \(0.004975/0.000025=199\) dollars squared, and the standard error is \(\sqrt{199}=\$14.1067\).

The normal-approximation 95% margin is \(1.96(\$14.1067)=\$27.6491\). If the estimated VaR is \(\$2{,}400{,}000\), the interval is approximately \(\$2{,}399{,}972.35\) to \(\$2{,}400{,}027.65\), rounded to cents. This interval describes simulation error under the assumed model, not uncertainty about whether that model is appropriate.

Check. The estimated standard error has dollar units because the density is measured per dollar. The main trap is omitting the density: \(\sqrt{\alpha(1-\alpha)/N}\) is uncertainty in the empirical cumulative probability, not in VaR measured in dollars.

Repeated Batches as an Error Diagnostic

An alternative is to divide the simulation into \(B\) independent batches of equal size and compute a separate VaR estimate in each. If those estimates are \(Q_1,\ldots,Q_B\), their sample standard deviation \(s_Q\) estimates the batch-to-batch standard deviation. The standard error of their mean is \(s_Q/\sqrt{B}\). This method is useful when a reliable density estimate near the quantile is difficult to obtain. It requires independent batches run under the same model and simulation settings; repeated calculations on the same scenarios are not independent batches.

Worked Example: Assessing VaR With Independent Batches

Eight independent batches, each containing 20,000 aggregate-loss scenarios, produce 99% VaR estimates in millions of dollars: 12.1, 12.4, 11.9, 12.3, 12.0, 12.5, 12.2, and 12.2. Estimate the mean VaR and the standard error of that mean, then give an approximate 95% interval.

Method. Use the sample mean and sample standard deviation across batches. The deviations from the mean \(12.2\) are \(-0.1, 0.2, -0.3, 0.1, -0.2, 0.3, 0, 0\). Their sum is zero, confirming the mean is \(12.2\). The sum of squared deviations is \(0.01+0.04+0.09+0.01+0.04+0.09=0.28\).

The sample variance is \(0.28/(8-1)=0.04\) million dollars squared, so \(s_Q=\sqrt{0.04}=0.20\) million dollars. The standard error of the mean is \(0.20/\sqrt{8}=0.07071\) million dollars.

Because there are only eight batch estimates and their standard deviation is estimated from those batches, use the \(t\) critical value with 7 degrees of freedom for an approximate 95% interval: \(t_{0.975,7}\approx2.365\). The margin is \(2.365(0.07071)=0.1672\) million dollars. The interval is \(12.2\pm0.1672\), or approximately \(\$12.0328\) million to \(\$12.3672\) million.

Check. Each batch has the same size, so averaging the eight batch estimates is appropriate for estimating the common VaR. Dividing the batch standard deviation by \(\sqrt{8}\) gives uncertainty in their mean—not the variability of a single 20,000-scenario VaR estimate.

TVaR Error and Tail Sample Counts

A simple diagnostic for a tail average is the number of simulated observations in the tail. At level \(\alpha\), the expected tail count is approximately \(K=N(1-\alpha)=Nr\). For a threshold treated as fixed, the standard error of the average of \(K\) independent tail observations is approximately their sample standard deviation divided by \(\sqrt K\). This is a useful first check, but it does not fully account for estimating the VaR threshold from those same observations.

For a continuous distribution, a standard large-sample approximation for the empirical TVaR estimator also accounts for threshold estimation. Let \(q=q_\alpha\), and let \(W=(X-q)_+\). Its influence quantity is

$$ \frac{W}{r}+q-\operatorname{TVaR}_\alpha(X). $$

Its expectation is zero because \(E[W]/r=\operatorname{TVaR}_\alpha(X)-q\). Consequently, a plug-in variance estimate for simulated TVaR is

$$ \widehat{\operatorname{Var}}(\widehat{\operatorname{TVaR}}_\alpha) \approx \frac{\widehat{\operatorname{Var}}(W)}{Nr^2}. $$

An equivalent form, useful when the tail count is approximately \(K=Nr\), is

$$ \widehat{\operatorname{Var}}(\widehat{\operatorname{TVaR}}_\alpha) \approx \frac{\widehat{E}[W^2\mid X>q]}{Nr} -\frac{\widehat{E}[W\mid X>q]^2}{N}. $$

In either form, use the simulated losses and the estimated threshold consistently. These are asymptotic approximations for a continuous loss distribution; they are not exact finite-sample guarantees. A small tail count can make either estimate unstable, regardless of the total simulation size.

Worked Example: TVaR Error With an Estimated Threshold

A simulation uses \(N=50{,}000\) scenarios to estimate 99% TVaR for a continuous aggregate loss. The estimated VaR is \(\$8.00\) million. There are 500 simulated losses above the threshold; their excesses above VaR have mean \(\$1.40\) million and sample standard deviation \(\$2.00\) million. Estimate TVaR and its Monte Carlo standard error, accounting approximately for estimation of the threshold.

Method. The tail fraction is \(r=1-0.99=0.01\), and the tail count is \(Nr=50{,}000(0.01)=500\). The estimated TVaR is threshold plus mean excess: \(8.00+1.40=\$9.40\) million.

The conditional second moment of the excess is its variance plus the square of its mean: \(E[W^2\mid X>q]\approx2.00^2+1.40^2=4.00+1.96=5.96\) million dollars squared. Substituting into the tail-count variance form gives \(5.96/500-1.40^2/50{,}000=0.01192-0.0000392=0.0118808\) million dollars squared. Its square root is approximately \(\$0.1090\) million.

Thus the simulation estimate is \(\$9.40\) million with an approximate Monte Carlo standard error of \(\$0.1090\) million. A common shortcut is to use only the conditional excess standard deviation: \(2.00/\sqrt{500}=\$0.0894\) million. That calculation treats the threshold as fixed; it misses the additional variability associated with estimating the tail boundary. The plug-in approximation is the more relevant diagnostic when the threshold is estimated from the simulation.

Planning Simulation Size and Judging Adequacy

Precision should be judged against the decision the estimate supports. A standard error that is small relative to the estimated capital may still be too large if a decision depends on distinguishing two close alternatives. Conversely, running more scenarios is not automatically useful if model uncertainty dominates or the required precision is already achieved.

For an initial TVaR tail-average planning calculation, if the conditional tail standard deviation is about \(s\), then the fixed-threshold approximation gives \(\operatorname{SE}\approx s/\sqrt K\). To target a standard error no greater than \(\varepsilon\), plan for at least \(K\approx(s/\varepsilon)^2\) tail observations, or \(N\approx K/(1-\alpha)\) total scenarios. This is a planning approximation, not a guarantee: it assumes the tail variability estimate is reasonable and does not fully include threshold estimation.

For VaR, the density-based formula gives a different planning insight: if the density near the quantile is low, the same cumulative-probability error translates into a larger loss-scale error. Reporting both a standard error and the expected tail count helps reveal whether apparent precision is credible. For greater confidence, compare estimates across independent batches and check whether the observed variability is consistent with the chosen method.

1
Set the precision target.
Choose an acceptable standard error or interval width in the same units as the risk measure and in light of the decision being made.
2
Check tail support.
Compute \(N(1-\alpha)\). A very small tail count warns that TVaR and tail variability estimates may be unstable.
3
Estimate error by a suitable method.
Use a local density approximation for VaR, independent batches as a diagnostic, and a tail-aware variance estimate for TVaR.
4
Report limitations.
State the number of scenarios, confidence level, error method, and whether the result reflects simulation error only. Do not describe a Monte Carlo interval as covering model or parameter uncertainty.

Common Exam Traps

  • Confusing tail probability with tail count. At 99.5%, the tail probability is 0.005; with 20,000 scenarios, the expected tail count is \(20{,}000(0.005)=100\), not 0.005 observations.
  • Forgetting the density in a VaR standard error. The empirical cumulative probability has a probability-scale error. Divide by the density to express uncertainty in loss units.
  • Treating a fixed-threshold tail average as the full TVaR error. The tail sample standard deviation divided by \(\sqrt K\) does not, by itself, account for estimating the quantile threshold.
  • Calling simulation error total uncertainty. Re-running the same model addresses random-number variation, not whether the model or its dependence assumptions are correct.
Key takeaway: Monte Carlo precision in tail aggregation depends on both the simulation size and the behavior of losses near and beyond the target quantile. Report the error method and tail count, and interpret the result as simulation uncertainty under the specified model.

Check Your Understanding

For each problem, use the stated approximation and keep units consistent.

  1. A simulation of 25,000 aggregate losses estimates 99% VaR. The estimated density at VaR is \(0.00005\) per thousand dollars. Find the approximate VaR standard error and normal 95% margin. (Answer: standard error \(12.585\) thousand dollars; margin \(24.67\) thousand dollars.)
  2. Five independent batches give VaR estimates, in millions, of 4.8, 5.0, 4.9, 5.1, and 5.2. Find their mean and the standard error of that mean. (Answer: \(5.0\) million; \(0.07071\) million.)
  3. At a fixed tail threshold, 400 simulated tail losses have a sample standard deviation of \(\$3.2\) million. Find the conditional tail-average standard error. (Answer: \(\$0.16\) million.)
  4. A 99.5% TVaR analysis has conditional tail standard deviation estimated at \(\$2.4\) million. Using the fixed-threshold planning approximation, how many total scenarios are needed for a standard error of at most \(\$0.08\) million? (Answer: 180,000 scenarios, giving 900 expected tail observations.)
  5. For \(N=20{,}000\) and \(\alpha=0.98\), the estimated VaR is \(\$6.2\) million; tail excesses have mean \(\$0.8\) million and standard deviation \(\$1.5\) million. Use the threshold-adjusted tail variance approximation to find TVaR and its standard error. (Answer: TVaR \(=\$7.0\) million; standard error approximately \(\$0.0848\) million.)
Clinical Biostats