Probability/Transformation of Random Variables
Transformation of random variables
Underlying principle
Let be random variables, be another random variables, and be random (column) vectors.
Suppose the vector-valued function[1] is bijective (it is also called one-to-one correspondence in this case). Then, its inverse exists.
After that, we can transform to by applying the transformation , i.e. by , and transform to by applying the inverse transformation , i.e. by .
We are often interested in deriving the joint probability function of , given the joint probability function of . We will examine the Template:Colored em and Template:Colored em cases one by one in the following.
Transformation of discrete random variables
Proof. Considering the original pmf , we have In particular, the inverse exists since is bijective.
Transformation of continuous random variables
For Template:Colored em random variables, the situation is more complicated.
Let us investigate the case for univariate pdf, which is simpler. Template:Colored theorem
Proof. Under the assumption that is differentiable and strictly monotone, the cdf ( exists since is strictly monotonic.) Differentiating both side of the above equation (assuming the cdf's involved are differentiable) gives Since , we can write as . Also, we can summarize the above case defined function into a single expression by applying absolute value function to both side: where the absolute value sign is only applied to since the pdf's must be nonnegative, and thus we do not need to apply the sign to them.
Template:Colored remark Let us define Template:Colored em, and introduce several notations in the definition. Template:Colored definition Template:Colored remark Template:Colored example
Proof. Template:Colored em: Assume is differentiable and bijective.
First,
On the other hand, we have where , which is the preimage of the set under .
Applying the change of variable formula to this integral (whose proof is advanced and uses our assumptions), we get Comparing the integrals in and , we can observe the desired result.
Moment generating function
Template:Colored definition Template:Colored remark Template:Colored proposition
Proof.
- Since
- The result follows from simplifying the above expression by
Proof. Similarly,
- lote: law of total expectation
Joint moment generating function
In the following, we will use to denote . Template:Colored definition Template:Colored remark Template:Colored proposition
Proof. 'only if' part: Assume are independent. Then, Proof for 'if' part is quite complicated, and thus is omitted.
Analogously, we have Template:Colored em mgf. Template:Colored definition Template:Colored proposition
Proof.
Moment generating function of some important distributions
Proof.
Proof.
Proof.
- The result follows.
Proof.
- We use similar proof technique from the proof for mgf of exponential distribution.
- The result follows.
Proof.
- Let . Then, .
- First, consider the mgf of :
- It follows that the mgf of is
- The result follows.
Distribution of linear transformation of random variables
We will prove some propositions about distributions of linear transformation of random variables using Template:Colored em. Some of them are mentioned in previous chapters. As we will see, proving these propositions using mgf is quite simple. Template:Colored proposition
Proof.
- The mgf of is
- which is the mgf of , and the result follows since mgf identify a distribution uniquely.
Sum of independent random variables
Proof.
- The mgf of is
- which is the mgf of , as desired.
Proof.
- The mgf of is
- which is the mgf of , as desired.
Proof.
- The mgf of is
- which is the mgf of , as desired.
Proof.
- The mgf of is
- which is the mgf of , as desired.
Proof.
- The mgf of (in which they are independent) is
- which is the mgf of , as desired.
Central limit theorem
We will provide a proof to Template:Colored em (CLT) using mgf here. Template:Colored theorem
Proof.
- Define . Then, we have
- which is in the form of .
- Therefore,
and the result follows from the mgf property of identifying distribution uniquely.
Template:Colored remark A special case of using CLT as Template:Colored em is using normal distribution to Template:Colored em discrete distribution. To improve accuracy, we should ideally have Template:Colored em, as explained in the following. Template:Colored proposition Template:Colored remark Illustration of continuity correcction:
|
| /
| /
| /
| /|
| /#|
| *##|
| /|##|
| /#|##|
| /##|##|
| /|##|##|
| / |##|##|
| / |##|##|
| / |##|##|
| / |##|##|
*------*--*--*---------------------
i-1/2 i i+1/2
|
| /
| /
| /
| /
| /
| *
| /|
| /#|
| /##|
| /###|
| /####|
| /#####|
| /|#####|
| / |#####|
*---*-----*------------------------
i-1 i
|
| /|
| /#|
| /##|
| /###|
| /####|
| *#####|
| /|#####|
| / |#####|
| / |#####|
| / |#####|
| / |#####|
| / |#####|
| / |#####|
| / |#####|
*---------*-----*------------------
i i+1
- β or equivalently, transformation between supports of and