Marsaglia Polar Method - Theoretical Basis

Theoretical Basis

The underlying theory may be summarized as follows:

If u is uniformly distributed in the interval 0 ≤ u < 1, then the point (cos(2πu), sin(2πu)) is uniformly distributed on the unit circumference x2 + y2 = 1, and multiplying that point by an independent random variable ρ whose distribution is

will produce a point

whose coordinates are jointly distributed as two independent standard normal random variables.

Read more about this topic:  Marsaglia Polar Method

Famous quotes containing the words theoretical and/or basis:

    The desire to serve the common good must without fail be a requisite of the soul, a necessity for personal happiness; if it issues not from there, but from theoretical or other considerations, it is not at all the same thing.
    Anton Pavlovich Chekhov (1860–1904)

    Even upon such a basis hast thou built
    A monument, whose cement hath been guilt!
    George Gordon Noel Byron (1788–1824)