CDF for Discrete Random Variables
You'll learn how to construct cumulative distribution functions for discrete random variables using step functions with jumps at each possible value.
The Core Idea
For a discrete random variable, the cumulative distribution function (CDF) is built from its probability mass function (PMF). Since a discrete random variable only takes on specific, separated values, its CDF is a step function that jumps at each possible value of the random variable.
At each value in the range, the CDF jumps upward by exactly —the probability mass at that point. Between these values, the CDF remains constant (flat), creating a "staircase" pattern.
Constructing the CDF from a PMF
Given a discrete random variable with PMF , the CDF is:
The process:
- List all possible values in ascending order
- For : (no probability accumulated yet)
- At each : the function jumps up by
- Between jumps: remains constant
- Eventually: as exceeds all possible values
Example Pattern
If can be 1, 2, or 4 with , , :
- For :
- For : (jump at 1)
- For : (jump at 2)
- For : (jump at 4)
The jumps are discontinuities—the function value literally leaps upward at each point in the range.
Key Takeaway: The CDF of a discrete random variable is a right-continuous step function that jumps by the PMF value at each possible outcome, creating a staircase that rises from 0 to 1.