# Probability integral transform

In statistics, the probability integral transform or transformation relates to the result that data values that are modelled as being random variables from any given continuous distribution can be converted to random variables having a uniform distribution.[1] This holds exactly provided that the distribution being used is the true distribution of the random variables; if the distribution is one fitted to the data the result will hold approximately in large samples.

The result is sometimes modified or extended so that the result of the transformation is a standard distribution other than the uniform distribution, such as the exponential distribution.

## Applications

One use for the probability integral transform in statistical data analysis is to provide the basis for testing whether a set of observations can reasonably be modelled as arising from a specified distribution. Specifically, the probability integral transform is applied to construct an equivalent set of values, and a test is then made of whether a uniform distribution is appropriate for the constructed dataset. Examples of this are P-P plots and Kolmogorov-Smirnov tests.

A second use for the transformation is in the theory related to copulas which are a means of both defining and working with distributions for statistically dependent multivariate data. Here the problem of defining or manipulating a joint probability distribution for a set of random variables is simplified or reduced in apparent complexity by applying the probability integral transform to each of the components and then working with a joint distribution for which the marginal variables have uniform distributions.

A third use is based on applying the inverse of the probability integral transform to convert random variables from a uniform distribution to have a selected distribution: this is known as inverse transform sampling.

## Examples

Suppose that a random variable X has a continuous distribution for which the cumulative distribution function is FX. Then the random variable Y defined as

$Y=F_X(X) \,,$

has a uniform distribution.[1]

For an illustrative example, let X be a random variable with a standard normal distribution N(0,1) where $\operatorname{erf}(),$ is the error function. Then its CDF is

$\Phi(x) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^x e^{-t^2/2} \, dt = \frac12\Big[\, 1 + \operatorname{erf}\Big(\frac{x}{\sqrt{2}}\Big)\,\Big],\quad x\in\mathbb{R}. \,$

Then the new random variable Y, defined by Y=Φ(X), is uniformly distributed.

If X has an exponential distribution with unit mean, then

$F(x)=1-\exp(-x),$

and the immediate result of the probability integral transform is that

$Y=1-\exp(-X)$

has a uniform distribution. However, the symmetry of the uniform distribution can then be used to show that

$Y'=\exp(-X)$

also has a uniform distribution.

## References

1. ^ a b Dodge, Y. (2003) The Oxford Dictionary of Statistical Terms, OUP. ISBN 0-19-920613-9