Transformations of Random Variables
Single Random Variable Transformations
Suppose that is a random variable with PDF and CDF . Let be a function of ; for example, . We call a transformation of . In the discrete case, the mass function of is given by
Example
Suppose that and . Let . Then, , and . Note that takes fewer values than because the transformation is not one-to-one.
In the continuous case, there are three steps for finding :
- For each , find the set
- Find the CDF
- The PDF is
Example
Let for . Hence,
Let . Then, and
Therefore, for .
Theorem
When is strictly monotone increasing or strictly monotone decreasing, then has an inverse and in this case one can show that
Multiple Random Variable Transformations
If and are random variables, we might want to know the distribution of , , or . Let be the function of interest. The steps for finding are as follows:
- For each , find the set
- Find the CDF
- The PDF is
Example
let be independent. Find the density of . The joint density of is
let . Now,
Finding is non-trivial. First, suppose that . Then is the triangle with vertices , , and . In this case, the above integral is the area of this triangle which is . If , then is everything in the unique square except the triangle with vertices , , . This set has area .
Therefore,
By differentiation, the PDF is