Answers are grounded in this paper and cite their sources.
CR CATEGORIES: 5.5, 5.13 procedure norm (D1, D2) ; real D1, D2; comment This procedure generates pairs of independent normal random deviates with mean zero and standard deviation one.The output parameters D1 and D2 are normally distributed on the interval (-~, + oo).The method is exact even in the tails.This algorithm is one of a class of normal deviate generators, which we shall call "chi-squared projections" [1, 2].An algorithm of this class has two stages.The first stage selects a random number L from a x~-distribution.The second stage calculates the sine and cosine of a random angle 0. The generated nornlal deviates are given by L sin (0) and L cos (0).The two stages can be altered independently.In particular, as better x22 random generators are developed, they can replace the first stage.(The negative exponential distribution is the same as that of x~2.)The fastest exact method previously published is Algorithm 267 [4], which includes a comparison with earlier algorithms.It is a straight chi-squared projection.Our algorithm differs from it by using van Neumann rejection to generate sin (¢) and cos (¢), [4, = 20], without generating ¢ explicitly [3].This significantly enhances speed by eliminating the calls to the sin and cos functions.The author wishes to express his gratitude to Professor George Forsythe for his help in developing the algorithm.
No takes yet. Share an insight, caveat, or question.
James Bell (1968) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: