A discrete random variable assigns a numerical value to each outcome of a random experiment; different outcomes may receive the same value, and its possible values form a finite or countable set. Its probability distribution is represented by a probability mass function, in which probabilities are nonnegative and sum to 1, supporting calculation of event probabilities and measures such as expected value. Continuous random variables and probability density functions are not included.
A discrete random variable is a rule that assigns a numerical value to every outcome of a random experiment. Its possible values are finite or can be listed one at a time.
Suppose two fair coins are tossed. The outcomes are
Define the random variable as:
the number of heads obtained.
| Outcome | Number of heads, |
|---|---|
Notice that different outcomes, and , receive the same value. This is allowed.
The possible values of are
Therefore, is a discrete random variable because its possible values can be listed.
Each outcome has probability . Combine the probabilities of outcomes that give the same value:
This table is the probability mass function of . It tells us the probability of each possible value.
Check that the probabilities are valid:
For example, the probability of getting at least one head is
Thus, to define a discrete random variable, identify the outcomes, assign a numerical value to each outcome, list the possible values, and give the probability of each value.
Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill
Earned ?