Generate independent and use the Box-Muller transform
For , , so its density is on . The angle is uniform on and independent of . Dividing the joint radial-angular density by the polar-coordinate Jacobian gives
Thus both outputs are independent and have the standard normal distribution. Independent pairs of uniforms give further independent normal observations. The null event is excluded in implementation so the logarithm is finite.

Articles by others on the same topic (0)

There are currently no matching articles.