Interactive model — experiment with these parameters in sItô

Increasing the number of Monte Carlo paths reduces statistical sampling error, yet leaves the time-stepping bias of the discretization scheme unchanged.

Decomposition of total simulation error

Estimating $\mathbb{E}[f(X_T)]$ from $N$ simulated trajectories on a grid of step size $\Delta$ incurs two distinct errors [1, 2]: a zero-mean sampling error with standard deviation $\frac{s}{\sqrt{N}}$ (where $s$ is the pathwise standard deviation of $f(X_T)$), and a deterministic weak discretization bias that depends on $\Delta$ rather than $N$.

For Euler–Maruyama applied to geometric Brownian motion $dX_t = \mu X_t\,dt + \sigma X_t\,dW_t$ over $n = \frac{T}{\Delta}$ steps, each step multiplies the expected state by $1 + \mu\Delta$:

$$ \begin{aligned} \mathbb{E}[X_n] &= X_0\,(1 + \mu\Delta)^n \\ &= X_0\,e^{\mu T}\Bigl(1 - \frac{1}{2}\mu^2 T\,\Delta + O(\Delta^2)\Bigr). \end{aligned} $$

Because the leading relative bias is linear in $\Delta$, Euler–Maruyama has weak order $1.0$: increasing $N$ a hundredfold cuts sampling error by ten without moving the $O(\Delta)$ offset.

Terminal log-normal density for 100-step Euler scheme at N=10^4 paths showing mean 131.8 below exact 148.4 Terminal log-normal density for 100-step Euler scheme at N=10^4 paths showing mean 131.8 below exact 148.4
Terminal density under weak Euler stepping ($N = 100$ steps, $10^4$ paths): Monte Carlo noise is already small, leaving a clean $-16.6$ time-step bias between the simulated mean $131.8$ and the exact expectation $e^{5} \approx 148.4$. Open biased 100-step run in sItô ↗

Run this in sItô

Open sItô with this model pre-loaded to inspect the path distribution, summary statistics, and parameter sensitivities—or change any setting and rerun (with $\mu = 0.5$, $\sigma = 0.05$, $X_0 = 1$, and $T = 10$, where the exact mean is $e^5 \approx 148.41$ and relative SD is $0.16$):

SetupStep $\Delta$Euler expectationSimulated mean (SE)Bias vs. $148.41$
$10^4$ paths, $100$ steps0.1$1.05^{100} \approx 131.5$$\approx 131.5$ ($0.2$)−11.4%
$10^3$ paths, $10^3$ steps0.01$1.005^{1000} \approx 146.6$$\approx 146.6$ ($0.7$)−1.2%

With ten times fewer paths and ten times more steps, the second run is far closer to $148.41$.

Diagnosing noise versus bias

Comparing a benchmark discrepancy against $\frac{s}{\sqrt{N}}$ separates the two sources: a gap within three standard errors is sampling noise and shrinks with more paths; a larger gap requires halving $\Delta$. If halving $\Delta$ cuts the discrepancy in half (for weak order $1.0$), it is discretization bias; if the gap persists, the model or payoff specification has a bug. See Section 3 of Compiling parametric SDEs into fast Monte Carlo simulations.

Related notes: How many Monte Carlo paths?, Weak and strong convergence, Euler on a stiff mean reversion.