4.1 - Distributions of transformed variables
Changing a random variable changes both its range and the way probability is spread across it. You will find a transformed CDF by rewriting its probability event in terms of the original variable, differentiate to obtain the new density, and combine inverse branches when a transformation is many-to-one.
Transforming an inequality
If a variable can be negative, why does cubing preserve its order while squaring may not? Cubing is increasing throughout the real line; squaring folds negative and positive values together. Begin with transformations that preserve or reverse order throughout the support.
Let . To find its CDF , start with its meaning:
Rewrite this as an event involving , whose distribution you know. First find the possible values of : transform the original support, checking any turning points. The CDF is zero below the smallest possible value and one above the largest.
Monotone transformation
A transformation is strictly increasing on an interval if larger inputs always give larger outputs, and strictly decreasing if larger inputs always give smaller outputs. In either case it is one-to-one there: each output has one input.
An increasing transformation preserves an inequality's direction. A decreasing transformation reverses it. Monotonicity is needed on the support being used, rather than necessarily on the whole real line.
For example, is increasing on , but is not monotone on . By contrast, is increasing even when negative inputs are allowed; use the real cube root when inverting it.
Worked example 1: increasing cubing
Question. The variable is uniform on . Find the CDF of .
Plan. Transform the endpoints, then rewrite using the increasing cube function.
The support becomes . For ,
since the original CDF is on .
Answer.
Check. The event is , which occupies half of the uniform interval. The formula gives , as well as and .
Now reflect the output: the transformation decreases as increases. The support has the same endpoints, but a lower-tail event for becomes an upper-tail event for .
Worked example 2: a decreasing transformation
Question. For the same uniform , find the CDF of .
Plan. Rearrange the event carefully and use the complement of the original CDF.
Again . For ,
There is no extra endpoint term because has zero probability at any individual value.
Answer.
Check. is equivalent to , so its probability is . The formula gives . It increases from to , as a CDF must.
For an increasing transformation with inverse , this process gives within the transformed range. For a decreasing transformation of a continuous variable, it gives . The event is the safest way to decide which one applies.
Watch out
For , the correct event is . Using a lower tail would make the supposed CDF decrease from one to zero.
Apply the decreasing-event method with a different uniform interval.
Differentiating the transformed CDF
Once you have the transformed CDF, differentiate on its intervals to find the transformed PDF, keeping the transformed support attached to every formula.
The density is a rate of accumulation with respect to the new variable . Simply substituting an inverse into the old PDF misses the change in scale. Differentiating the new CDF supplies the needed chain-rule factor automatically.
CDF method for a transformed density
For the continuous piecewise differentiable distributions used here:
on each open interval of differentiability. State outside the transformed support, and check over that support.
The CDF transformation method is not in the formula booklet: learn it.
An infinite limiting density at an endpoint can still have finite area. A PDF may be assigned any nonnegative value at an isolated endpoint; the probabilities come from its integral, including an improper integral where necessary.
Worked example 3: a square gives a uniform density
Question. The PDF of is for , and zero otherwise. Find the PDF of .
Plan. Use that squaring is increasing on this positive support; construct , then differentiate.
For ,
The complete CDF is zero below zero and one above nine.
Answer.
Check. This is uniform on , with total area one and mean . Independently, , agreeing with .
Keep the original density, but change the transformation from a square to a cube. The transformed support and chain-rule power both change.
Worked example 4: an integrable endpoint singularity
Question. For the same , find the PDF of .
Plan. Integrate up to , then differentiate the resulting power of .
The transformed support is . On this range,
Although this density grows without bound as approaches zero from above, its integral is finite:
Answer. One valid PDF, choosing its value at zero as zero, is
Check. From this PDF,
.
Directly from the original variable,
.
These independent expectation calculations agree.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account