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)

    “The Love that dare not speak its name” in this century is such a great affection of an elder for a younger man as there was between David and Jonathan, such as Plato made the very basis of his philosophy, and such as you find in the sonnets of Michelangelo and Shakespeare. It is that deep, spiritual affection that is as pure as it is perfect.... It is in this century misunderstood ... and on account of it I am placed where I am now.
    Oscar Wilde (1854–1900)