Returning to more general transformation of random variables we now restrict attention to general one-to-one transformations , so exists.
If has pdf and defines a one-to-one transformation, then has pdf
evaluated at .
If is increasing then
so by differentiating wrt.
If is decreasing then
so
Combining these results gives the stated result. ∎
Notation and hints:
We call the Jacobian of the transformation.
Sometimes it is most easy to evaluate by .
It is often hard to remember which way up the Jacobian term should be. It is helpful to think in terms of probabilities of small sets, i.e. for suitable and
,
,
.
In practice the procedure for finding the pdf of from this type of transformation is:
Check you have a one-to-one transformation over the range of .
Invert it – find as a function of . (This gives a way of checking it is a one-to-one transformation: can it be inverted?)
Find (as a function of ).
Use the theorem, replacing in with .
Summarise, remembering to state the range of .
The Rayleigh distribution is used in modelling wave heights. Its pdf is
Find the pdf of the variable which relates to wave power required to assess the force of the waves.
Solution. The range of is and so the range of is the same.
The transform is one-to-one on so
,
for
If has pdf then the linear transformation , , has pdf
This follows from the theorem with since and .
Show that if then has a Cauchy distribution.
Solution. First note that the range of is as required for a Cauchy random variable.
It is easier to differentiate than its inverse
so
which is the density of a Cauchy random variable.
Show that if Cauchy then also Cauchy.
Solution. The range of is and so the range of is the same. Here so that and
so
for
Solution. Note that is not a one-to-one map. However we can create a new random variable which, by symmetry, has density
Now and is a one-to-one map on the region where can be, . Since ,
and we can use the transformation method to see that for ,
which is the density of a random variable.
If the transformation from to is not 1-1 and there is no simple trick to make an equivalent random variable using a 1-1 transformation, such as in Example 4.4.5 then the cdf (distribution function) method is the only option.
If either option is available then both will give the same answer, but one may require much less work. If you have and it is in a simple form then the cdf (distribution function) method may be preferable. Alternatively, if you have and the Jacobian has a simple form then the pdf (density function) method may be preferable.