Basic Prerequisites: Probability & Measure Theory and 01 · From Zero.


1. Intuition & Practical Objective

Monte Carlo replaces an integral (or an expectation) by an average over random samples. Its defining feature is a single, universal error law - the standard error - that is independent of the dimension. That one property is why Monte Carlo is the only method that survives in high dimensions, where grid methods die (their cost grows like ).

The practical objective of this page is the estimator and its variance-reduction lookup: how big is the error, how do you put a confidence interval on it, and which of the four standard tricks (control variates, antithetics, stratification, importance sampling) buys the most.

The one-sentence essence. “Estimate an expectation by a sample mean; the error is in any dimension - then attack the numerator , never the exponent .“


2. Mathematical Ground Truth & Derivations

The estimator and its error (Glasserman eqs. 1.1–1.8). Writing the integral as an expectation, with :

with estimated by . The interval is .

The rate - and why it matters. The error is independent of dimension . Contrast the trapezoidal rule: in 1-D but in dimensions. For , one extra digit costs Monte Carlo more work - and the trapezoid only more. This is the entire raison d’être of Monte Carlo:

Dimension Trapezoid error Monte Carlo error
1
4
10

The bias–variance (MSE) framework (Glasserman §1.1.3, eqs. 1.14–1.22). Often the estimator is also biased, e.g. by time-discretising an SDE. With bias , variance , and per-path cost (typically , ), the total root-mean-square error under a work budget is

For this is ; as (unbiased simulation) it recovers . This is the master formula for “how many paths and how fine a step”.

Variance reduction. All four methods attack at fixed :

  • Control variates (Glasserman §4.1). With a control of known mean, is unbiased, and

Correlation , , fewer paths.

  • Antithetic variates (Glasserman §4.2). Average each draw with its mirror (, or ):

a reduction iff - guaranteed for monotone simulation maps.

  • Stratified sampling (Glasserman §4.3). Split the range into strata , ; with proportional allocation ,

Proportional allocation never increases variance versus plain MC (Jensen, eq. 4.43).

  • Latin hypercube (Glasserman §4.4). Stratify every marginal into equiprobable bins: . For any square-integrable , : (Owen); asymptotically it removes the additive-part variance, leaving (Stein).
  • Importance sampling (Glasserman §4.6). Sample from and reweight:

The weight is a Radon–Nikodym derivative. The zero-variance tilt is (for ) - unusable in practice because it needs , but it is the target every tilt approximates.


3. Computational Implementation - estimate, then beat the variance

Estimate for , then apply a control variate (, ) and antithetics on the same budget.

The control variate - exploiting the correlation between and - cuts the variance by (the standard error by ) at essentially zero extra cost. Antithetics, needing no known mean, cut the standard error by .


4. Failure Modes & First-Principles Breakdowns

  1. Chasing the exponent instead of the variance. is fixed; you cannot make it steeper with more code. Halving the error always costs the paths - unless you reduce . The leverage is in the numerator.
  2. Confusing bias with variance. Discretising an SDE adds an bias on top of the sampling error; adding paths does nothing to it. The regulator is the MSE-balancing rule (Glasserman §6.3.3) - spend the budget on both step size and paths.
  3. Importance sampling gone wrong. A bad can make the variance infinite (heavy-tail weights). The long-horizon path likelihood ratio a.s. even though its mean is 1 (Jensen/Glynn–Iglehart) - the estimator is catastrophic if the measure change is not chosen carefully. Always monitor the weight distribution.
  4. Antithetics that do nothing (or hurt). The trick only helps if . For a non-monotone payoff the correlation can be positive, and the variance increases.
  5. Control variate sign/estimator error. The estimator is (minus, not plus); the optimal coefficient is - a common transcription slip (flagged in the Glasserman corpus).
  6. Pseudo-random-number pathologies. A poor generator has lattice structure; a badly seeded one correlates streams. Use a validated generator and common random numbers deliberately (they are a variance-reduction device, not a bug).

5. References

  • Glasserman, Paul: Monte Carlo Methods in Financial Engineering (Springer, 2004)
  • Robert, C. P. & Casella, G.: Monte Carlo Statistical Methods
  • Hull, Options, Futures, and Other Derivatives

6. Connected Graph Bridges