24 min total

Probability

Transformations & MGFs

Transformations & MGFs

A transformation changes the values of a random variable. To find its new distribution, track which original values produce the event of interest, including the support and any multiple inverse branches.

Start with the CDF

For , write . Solve that inequality in terms of , evaluate the resulting probability, and differentiate when a density exists.

If and , then for we have . Therefore:

Change of variables

For a differentiable monotone transformation with inverse , adjust the density by how much the transformation stretches or compresses distances.

If several input values lead to the same output, add the contributions from every valid inverse branch. For instance, squaring a variable that can be positive or negative requires both square roots.

For an invertible differentiable transformation of two variables, the corresponding adjustment is the absolute determinant of the inverse Jacobian.

Transform the support along with the formula. A correct determinant on the wrong region still gives the wrong distribution.

Convolution for independent sums

These formulas assume independence. Restrict the sum or integral to values where both factors have valid support. Adding two densities pointwise does not give the density of the sum.

Moment-generating functions

When this function is finite throughout an open interval around zero, it determines the distribution and generates its moments: . Merely having every ordinary moment finite is not enough to guarantee such an MGF; the log-normal distribution is a useful counterexample.

To identify a distribution, compute an MGF, check its domain around zero, and match it to a known one. For example, multiplying the MGFs of two independent Poisson variables adds their rate parameters.

For , the expansion gives . In particular, .