Lecture 3 Pseudo-random number generation
Lecture 3 Pseudo-random number generation
Lecture 3 Pseudo-random number generation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Creates Z ∼ N(0, 1):<br />
Box-Muller algorithm<br />
1. Generate U1 ∼ U[0, 1] and U2 ∼ U[0, 1],<br />
2. θ = 2πU2, ρ = √ −2 log U1,<br />
3. Z1 := ρcos θ is a normal variate (as well as Z2 := ρsin θ).<br />
Computational Finance – p. 28