Transformations - Bivariate
Discrete Random Vector
- Let
be a Joint Probability Mass Function of and - Let
- The Joint Probability Mass Function of
is: - Where
are the inverse maps - Example:
- Non-one-to-one function
- Let
have a Joint Probability Mass Function -
- Let
- Find the Probability Mass Function of
- See that it's not injective as there are two output for the same input.
- #tk slides 28
Continuous Random Vector
Jacobian
- Suppose we have a Joint Probability Density Function of Continuous Random Variables
and transformations: - The Joint Probability Density Function of
is where are the inverse maps. - Here
- Determinant of the above
- If we don't have a one-to-one transformation and only one function
, we introduce a dummy variable - Example:
- Let
be continuous, with a Joint Probability Density Function given by: for
- Let
- Find the Joint Probability Density Function of
- Consider the support of
- We want things in terms of
and - Sub this into the next
for - Since
, we always have a smaller value over a bigger value - So we get that
- if
then
- We want things in terms of
- By the transformation theorem
- We know above that we get
and
- Let
- Example:
- Slide 33 #tk
- Introduce a dummy variable
- Let
- Example:
have joint pdf for and - Let
- Since we have one-to-one, we don't need a dummy variable
- Find the Joint Probability Density Function of
- Inverse map,
is - and
- Support is
and - we get that
and - So we get
and - Find the jacobian
- Since we get
we turn - Joint Probability Density Function.
- By the transformation theorem
for and - Recall
and - for
- and
- for
- Example:
- Let
have a Joint Probability Density Function for and left=-0.50; right=6; top=10; bottom=-10; --- y=x-5|0<=x<=5 y=x|0<=x<=5 x=5|0<=y<=5 x=0|-5<=y<=0- That's how it looks if we graph it
- Let
and find the Probability Density Function of - Since this is not one-to-one, we introduce a dummy variable
- Let
, where is our dummy variable. - Used to get the joint pdf, but we integrate it out at the end
- Inverse Map
so - Finding something in terms of
- Support
we get that - Since
sub in what we had
- Jacobian
- By the transformation theorem
- We don't have
because it's just a dummy var
- We don't have
for and
- Integrate
out - Integrate from the support of
- Integrate from the support of
for
- Another example of slide 33 #tk
- Let
CDF Technique
- Joint Probability Density Function of
- Transformations - Bivariate
- The Cumulative Distribution Function:
- To recover the Probability Density Function
- The CDF technique is useful for 2-to-1 transformations without dummy variables
- Example:
- CDF
- These limits on the integrals are
in terms of
- These limits on the integrals are
if it's setup correctly
- PDF
- Example:
- Find the Probability Density Function of
for - We know this is two-to-one because we have one output
not . left=-0.5; right=2; top=2; bottom=-0.5; --- y=1|0<=x<=1 x=1|0<=y<=1 - This is a two-to-one function, so the
- Support
- Since
- So we rearrange for
- Line with slope
and variable height left=-0.5; right=2; top=2; bottom=-0.5; --- y=1|0<=x<=1 x=1|0<=y<=1 y=-x+0.5|0<=x<=0.5 y=-x+1|0<=x<=1 y=-x+1.5|0<=x<=1.5 y=-x+2|0<=x<=2 - All of these are possible
- We're looking for the region below however.
- As the height of the line increases we have more and more area under the line inside the square we have to find
- We want that
- Two cases:
- Area to find is a triangle
left=-0.5; right=2; top=2; bottom=-0.5; --- y=1|0<=x<=1 x=1|0<=y<=1 y=-x+0.5|0<=x<=0.5 y=-x+1|0<=x<=1- #tk
for
- Area to find is a square with a triangle cutout of the top right
left=-0.5; right=2; top=2; bottom=-0.5; --- y=1|0<=x<=1 x=1|0<=y<=1 y=-x+1.5|0<=x<=1.5 y=-x+2|0<=x<=2- It's easier to calculate the area of the top right triangle subtracted from the square
- #tk
for
- Area to find is a triangle
- For both cases the CDF is case 1 + case 2
- CDF
- PDF
- Since
- Find the Probability Density Function of