Simulation &
Monte Carlo
Learn how random sampling and repeated trials power modern decision-making: from pricing products to managing risk.
What Is a Simulation?
A simulation is a computational model that imitates a real-world process. Instead of solving a problem with a single formula, we run the process many times using random inputs and observe what happens.
Why Simulate Instead of Calculate?
Many real business problems have too many variables, nonlinear relationships, or complex interactions to solve with a neat formula. Simulation lets us explore the full range of "what could happen."
Enter the Monte Carlo Method
The Monte Carlo method is a specific simulation technique. It uses repeated random sampling to estimate a quantity that may be difficult or impossible to compute analytically. Named after the famous casino in Monaco.
The Core Idea: Law of Large Numbers
Monte Carlo relies on a powerful statistical fact: as the number of random trials \( n \) grows, the sample average converges to the true expected value.
How Estimates Converge
As we increase the number of trials \( n \), the running average stabilizes around the true value. Early estimates swing wildly; later estimates barely move.
Analytical vs Simulation
| Analytical | Monte Carlo Simulation | |
|---|---|---|
| Approach | Exact formula | Repeated random trials |
| Complexity | Struggles with many variables | Handles high complexity |
| Output | Single point estimate | Full probability distribution |
| Assumptions | Often requires simplification | Flexible, fewer restrictions |
| Speed | Instant (if formula exists) | Requires computation time |
Key Terminology
How to Run a Monte Carlo Simulation
Example 1: Lemonade Stand Profit
A student runs a weekend lemonade stand. Daily demand is uncertain. We model it as:
Example 1: 10,000 Trials
After running \( n = 10{,}000 \) trials, we get a distribution of possible daily profits:
Reading the Results
Example 2: Investment Risk
An investor puts \$10,000 into a stock. Annual return is uncertain. We model yearly return as \(R \sim \text{Normal}(\mu = 0.08, \sigma = 0.15)\). After one year:
Example 3: Estimating \(\pi\)
Drop random points into a unit square. Count how many fall inside a quarter circle of radius 1. The ratio estimates \( \pi / 4 \).
Common Mistakes
Summary: Monte Carlo at a Glance
| Concept | Details |
|---|---|
| What it is | Repeated random sampling to approximate a result |
| Foundation | Law of Large Numbers: \( \bar{X}_n \to \mu \) as \( n \to \infty \) |
| Key input | Probability distributions for each uncertain variable |
| Key output | Distribution of outcomes: mean, spread, percentiles |
| Error rate | Standard error \( \propto 1/\sqrt{n} \): \( 4\times \) trials = \( 2\times \) precision |
| Best for | Complex, multi-variable, nonlinear business problems |
Question 1 of 5
What is the primary advantage of Monte Carlo simulation over a single-point analytical estimate?
Question 2 of 5
In a Monte Carlo simulation with \( n \) trials, the standard error of the estimate is proportional to:
Question 3 of 5
A coffee shop models daily demand as \(D \sim \text{Normal}(100, 25)\). In a single Monte Carlo trial, what does the simulation do?
Question 4 of 5
In the \( \pi \)-estimation experiment, 7,856 out of 10,000 random points fall inside the quarter circle. What is the estimate of \( \pi \)?
Question 5 of 5
Which statistical principle guarantees that a Monte Carlo estimate improves with more trials?