Monte Carlo
10 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 · counterparty risk
CVA: pricing the risk that a counterparty defaults
Build unilateral credit valuation adjustment from expected positive exposure, loss given default, and default probabilities; see how wrong-way risk breaks the simple factorisation.
- Quant techniques · derivatives
Discrete barrier options: the continuity correction
Why discrete monitoring misses barrier crossings between dates, how Brownian bridges recover the missed probability, and how the Broadie–Glasserman–Kou correction adjusts a continuous barrier price.
- 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 · interest rates
The LIBOR Market Model: why forward rates pick up a drift
Model each tenor forward rate as a lognormal process, derive its measure dependent drift from the numeraire, and connect caplet quotes to Monte Carlo pricing of rate exotics.
- Quant techniques · option pricing
Longstaff–Schwartz: price early exercise with least-squares Monte Carlo
Estimate an American option’s continuation value by regression on simulated paths, exercise backward in time, and separate policy training from valuation.
- Quant techniques · Monte Carlo
Monte Carlo Greeks: pathwise derivatives and likelihood ratios
Estimate option sensitivities from simulated paths without repeated bump-and-revalue runs, and choose between pathwise and score-function estimators.
- 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
Randomized quasi-Monte Carlo: Sobol points for option pricing
Replace independent random draws with randomized low-discrepancy points, map them into Gaussian paths, and estimate error across independent scrambles.