simulation
5 posts
- Quant techniques · Monte Carlo
Brownian bridges for continuously monitored barriers
Correct the missed crossings in a barrier-option Monte Carlo using a conditional Brownian bridge and understand when the correction is exact.
- 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 · Monte Carlo
Simulating rare events: importance sampling
A 4-sigma event happens 3 times in 100,000 draws, so plain Monte Carlo barely sees it. Importance sampling draws from a distribution where the event is common, then reweights each draw by a likelihood ratio. With the right shift, the relative error stays near 2% whether the event is 1-in-50 or 1-in-3-million.
- Quant techniques · Monte Carlo
Monte Carlo for free: antithetic and control variates
Monte Carlo error shrinks like 1/√N, so a 10× more accurate price costs 100× the paths. Antithetic pairs and control variates cut the variance instead. On an Asian option, one well-chosen control is worth 1,400 times as many paths.
- Quant techniques · Monte Carlo pricing
Multilevel Monte Carlo for option pricing
Split a fine-grid pricing expectation into coupled coarse-to-fine corrections and allocate most simulation effort to cheap levels.