Here is a discrete random variable that takes values in the non-negative integers, or a subset of them.
We cannot predict the value of exactly since probability experiments are subject to chance. We can state the values may take and attach probabilities to these values.
The probability mass function (pmf) of a discrete random variable, is defined by for .
Note that as is a probability, by axiom 1,
As
We have shown that if is a probability mass function then it satisfies the conditions
In theory, any function , which satisfies for and is a pmf of some random variable. The next few exercises give some arbitrary examples of pmfs. In the next chapter we extend these to ones which correspond to random variables of interest.
A random variable which has the outcome every time the experiment is undertaken is a constant. The pmf for this random variable is
which clearly satisfies the two conditions.
Find the pmf of the number of heads in tosses of a fair coin. Coin tossing sample space is
The event equivalence gives
So, by equi-probability,
Note: for all and .
Suppose and each outcome occurs with equal probability. The random variable is defined by . Write down the pmf of .
The induced sample space is . By equi-probability,
If a pmf is specified by for and otherwise, where is constant, then determine the value of .
Therefore . Note that the condition is also satisfied.
If a pmf is specified by for and otherwise, where is constant, then determine the value of .
Therefore .