Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Box–Muller transform
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Statistical transform}} [[File:Box-Muller transform visualisation.svg|thumb|300px|Visualisation of the Box–Muller transform — the coloured points in the unit square (u<sub>1</sub>, u<sub>2</sub>), drawn as circles, are mapped to a 2D Gaussian (z<sub>0</sub>, z<sub>1</sub>), drawn as crosses. The plots at the margins are the probability distribution functions of z0 and z1. z0 and z1 are unbounded; they appear to be in {{closed-closed|−2.5, 2.5}} due to the choice of the illustrated points. In [https://upload.wikimedia.org/wikipedia/commons/1/1f/Box-Muller_transform_visualisation.svg the SVG file], hover over a point to highlight it and its corresponding point.]] The '''Box–Muller transform''', by [[George E. P. Box|George Edward Pelham Box]] and [[Mervin Edgar Muller]],<ref>{{Cite journal |doi=10.1214/aoms/1177706645 |jstor=2237361|title=A Note on the Generation of Random Normal Deviates|journal=The Annals of Mathematical Statistics|volume=29|issue=2|pages=610–611|last1=Box|first1=G. E. P.|last2=Muller|first2=Mervin E.|year=1958|doi-access=free}}</ref> is a [[random number sampling]] method for generating pairs of [[statistical independence|independent]], standard, [[normal distribution|normally distributed]] (zero [[expected value|expectation]], unit [[variance]]) random numbers, given a source of [[Uniform distribution (continuous)|uniformly distributed]] random numbers. The method was first mentioned explicitly by [[Raymond Paley|Raymond E. A. C. Paley]] and [[Norbert Wiener]] in their 1934 treatise on Fourier transforms in the complex domain.<ref>Raymond E. A. C. Paley and Norbert Wiener ''Fourier Transforms in the Complex Domain,'' New York: American Mathematical Society (1934) §37.</ref> Given the status of these latter authors and the widespread availability and use of their treatise, it is almost certain that Box and Muller were well aware of its contents. The Box–Muller transform is commonly expressed in two forms. The basic form as given by Box and Muller takes two samples from the uniform distribution on the interval {{open-open|0,1}} and maps them to two standard, normally distributed samples. The polar form takes two samples from a different interval, {{closed-closed|−1,+1}}, and maps them to two normally distributed samples without the use of sine or cosine functions. The Box–Muller transform was developed as a more computationally efficient alternative to the [[inverse transform sampling method]].<ref>Kloeden and Platen, ''Numerical Solutions of Stochastic Differential Equations'', pp. 11–12</ref> The [[ziggurat algorithm]] gives a more efficient method for scalar processors (e.g. old CPUs), while the Box–Muller transform is superior for processors with vector units (e.g. GPUs or modern CPUs).<ref>{{Cite book | last1 = Howes | first1 = Lee | last2 = Thomas | first2 = David | title = GPU Gems 3 - Efficient Random Number Generation and Application Using CUDA | publisher = Pearson Education, Inc. | year = 2008 | isbn = 978-0-321-51526-1 }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)