Access this content offline
Omniguides
Skip to the reading

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 XX 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: headsOutcomesP(X=x)
0TT1/4
1HT, TH1/2
2HH1/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 F(t)=P(X≤t)F(t)=P(X\le t). The less-than-or-equal sign includes the value at the boundary. For the exact two-coin model:

Boundary tIncluded X valuesF(t)
000.25
10, 10.75
20, 1, 21.00

For any real input t, a function gives the whole cumulative picture:

F(t)={0t<00.250≤t<10.751≤t<21t≥2.F(t)=\begin{cases}0&t<0\\0.25&0\le t<1\\0.75&1\le t<2\\1&t\ge2.\end{cases}

The graph is a staircase: it jumps at the attainable values and is flat between them. Thus P(X≤1)=0.75P(X\le1)=0.75, while P(X<1)=0.25P(X<1)=0.25. 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.

Build a Distribution for the Larger Spin

Two fair four-sided spinners, each labeled 1, 2, 3, 4, are spun independently. Let X be the larger of the two numbers. All 16 ordered pairs are equally likely. A separate newly generated simulation produced these 20 pairs:

(4, 2), (2, 1), (1, 4), (2, 4), (3, 4), (2, 4), (2, 3), (2, 3), (2, 1), (4, 4), (3, 4), (3, 3), (1, 1), (4, 3), (2, 1), (1, 3), (3, 3), (2, 4), (4, 4), (3, 4)

Part a

List or systematically organize the 16 outcomes, map them to X, and identify every possible X value. Explain why X is a discrete random variable with numerical chance outcomes.

Part b

Construct the complete exact probability table and a probability function for X using the equally likely outcome rules. Verify that the probabilities sum to 1.

Part c

Construct a labeled probability bar graph from your exact table. You may draw it or specify the horizontal-axis values, vertical-axis meaning and every bar height unambiguously.

Part d

Construct a cumulative table and a cumulative function F(t)=P(X≤t), including ranges below and above the possible values. Calculate P(X≤3) and P(X<3), explaining the boundary difference.

Part e

Execute the maximum calculation on all 20 simulated pairs. Construct the empirical probability table for every possible X value, state the denominator and compare it with the exact table.

Worked answer and rubric

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.

    Read more: Probability in the captured Statistics reading →

  • 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.

    Read more: Simulation in the captured Statistics reading →

Search lessons, terms and problems