Distributions of Functions of Discrete R.V.s (Univariate)
Univariate Transformations, 1-to-1 mappings, and Summation Methods
Transformations of Discrete Variables
Often in statistics, we know the probability distribution of a random variable , but we are actually interested in the distribution of some function of , say . We want to determine the probability distribution of .
One-to-One Transformations
Let be a discrete random variable with probability function and space , and let be a one-to-one transformation.
The space of is .
Then the p.m.f. of is:
where is the Inverse Function.
Example 1
Let be a r.v. with the following probability distribution:
Let . Find the probability distribution of .
Solution
The transformation is , which is one-to-one. The inverse is . The new space is .
Using the theorem , the distribution is:
One-to-One Transformation
Slide the parameter to scale the distribution linearly.
Example 2
Let .
Find the p.m.f. of .
Solution
The transformation is one-to-one. The inverse is . The space of is .
Example 3
Let have the following p.m.f.:
Find the p.m.f. of .
Solution
Since the space of is non-negative (), the transformation is one-to-one over this support. The inverse is . The space of is .
Example 4 (Homework)
Consider a sequence of independent flips of a fair coin. Let be the number of flips needed to obtain the 1st head. Let be the number of flips before the 1st head. Find the p.m.f. of .
Solution
follows a Geometric distribution with . The number of flips before the first head is . The transformation is , which is one-to-one. The inverse is . The space of is . Thus, the space of is .
The p.m.f. of is .
Many-to-One Transformations
In general, if the transformation is not one-to-one. In particular, if a given value of , say , corresponds to more than one value of , say . Then:
Example 1
Consider the following probability distribution of :
Find the probability distribution of .
Solution
The space of is . We sum the probabilities for each :
Many-to-One Transformation
Fold the distribution mathematically to see probabilities sum together.
Example 2
Let
Find the p.m.f. of: a)
b)
Solution
Part (a) The possible values for are .
Part (b) The possible values for based on are . The space is .
- For , there is only one value of that maps to (since ). The inverse is .