Numerical analysis Monte Carlo and quasi-Monte Carlo methods Theorem
Box–Muller transform
Builds on Continuous uniform distributionNormal distributionIndependence of random variablesPolar coordinatesChange of variables in multiple integralsExponential distribution
Statement
Let and be independent random variables, each with the uniform distribution on . Let Then and are independent, and each has the standard normal distribution, with mean and variance .
Remarks
Let and , so that has polar coordinates . For , , so has the exponential distribution with mean , and has density on . Also is uniform on and independent of . By the change of variables formula with Jacobian , the pair has density , which is the product of two standard normal densities. Example: and give , , and . Independence of and is necessary: with the point lies on one curve in the plane, so the pair is not a standard normal pair. To obtain a normal variable with mean and standard deviation , use .
Going deeper
For a student
One cannot invert the normal distribution function in closed form, so plain inverse transform sampling does not give normal variables cheaply; going to two dimensions and polar coordinates solves this. Marsaglia's polar method avoids the sine and cosine by sampling a uniform point in the unit disc by rejection and rescaling it. In floating point, must avoid , and the tail of is truncated by the smallest representable . For speed, many libraries now prefer the ziggurat algorithm, which uses mostly one multiplication and one comparison per sample.
Reading path
To understand this page from the ground up, read these 28 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Continuous uniform distribution concept
- Euclidean space object
- Exponential distribution concept
- Function concept
- Function composition concept
- Independence of random variables concept
- Normal distribution concept
- Fréchet derivative definition
- Polar coordinates concept
- Function of several variables concept
- Limit of a function of several variables concept
- Partial derivative concept
- Continuity in R^n definition
- Differentiable function of several variables definition
- Partial derivative definition
- Differentiable on an open set definition
- Double integral definition
- Jacobian matrix definition
- Chain rule in several variables statement
- Higher partial derivatives definition
- Iterated derivative definition
- Jacobian determinant definition
- Derivative of the inverse function statement
- C^k function characterised by continuous derivatives statement
- Inverse function theorem statement
- Diffeomorphism definition
- Change of variables in multiple integrals statement
- Box–Muller transform statement
Further reading
About this page
| Tag | 8G07Q9SVQ4 |
|---|---|
| URI | m2://8G07Q9SVQ4 |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 65C10, 60E05 |
| Status | This copy of the site has no build data. Run m2 status 8G07Q9SVQ4. |
| About | Normal distribution |
| Uses | Continuous uniform distribution, Normal distribution, Independence of random variables, Polar coordinates, Change of variables in multiple integrals, Exponential distribution |
| Same as |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.