Probability

Monte Carlo Simulation

A class repeats an experiment using a tray of dice.

Monte Carlo Simulation definition

Monte Carlo simulation uses repeated random trials to estimate a probability, average, or other quantity.

In Spanish
simulación de Monte Carlo
Topic
Probability simulation and sampling

Monte Carlo Simulation in a picture

Monte Carlo Simulation diagramSimulate dice rolls and divide the number of rolls showing six by the total rolls.Decide what to estimateThe chance of rolling a sixSimulate 600 independent rollsGenerate each value from 1 through 6Divide the count by 600For 104 sixes, estimate 104/600
Simulate dice rolls and divide the number of rolls showing six by the total rolls.

How it works

Build a model, generate random inputs from its assumptions, and record the output of each trial. Average the outputs or count a target event. For independent repetitions, more trials typically reduce sampling noise, although they cannot fix errors in the model.

Worked examples

A model event occurs in 247 of 1,000 runs. Estimate its probability.

247/1,000 = 0.247.

A simulation produces outputs 4, 7, and 10. What is the estimated mean?

(4 + 7 + 10)/3 = 7.

Will increasing the number of runs fix a model that gives a die seven sides?

No. It reduces random variation within the chosen model.

Common mistake

Record the model assumptions and the number of runs. The simulation estimate varies from sample to sample.

Quick check

Which quantity estimates a simulated event probability?

Is a simulation result usually exact?

Show answer

No. It is generally an estimate.

What theorem explains stabilization of independent sample averages?

Show answer

The law of large numbers.

Sources

Flashcard

Monte Carlo Simulation

Reveal the definition

Monte Carlo simulation uses repeated random trials to estimate a probability, average, or other quantity.

Effortless Math. “Monte Carlo Simulation.” Math Dictionary.