stochastic calculus
2 posts
- Quant techniques · simulation
Simulating SDEs: Euler, Milstein and the order of convergence
Euler–Maruyama is the default way to simulate a stochastic differential equation, but its paths converge slowly: halving the error takes four times the steps. One extra term from the Itô–Taylor expansion, the Milstein correction, makes it twice as fast. When that matters, and when it doesn’t.
- Quant techniques · stochastic calculus
Why (dW)² = dt: quadratic variation and Itô’s lemma
Add up the squared increments of a Brownian path over [0, t] and you get t, almost surely and with no randomness left. That one fact is why Itô’s lemma has an extra ½f″ term, why realised variance measures volatility, and why ordinary calculus fails for stock prices.