Skip to content
All library documents

Assessing Monte Carlo Convergence with Error Estimates

Article Quant Q&A · Author: Karthik Balasubramaniam

Summary

The document explains that Monte Carlo pricing produces an estimate rather than an exact value, and that independent runs generally differ because they use different random samples. The law of large numbers describes convergence of sample averages toward the expected value, while the central limit theorem supports approximate normal error estimates as sample size grows.

A practical approach is to estimate the output’s standard deviation and use its standard error, which scales inversely with the square root of the number of paths, to form a confidence interval and relate sample size to target accuracy. Matching rounded prices across two runs alone is not a sound convergence test: rounding can hide differences, and close results may occur by chance. The discussion assumes suitable sampling and, in one explanation, an ideal random number generator. It also cautions that rare outcomes can require many samples, and gives no universal path count; accuracy depends on the quantity being estimated and the desired precision.

Key ideas

  • Independent Monte Carlo runs usually produce slightly different estimates.
  • The law of large numbers explains why sample averages approach their expected value as sampling increases.
  • The central limit theorem supports approximate normal error estimates under suitable conditions.
  • Standard error decreases in proportion to the inverse square root of the sample count.
  • Identical rounded outputs across two runs do not establish convergence.

Tags

Full text
# What does "convergence" in Monte Carlo simulation mean?


# What does "convergence" in Monte Carlo simulation mean?












I have read about convergence in terms of MC simulation for derivative pricing, but I am not clear on what it exactly means. Let us suppose I price an option 100,000 paths twice and both result in the same option price. Does that mean 100,000 paths has resulted in convergence?

Also, in determining the number of paths to use for pricing, is getting the same option price with 2 different runs a factor? (Assumption is I am not reseeding the Random Number. So the sequence of Random Numbers between the two runs is different).

## Answer by g g (score 7, accepted)

https://quant.stackexchange.com/a/17218

To keep things simple let's assume you have a perfect random number generator (i.e. I will discuss only the statistics not the numerics of the problem). I will also focus on the practical matter and gloss over some mathematical details.

From a practical perspective "convergence" means that you will never get an exact answer from Monte-Carlo but increasingly good approximations. Try out your 100'000 paths example. The two values for the price of your option will be slightly different everytime you use a fresh, i.e. independent, sample.

Two mathematical theorems are relevant to describe convergence: First, the law of large numbers, which says that the average of independent samples converges to the expected value (i.e. price) and the central limit theorem, which tells you that the distribution of the error converges to a properly scaled normal distribution. This justifies what Mark Joshi is alluding to in his post.

You mention a typical and very relevant question: What size samples do I need to achieve a certain prescribed accuracy? If you assume normal distribution of errors you can calculate a confidence interval and solve this expression for the sample size. You will often hear people say that Monte-Carlo "converges very slowly" or "converges with $\sqrt{n}$". This is because to achieve a tenfold increase in accuracy you need a hundredfold increase in number of paths. For a serious study of this important topic I recommend the book by Paul Glasserman

## Answer by Mark Joshi (score 5)

https://quant.stackexchange.com/a/17206

the output of an MC simulation depends on the random numbers used and if the distribution used is not too weird, after 10,000 runs you will get an answer that is distributed $$ \mu + \frac{\sigma}{\sqrt{n}} Z, $$ with $Z$ a standard normal. Here $n=10,000.$

With $\mu$ the quantity you want and $\sigma$ the standard deviation. So you won't get precisely the same answer as you will get different values of $Z$ but if they are close together it is a good sign.

The usual approach is to estimate $\sigma$ as well as $\mu$ and then take your error magnitude to be $\sigma/\sqrt{n}.$

## Answer by KlingonJoe (score 1)

https://quant.stackexchange.com/a/27833

"Monte Carlo convergence" means that you've sampled enough individuals to represent (and understand) a general population. If the probability models behind your Monte Carlo simulation are accurate, then your results will match reality as you increase your sampling size.

Monte Carlo convergence becomes difficult when you try to study a low-probability sub-population. As you sample the general population and only count those outcome that match your low-probability tally, you find convergence to be slow. Very few individuals arrive to your desire outcome. So, you sample and sample, but converge never comes.

## Answer by Mark Powell (score 1)

https://quant.stackexchange.com/a/29960

With Monte Carlo, which is nothing more than a numerical method to approximate a definite integral, convergence to K significant digits using N samples means that you will obtain the same K significant digits regardless of the random number sequence used for the N samples.

When you say that you obtained the same option price from two Monte Carlo runs using 100,000 samples, I am presuming that you are truncating or rounding your Monte Carlo result to cents, or possibly dollars. Using 100,000 samples for a Monte Carlo, you can have numerical method errors ranging from at least +/- 6% of the answer you get. So, if you truncate your MC answers to 10% or more precision (to deciles), then it is very possible that you could get the same answers every time you run your MC using 100,000 samples. If you truncated your MC answers to less than a 10% precision (to say percentiles), you got lucky. It will be just a fluke that you got the same answers twice in a row.

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.