Variance reduction: the same budget, a smaller error
The question
With 1,000 simulated prices per run, which trick narrows the error of a Monte Carlo option price more: mirrored draws or a stock-price correction?
Three contracts, three picks; the page runs both tricks each time.
- 1 SeePick the trick for each contract.
- 2 TryTune the correction, then test a mirror.
- 3 ProveBuild the proof, line by line.
- 4 ApplyProblems to check yourself.
Before you start · 3 quick checks on the error of an average, a mirrored normal draw and a correlation, about 3 min
Two ideas before you start
2 ideasA draw and its mirror image
Figure: the discounted payoff of a call with strike $100 against the normal draw z, with dashed lines at a draw z and at its mirror −z. It needs JavaScript.
Pair: Y(0.5) ≈ $13.21 Y(−0.5) = $0 average ≈ $6.60
A standard normal draw \(z\) and its mirror \(-z\) have the same density. Antithetic pairs price the payoff at both and average the pair. For this call, the payoff at \(z\) is the larger one whenever \(z \gt 0\).
Exact definition
The model. Under the risk-neutral measure \(Q\) the stock ends at
\[\begin{aligned} S_T &= S_0\exp\big((r - \sigma^2/2)T \\ &\qquad + \sigma\sqrt{T}Z\big) \end{aligned}\]with \(Z\) standard normal: geometric Brownian motion with a constant, continuously compounded rate \(r\), constant volatility \(\sigma\), no dividends and a frictionless market, as in the lesson on Monte Carlo option pricing. A European payoff \(g(S_T)\), paid at \(T\) only, has price \(\operatorname{E}^Q[e^{-rT}g(S_T)]\). Write \(Y(z) = e^{-rT}g(S_T)\) for the discounted payoff when \(Z = z\).
Plain sampling. With \(n\) independent draws \(Z_1, \dots, Z_n\), the estimate is \(\bar{Y} = \tfrac{1}{n}\sum_i Y(Z_i)\).
Antithetic pairs. With \(n/2\) independent draws \(Z_1, \dots, Z_{n/2}\) (\(n\) even), the estimate is the average of the \(n/2\) pair averages \((Y(Z_i) + Y(-Z_i))/2\). Since \(-Z_i\) is standard normal too, each pair average has mean \(\operatorname{E}^Q[Y]\), so the estimate is unbiased. It uses \(n\) terminal stock prices, the same budget as plain sampling with \(n\) draws.
A control with a known mean
Figure: a dollar scale with two rows, the plain average of one simulated run of the call and its corrected value, and the exact price as a dashed line across both. It needs JavaScript.
Run 1: Ȳ ≈ $10.11 X̄ ≈ $99.39 corrected 10.11 − 0.5 × (99.39 − 100) ≈ $10.42
The discounted stock \(X = e^{-rT}S_T\) has a known mean, \(S_0 = \$100\). If a run's stock average \(\bar{X}\) misses 100, its call average \(\bar{Y}\) tends to miss the price in the same direction, so the control variate subtracts \(b(\bar{X} - 100)\). Drawn with \(b = 0.5\) as an illustration; stage 2 looks for the best \(b\).
Exact definition
Control variate. Let \(X = e^{-rT}S_T\), the discounted stock price. Under the risk-neutral measure, with no dividends, \(\operatorname{E}^Q[X] = S_0\): the discounted stock has the riskless growth taken out, as in the lesson on the risk-neutral measure. From the same \(n\) draws, the control-variate estimate is
\[\bar{Y} - b(\bar{X} - S_0)\]for a number \(b\). For every \(b\) fixed in advance its mean is \(\operatorname{E}^Q[Y]\), because \(\operatorname{E}^Q[\bar{X}] = S_0\). In stage 1, \(b\) is computed from each run's own draws instead; the estimate can then be slightly biased, by an amount of order \(1/n\), small next to its standard error of order \(1/\sqrt{n}\).
Variance factor. For a method that uses a budget of \(n\) prices, the variance factor is its variance divided by the variance of plain sampling with the same \(n\). A factor \(f\) means the same variance as plain sampling with \(n/f\) prices, and a standard error \(\sqrt{f}\) times as large.
The three runs of this card are the first three runs of round 1 in stage 1, each with 1,000 prices. Stage 1 says how its seeds were chosen.
Fine print: the budget, the seeds and other methods
The budget counts simulated terminal stock prices, each priced once. The control variate also uses the discounted stock price at each draw, which costs almost nothing once \(S_T\) is computed. Variance reduction changes the constant in the standard error, not the \(1/\sqrt{n}\) rate of the lesson on Monte Carlo integration.
The runs of stage 1 use seeded pseudorandom draws, so they can be reproduced. The seeds were chosen, not drawn at random; stage 1 says how. The exact variance factors come from the model by numerical integration and do not depend on any seed, and each round's verdict uses them.
The correction \(b(X - S_0)\) is the discounted gain of buying \(b\) shares at \(S_0\) with borrowed money and holding them to \(T\). Subtracting it is a static hedge inside the simulation, related to the hedges in the lesson on discrete hedging error and implied volatility. Other methods, such as moment matching, stratified sampling and importance sampling, are not treated here.
Pick the trick before the run
- Each round names one contract. Pick the method you expect to give the smallest variance at a budget of 1,000 prices per run, then press Check my pick.
- The page then runs each method 100 times and shows how the 100 estimates spread around the model price.
How the rounds work
Plain sampling averages 1,000 payoffs from 1,000 independent draws. Antithetic pairs average 500 pair averages \((Y(z) + Y(-z))/2\). The control variate uses the same 1,000 draws as plain sampling and subtracts \(b(\bar{X} - S_0)\), with \(b\) computed from the run's own draws; stage 2 asks which \(b\) is best.
After your check, the table gives each method's exact variance factor from the model and, from one seeded set of 100 runs per method, the standard deviation of the 100 estimates and the observed factor. There are three rounds; after the third a table compares your picks. Start over clears everything.
The verdict of each round uses the exact factors; the histograms and observed factors are an illustration. Their seeds were not drawn at random. For each round the seed was chosen from 20 candidates as one whose observed factors both land within 10% of the exact ones and rank the methods in the same order. So these runs agree with the exact factors more closely than a typical run. With most of the other candidates at least one observed factor was more than 10% off, and for the put one candidate ranked the two methods the other way round.
Every round uses the same market: \(S_0 = \$100\), a constant rate \(r = 5\%\) a year, continuously compounded, constant volatility \(\sigma = 20\%\) a year, \(T = 1\) year, no dividends. Prices are risk-neutral expectations, as in the setup above.
| Method | Exact factor | SD of estimates | Observed factor |
|---|
| Round | Contract | Your pick | Smallest variance | Antithetic factor | Control factor |
|---|
Same budget, smaller error. A variance factor \(f\) makes 1,000 prices as accurate as about \(1{,}000/f\) plain prices, and the standard error shrinks by the factor \(\sqrt{f}\).
No single winner. By the exact factors, the stock control is best for the call and for the put, two payoffs that move closely with the stock price, one up and one down. Antithetic pairs are best for the digital call: the stock prices from a draw and from its mirror end on opposite sides of the strike unless the draw is close to 0, so most pairs pay $10 exactly once.
Tune the correction, then test a mirror
A prediction first. The explorer below it opens once it is answered.
Explorer: the coefficient \(b\) for the call
Move \(b\). The tiles show the exact variance factor of \(Y - b(X - S_0)\) for the call of round 1 and what it means at 1,000 prices.
Goals
For a payoff \(Y\) and the control \(X\), with \(\sigma_Y^2 = \operatorname{Var}(Y)\), \(\sigma_X^2 = \operatorname{Var}(X) \gt 0\) and \(\sigma_{XY} = \operatorname{Cov}(X, Y)\), the variance of \(Y - b(X - S_0)\) is \(\sigma_Y^2 - 2b\sigma_{XY} + b^2\sigma_X^2\): a parabola in \(b\). At \(b = 0\) it is plain sampling. It is lowest at \(b^* = \sigma_{XY}/\sigma_X^2\), and from \(b = 2b^*\) on (for \(b^* \gt 0\)) it is at least the plain variance, so too large a correction does harm.
A mirror for a straddle
How small a control can make the variance
Assumptions. \(Y\) and \(X\) are random variables with finite variances \(\sigma_Y^2 = \operatorname{Var}(Y) \gt 0\) and \(\sigma_X^2 = \operatorname{Var}(X) \gt 0\), covariance \(\sigma_{XY} = \operatorname{Cov}(X, Y) \ne 0\) and correlation \(\rho = \sigma_{XY}/(\sigma_X\sigma_Y)\). The mean \(\mu_X = \operatorname{E}[X]\) is known, and \(\mu_X \gt 0\) and \(\operatorname{E}[Y] \gt 0\). On this page \(X = e^{-rT}S_T\), so \(\mu_X = S_0\) under the risk-neutral measure with no dividends, and \(Y\) is a discounted payoff with a positive price. For a real number \(b\), let \(Y_b = Y - b(X - \mu_X)\).
Conclusion. For every \(b\), \(\operatorname{E}[Y_b] = \operatorname{E}[Y]\). With \(b^* = \sigma_{XY}/\sigma_X^2\),
\[\operatorname{Var}(Y_b) \ge \sigma_Y^2(1 - \rho^2)\]for every \(b\), with equality exactly at \(b = b^*\). So the best control removes the share \(\rho^2\) of the variance.
Facts the proof uses.
- linearity of expectation;
- \(\operatorname{Var}(U + V) = \operatorname{Var}(U) + 2\operatorname{Cov}(U, V) + \operatorname{Var}(V)\), and \(\operatorname{Cov}(U, cV) = c\operatorname{Cov}(U, V)\), \(\operatorname{Var}(cV) = c^2\operatorname{Var}(V)\) for a number \(c\);
- adding a constant to a random variable does not change its variance;
- a square of a number is at least 0, and it is 0 only when the number is 0.
Each option is one step about the \(X\) and \(Y\) of the theorem. Pick the one that is true for every pair \(X\), \(Y\) the theorem covers and, where it says so, for every real \(b\).
- Many draws. For \(n\) independent draws of \((X, Y)\), the estimate \(\bar{Y} - b(\bar{X} - \mu_X)\) is the average of \(n\) independent copies of \(Y_b\), so its variance is \(\operatorname{Var}(Y_b)/n\). Its variance factor is \(\operatorname{Var}(Y_b)/\sigma_Y^2\), at best \(1 - \rho^2\). Only \(\rho^2\) counts, so a control with a negative correlation, such as the stock for a put, works as well as one with a positive correlation of the same size, with a negative \(b^*\).
- Antithetic pairs. Let \(Y = Y(Z)\) and \(Y' = Y(-Z)\). They have the same distribution, so \(\operatorname{Var}(Y') = \sigma_Y^2\); write \(\rho_A\) for their correlation. Then \[\begin{aligned} &\operatorname{Var}\big((Y + Y')/2\big) \\ &= (\sigma_Y^2 + 2\rho_A\sigma_Y^2 + \sigma_Y^2)/4 \\ &= \sigma_Y^2(1 + \rho_A)/2. \end{aligned}\] With \(n/2\) independent pairs the variance is \(\sigma_Y^2(1 + \rho_A)/n\), against \(\sigma_Y^2/n\) for plain sampling: the factor is \(1 + \rho_A\). If the payoff is a monotone function of \(Z\), as for calls, puts and digital calls, then \(\rho_A \le 0\) and pairs never hurt; for the straddle \(\rho_A \gt 0\).
- An estimated \(b\). In practice \(\sigma_{XY}\) and \(\sigma_X^2\) are not known, and \(b\) is estimated, as in stage 1 from the run's own draws. The estimate can then have a small bias, of order \(1/n\), while its standard error is of order \(1/\sqrt{n}\). Estimating \(b\) from a separate pilot run, independent of the main draws, and then fixing it keeps the estimate unbiased.
Problems
Each problem has hints and a full solution.
Further reading
- P. Glasserman, Monte Carlo Methods in Financial Engineering (Springer, 2003), chapter 4, "Variance Reduction Techniques," on control variates and antithetic variates.
- S. M. Ross, Simulation, 5th ed. (Academic Press, 2013), the chapter on variance reduction techniques.
- J. C. Hull, Options, Futures, and Other Derivatives (Pearson), the chapter on basic numerical procedures, for Monte Carlo pricing with antithetic and control variates.