Suppose that there are two random variables and which have joint pdf . We are interested in the joint distribution of two new random variables, and , which are functions of . We assume that the transformation from is a one-to-one bivariate transformation, so that there exist functions and . Then the joint pdf of is (see Appendix B)
where is the absolute value of the determinant of where is the Jacobian of the transformation
and both and are written as functions of and .
So the transformation procedure is:
Check one-to-one bivariate transformation. (Given and can we find and uniquely, and given and can we find and uniquely?)
Invert the transformation – find and as functions of and . (Again this might be an easy way of checking whether it is a one-to-one transformation).
Find the Jacobian (as a function of and ).
Use the formula, replacing and in by the appropriate functions of and .
Summarise, taking care with the ranges of and .
As in the univariate case it is sometimes easier to calculate the inverse using
Suppose and are independent random variables. Find the joint and marginal pdfs of and .
Solution. Since and are independent their joint pdf is the product of the marginal pdfs
Rearranging the transformation we have
so
Thus
The marginal ranges of and are and . Further, for any given value of the range of is always so and are iid variables.
Suppose and are independent, with an distribution and with a distribution. Find the joint and marginal pdfs of
i.e. if are the polar coordinates of a point in the plane then are the corresponding Cartesian coordinates.
Unnumbered Figure: Link
Solution. The joint pdf of is
for , . In this case it is easier to find the inverse
Since we get
The marginal ranges of and are and . Further, for any given value of the range of is always so and are independent and identically distributed random variables.
The transformation in Example 8.1.2 is called the Box-Muller transformation, which is useful for simulating Normal random variables. Figure 8.1 (First Link, Second Link) illustrates the transformation.
Remember that we can generate an Exponential random variable from a uniform by the transformation , thus we can generate two independent random variables and from two independent Uniform random variables and by
Suppose and are independent random variables. Find the joint and marginal pdfs of and . Are and independent? Give your reasoning.
The marginal ranges of and are , . Further, the range of does not depend on , so and are variationally independent.
Since and are independent their joint pdf is the product of the marginal pdfs
for and .
Inverting the transformation, and The Jacobian matrix of partial derivatives is
Its determinant is , so
Thus the joint pdf is
with the range given above.
Joint pdf factorises and variationally independent so
and are independent.
The pdfs can be recognised as