2.8 Constructing Discrete and Cumulative Distributions
Turn Outcomes into Numbers
An outcome need not be numerical: a two-coin result can be HT. A random variable assigns a numerical value to each chance outcome. For two independent fair tosses, define as the number of heads. Then TT gives 0, HT and TH each give 1, and HH gives 2. These are discrete, countable values. X is not the outcome string; it is the number computed from that string.
The four ordered toss results are equally likely. Combining outcomes that give the same value produces the complete probability distribution:
| X: heads | Outcomes | P(X=x) |
|---|---|---|
| 0 | TT | 1/4 |
| 1 | HT, TH | 1/2 |
| 2 | HH | 1/4 |
Every possible value appears, each probability is nonnegative, and the probabilities sum to 1. A probability graph has values 0, 1 and 2 on its horizontal axis and bars of heights 0.25, 0.50 and 0.25. A function may specify those same probabilities at the three values and 0 elsewhere. Tables, graphs and functions are alternative representations of one distribution, not three different models.
Constructing an Empirical Version
The exact table above comes from probability rules. We can also simulate pairs of independent fair tosses and estimate the distribution. Suppose a fresh 40-trial run records X=0 ten times, X=1 eighteen times and X=2 twelve times. Its empirical table is 0.25, 0.45 and 0.30. Dividing each count by 40 makes the probabilities sum to 1. It estimates the exact distribution; differences do not imply that the coin’s model probability changed.
The numerical record and denominator matter. If a run produces no instances of one possible value, include that value with empirical frequency 0 rather than deleting it from the theoretical support. A longer valid run can improve the approximation, but it cannot repair a simulation that fails to use independent fair tosses.
Worked Example: “At Most” Adds Upward
A cumulative distribution records . The less-than-or-equal sign includes the value at the boundary. For the exact two-coin model:
| Boundary t | Included X values | F(t) |
|---|---|---|
| 0 | 0 | 0.25 |
| 1 | 0, 1 | 0.75 |
| 2 | 0, 1, 2 | 1.00 |
For any real input t, a function gives the whole cumulative picture:
The graph is a staircase: it jumps at the attainable values and is flat between them. Thus , while . The difference is the probability at X=1. Discrete boundaries matter; a value can have positive probability. The cumulative values never decrease, and the last one is 1 because all possible outcomes have been included.
Building a distribution therefore means defining the variable, finding every possible numerical value, assigning probabilities consistently, and displaying the result with enough labels to know what a value or bar means. A name such as “number of heads” without the probabilities is not yet a distribution.
Try It Yourself
The following original practice applies the ideas above to a fresh setting. Show the reasoning requested in each part. Answers and task-specific rubrics are on the separate solutions page.
Original generated practice for the Fall 2026 course.
Glossary and deeper reading · 5 refreshers
These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.
-
Random variable
A random variable assigns a numerical value to each outcome of a chance process. Its value is uncertain before the outcome is observed, and its distribution gives the probabilities of possible values. For example, the number of red cards in three draws is a random variable.
Read more: Random variable in the captured Statistics reading →
-
Statistical independence
Statistical independence means that learning one outcome does not change the probability distribution of another. For two events, it implies that the probability of both occurring equals the product of their probabilities. For example, independent draws with replacement keep the second draw’s color probabilities unchanged by the first.
Read more: Statistical independence in the captured Statistics reading →
-
Probability distribution
A probability distribution describes a random variable’s possible values and their probabilities. A discrete distribution lists probability masses, while a continuous distribution describes probabilities through areas under a density. For example, a distribution can list the probabilities of 0, 1, 2, or 3 red cards in three draws.
Read more: Probability distribution in the captured Statistics reading →
-
Probability
Probability quantifies how likely an event is under a specified chance model. It lies between 0 and 1, with larger values representing greater likelihood. For example, drawing a red card from a well-shuffled standard deck has probability one half.
-
Simulation
A simulation imitates a chance process using a specified model. Repeated simulated outcomes can approximate probabilities when the model faithfully represents the situation. For example, random digits can model repeated draws from a bag with known color proportions.