The probability integral transformation is one of the most useful results in the theory of random variables. It provides a transformation for moving between distributed random variables and any continuous random variable (in either direction). By repeated use, the probability integral transformation can be used to transform any continuous random variable to any other continuous random variable. This property makes the result invaluable for simulation of random variables.
Example 4.2.2 is a special case of the probability integral transform, in that example the probability integral transform provided a transformation from a to an random variable. Example 4.2.5 (Uniform to Weibull) is another.
For simplicity of notation in the statement and proof of the theorem we use instead of .
(Probability Integral Transformation) Let be a continuous random variable with cdf and inverse cdf and let be a random variable. Then
is a random variable, and
is a random variable with distribution function .
Set . Then for all
So the cdf of is that of a distribution, i.e. .
Now set . Then for all ,
since . So the cdf of is . Equivalently, the cdf of is . ∎
The transformation with is illustrated on Figure 4.3 (First Link, Second Link).
Use the probability integral transformation from first principles to construct the transformation from to in Example 4.2.2.
Solution. By the PIT Theorem, if , is the CDF of an random variable and then .
So we must find :
for if and only if
If what is the distribution of the random variables
,
.
Solution.
If construct the probability integral transformation of so that has distribution
,
Solution.
Require , so set where is the cdf of a random variable.
for , so
Want , so set where is the cdf of a random variable.
for , so
The PIT can transform any continuous random variable to a random variable, however it is not possible to transform any discrete random variable to a random variable. To see why, consider a random variable, which is with a probability of and otherwise. There is no function from which has all real numbers between and as its output. More generally, the statespace of a discrete rv is countable whereas that of a continuous rv is uncountable, so there cannot possibly be a map from the former to the latter.
However, the PIT can be used to transform from to a continuous random variable and this can be extended to discrete random variables. One could proceed via the general definition of given in Chapter 2, but there is a more intuitive approach through dividing up the area under the density appropriately.
If construct the probability integral transformation of so that has the distribution that is: discrete on with probabilities , , and .
Solution. The area under the density of the is ; so we partition it in to regions with areas of , , and respectively.
Unnumbered Figure: Link
Writing this out
If construct the probability integral transformation of so that has distribution .
Solution. is discrete on , with probabilities , and respectively. So