Skip to main content

Monte Carlo Standard Error and Confidence Interval

IntermediateQuantitative FinanceAlso known as: Monte Carlo pricing, simulation error, number of paths, confidence interval for price

Finds: how accurate a simulated price is and how many paths you need.

When to use it: Use it to judge how accurate a simulated price is. The error shrinks with the square root of the number of paths, so halving the error needs four times as many paths. A 95% confidence interval is the estimate plus or minus 1.96 standard errors. Variance reduction tricks lower s without more paths.

The formula

V^\displaystyle \hat{V}=1N∑i=1NPVi\displaystyle =\frac{1}{N}\sum_{i=1}^{N}\text{PV}_{i}SE\displaystyle SE=sN\displaystyle =\frac{s}{\sqrt{N}}Nneeded\displaystyle N_{\text{needed}}=(starget SE)2\displaystyle =\left(\frac{s}{\text{target SE}}\right)^{2}

In words: Price estimate = average of the discounted payoffs; Standard error = sample standard deviation / sqrt(N); Paths needed for a target error = (sample standard deviation / target error)^2

What each symbol means

PV_iDiscounted payoff from simulated path imoney
NNumber of simulated pathscount
sSample standard deviation of the discounted payoffsmoney
SEStandard error of the price estimatemoney

Worked example

A simulation of 20 paths gives these discounted payoffs: 0, 0, 4.2, 12.5, 0, 7.8, 0, 19.3, 2.1, 0, 0, 6.4, 0, 9.9, 3.3, 0, 0, 15.2, 1.1, 0. Find the price, its error, a 95% interval and the paths needed for an error of 0.25. (20 paths is far too few in practice; it only keeps the example short.)

Number of paths N20
Price estimate4.0900
Sample standard deviation of the payoffs5.8901
Standard error5.89013 ÷ sqrt(20)1.3171
95% interval, lower4.09 − 1.96 × 1.317071.5085
95% interval, upper4.09 + 1.96 × 1.317076.6715
Paths needed556
The answer

The estimate is 4.0900 with a standard error of 1.3171. The 95% interval runs from 1.5085 to 6.6715. To bring the error down to 0.25 would need about 556 paths.

Want every formula on a few pages?Get the free Cheat Sheet (PDF) →

Calculator

Price estimate4.0900
Standard error1.3171
Paths needed556

Keep going