Numerical analysis Monte Carlo and quasi-Monte Carlo methods Theorem
Inverse transform sampling
Builds on Cumulative distribution functionQuantile functionContinuous uniform distributionRandom variableExponential distribution
Statement
Let be a cumulative distribution function, that is, non-decreasing, right-continuous, with limits at and at . Let be its generalized inverse, the quantile function Let be a random variable with the uniform distribution on . Then the random variable has cumulative distribution function .
Remarks
The key fact is that for and , if and only if ; this uses right-continuity of , which makes the infimum attained. Hence . Example: the exponential distribution with rate has for , so ; since is also uniform, is exponential too. Example: for a discrete distribution with values and probabilities , the method returns when . The generalized inverse is needed: when has jumps or flat parts, the ordinary inverse does not exist. A converse holds when is continuous: then is uniform on , the probability integral transform.
Going deeper
For a student
The method is exact and uses one uniform number per sample, so it is the first choice whenever has a closed form or a fast accurate approximation. For the normal distribution there is no closed form, and one uses numerical approximations of or other methods such as the Box–Muller transform or the ziggurat algorithm. Being monotone in , it preserves the order of the uniform inputs, which is useful for antithetic variates, for quasi-Monte Carlo and for coupling arguments. It also explains copulas: any multivariate distribution is obtained from its copula by applying the marginal quantile functions coordinatewise.
Reading path
To understand this page from the ground up, read these 6 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Continuous uniform distribution concept
- Cumulative distribution function concept
- Exponential distribution concept
- Quantile function concept
- Random variable concept
- Inverse transform sampling statement
Further reading
About this page
| Tag | 2KX7W1TG7T |
|---|---|
| URI | m2://2KX7W1TG7T |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 65C10, 60E05 |
| Status | This copy of the site has no build data. Run m2 status 2KX7W1TG7T. |
| About | Quantile function |
| Uses | Cumulative distribution function, Quantile function, Continuous uniform distribution, Random variable, Exponential distribution |
| Same as |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- 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.