When a price or a variance follows an SDE whose transition law has no closed form, a simulation has to step the equation forward on a time grid. How much does the grid distort a price, and does it matter whether the question concerns each simulated path or only the distribution of outcomes? This lesson derives the Euler-Maruyama step from the integral form of the SDE and the Milstein correction from the next stochastic Taylor term, states the strong and weak orders they reach under explicit hypotheses, shows how kinks, jumps and barriers in a payoff change the weak error, and gives a step of a square-root variance model that goes negative.
Key terms
Euler-Maruyama scheme
Definition Consider the scalar SDE on with a deterministic initial value , where is a standard Brownian motion under the measure in which the equation is stated. In integral form, over a step from to ,
On the uniform grid with , the Euler-Maruyama scheme freezes both coefficients at the start of each step. With ,
where , and . The increments are independent and normal with mean and variance , and they are simulated as with independent standard normal . The coefficients are fixed before the increment is seen, as in the Itô integral. Evaluating the diffusion coefficient at the end of the step, after the increment is known, defines a different method, which in general converges to a different limit. Two separate limits are involved in a simulation. Refining is meant to bring the law of closer to the law of , while more sample paths estimate expectations under the law of more precisely and cannot remove the discretization bias of a fixed step. Whether refinement converges at all depends on the regularity of the coefficients, the moments of the solution and any constraint on its state.
In plain words Over a short step, Euler pretends that the drift and the volatility keep the values they had at the start of the step. It is the stochastic version of the forward Euler method for ordinary differential equations, with a Gaussian shock whose variance equals the step length.
Example Take constructed geometric Brownian motion inputs, with , , and , and one standard normal draw , so that . The drift contributes and the diffusion , so the Euler step gives . For the same increment the exact transition gives
The drift here is constructed and not a pricing drift. For pricing under the same step would use in place of .
Milstein correction
Definition Keep the scalar SDE and a scalar Brownian motion, and suppose is smooth enough to apply Itô’s formula to , with its derivative in the state variable. On the leading random part of is , and the other terms contribute only at higher order in . Itô’s formula applied to gives the iterated integral
Adding the resulting term to the Euler step gives the scalar Milstein scheme
where . Given the correction has mean zero, because . When does not depend on , the correction vanishes and Milstein coincides with Euler. With several Brownian motions whose diffusion vector fields do not commute, the corresponding expansion also needs the iterated integrals of different components, whose antisymmetric parts, the Lévy areas, are not functions of the increments. Adding a scalar correction to each coordinate separately then does not in general give strong order .
In plain words Euler ignores the fact that the volatility itself moves during the step in response to the same shock. Milstein adds the first-order effect of that movement. The correction involves the squared shock minus its mean, so it changes each path without shifting the conditional mean of the step.
Example For geometric Brownian motion the diffusion coefficient is with constant volatility , so and the correction is . With the constructed inputs, and , so the correction is and the Milstein step gives . Against the exact , the Euler error is about and the Milstein error about . Milstein is closer for this draw, but one draw is not a convergence test.
Strong order of convergence
Definition A scheme has strong order at time if there are constants and , independent of , such that
for every uniform step , where is computed from the increments of the same Brownian path that drives . Some texts use or a maximum over grid times instead of this root-mean-square terminal error. The course states the following rates without proof. Let the SDE be scalar and autonomous, on a fixed horizon , with deterministic , and let and be six times continuously differentiable with the functions and all their derivatives through order six bounded. These hypotheses make the coefficients globally Lipschitz and provide every moment needed. Then the Euler-Maruyama scheme has strong order and the Milstein scheme strong order . In particular, Euler has strong order when is constant, since it then coincides with Milstein. The hypotheses are sufficient, not necessary. The linear coefficients of geometric Brownian motion are unbounded, yet the same rates hold there by separate growth and moment estimates. Strong order also controls weak error for a test function with Lipschitz constant , because .
In plain words Strong error asks how closely the simulated path follows the true path driven by the same random shocks. It is the relevant error when individual paths matter, for example when coarse and fine simulations of the same path are compared, or when a quantity is computed along a path.
Example For the constructed geometric Brownian motion with , a Monte Carlo estimate with paths compares each scheme with the exact solution on the same Brownian path. Each entry below is a statistical estimate of the root-mean-square terminal error.
| Step | Euler error | Milstein error |
|---|---|---|
Halving divides the Euler error by about and the Milstein error by about , as orders and predict.
Weak order of convergence
Definition A scheme has weak order for a class of test functions if for every in the class there are constants and with
for every uniform step . Only the laws of and enter, so no coupling of paths is needed. The course states without proof that, under the hypotheses on and of the previous card and for a test function that is six times continuously differentiable with and its derivatives through order six bounded, the Euler-Maruyama scheme has weak order . Under hypotheses of the same kind the Milstein scheme also has weak order , so its gain is in strong error. Because only laws matter, the normal increments may be replaced by other variables with matching low moments, for example with probability each, and Euler keeps weak order under smoothness conditions of the same type. Weak order does not mean that coupled paths differ by order , since the strong order of Euler is only .
In plain words Weak error asks only whether the simulated distribution gives the right averages, which is what a price needs. Euler’s paths drift away from the true paths by an amount of order , but for smooth payoffs these errors largely cancel in the average, leaving an error of order .
Example For the constructed geometric Brownian motion, , so the Euler mean is exactly , while . With the error of the mean is about for , for and for . It halves with , close to the first-order term
Geometric Brownian motion and lie outside the bounded hypotheses, but here the error can be computed exactly. At the error of the mean is more than times smaller than the root-mean-square path error of about in the previous card.
Payoff regularity
Definition Payoff regularity is the smoothness, as a function of the terminal state or of the path, that a weak error estimate requires of the payoff. The weak order result above assumes a smooth test function with bounded derivatives. A call payoff is Lipschitz with constant but has a kink at , a digital payoff has a jump, and a barrier condition depends on the whole path. For such payoffs the smooth result does not apply as stated, and the rate has to be established by a separate argument. For a Lipschitz payoff the strong bound already gives weak order at least . A barrier that is monitored continuously in the contract but checked only at grid dates in the simulation misses crossings between dates, and for Brownian motion and geometric Brownian motion this monitoring error is of order , a known result stated here without proof. Smoothing the payoff and conditional monitoring between dates are remedies, each with its own analysis. For a Brownian motion with constant volatility , possibly with drift, and a barrier level above two consecutive grid values and , the probability that the path between them crosses is
In plain words The argument behind weak order one relies on derivatives of the payoff. At a kink or a jump those derivatives do not exist, so the argument does not go through as it stands, even though a rate may still be proved in another way. A barrier adds a separate problem, because a path checked only at grid dates can cross the barrier and come back unnoticed.
Example Take a constructed log price with no drift and an up barrier at , about when . The barrier is reached by time exactly when the maximum of on is at least , which by the reflection principle has probability . Checking only at equally spaced dates, with sampled exactly there, gives Monte Carlo estimates of about for , for , for and for , each with standard error below . The gaps , , and roughly halve each time is multiplied by four, the signature of an error of order , although the path has no error at the grid dates. Adding the bridge crossing probability between dates brings the estimate for to about .
Square-root state positivity
Definition The Cox-Ingersoll-Ross square-root model for a variance is
with and . It has a unique strong solution, and that solution stays nonnegative for all . If in addition , the Feller condition, and , it stays strictly positive almost surely. These facts are stated here without proof, and the coefficient is not Lipschitz at , so the global Lipschitz results of the earlier cards do not apply. Square-root state positivity is this property of the exact solution, never leaving . The Euler step
does not have it. For every the step is negative when
an event of positive probability, and then the next square root is undefined. Truncating at zero, reflecting, sampling the exact noncentral chi-square transition and other positivity-preserving constructions are different numerical methods, each needing its own convergence and bias analysis.
In plain words The exact square-root process has a drift that pulls it up and a shock that shrinks to zero as the variance approaches zero, so it cannot cross below zero. The Euler step sizes its Gaussian shock at the start of the step, and a large enough negative shock carries the variance below zero in one step.
Example Take constructed inputs , , , , and . The drift adds and the diffusion adds , so the Euler value is . Here is below , so the exact process can reach zero, but it never goes below it. From this state the threshold is , so the Euler step is negative with probability , about one step in six.
Check yourself
- For constructed geometric Brownian motion inputs , , , and , compute one Euler step, one Milstein step and the exact transition with the same increment.
Show the answer
The increment is . The drift term is and the diffusion term is , so the Euler value is . The Milstein correction is
which gives . The exact exponent is , so the exact value is . The Euler error is about and the Milstein error about . Both numbers come from one draw and say nothing by themselves about the orders of convergence.
- A colleague prices a contract on the constructed geometric Brownian motion with Euler steps of and a million paths. Knowing that the root-mean-square path error at this step is about , the colleague concludes that the estimated mean of is off by about and that ten times more paths will fix it. What is wrong with both conclusions?
Show the answer
The value is a strong error, the typical distance between coupled Euler and exact paths, and a mean is a weak quantity. The Euler mean is exactly , and its error is
about times smaller than . More paths reduce only the sampling error of the estimate of . The discretization bias of about stays the same for every number of paths, and only a finer grid, or here the exact transition, removes it.
- Parameters , and satisfy the Feller condition, and a modeler argues that Euler steps of therefore cannot produce a negative variance. Check the condition, then find the probability that one Euler step from is negative.
Show the answer
The condition holds, since . It is a statement about the exact process, which then stays strictly positive, and it says nothing about the scheme. From the deterministic part is and the shock scale is , so the step is negative when
with probability . That is small for one step, but a simulation makes many steps on many paths. In a run of paths over five years of weekly steps from , continued with the positive part inside the coefficients, about percent of the paths produced at least one negative Euler value.