Business Mathematics and Statistics · Ch 6 — Random Variable and Mathematical Expectation
Cumulative Distribution Function
Cumulative Distribution Function
The cumulative distribution function, denoted , gives the probability that a random variable takes a value less than or equal to a given number :
The c.d.f. is defined identically in spirit for both discrete and continuous random variables, though it looks different in each case.
c.d.f. of a discrete random variable
For a discrete random variable, is obtained by adding up the probabilities of every value up to and including :
The result is a step function — it jumps up by at each possible value and stays flat in between.
Illustration. Take the distribution:
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 0.1 | 0.3 | 0.4 | 0.2 |
The c.d.f. is built by accumulating probabilities from the left:
| 1 | 0.1 |
| 2 | 0.1 + 0.3 = 0.4 |
| 3 | 0.4 + 0.4 = 0.8 |
| 4 | 0.8 + 0.2 = 1.0 |
Notice , since is certain to be at most its largest value.
c.d.f. of a continuous random variable
For a continuous random variable, the sum is replaced by an integral of the p.d.f.:
Here is a smooth (not stepped) function, and the p.d.f. can be recovered back from it by differentiation: .
Key properties of any c.d.f.
- for every — it is a probability, so it can never go below or above .
- is non-decreasing — as increases, never falls; it only stays the same or rises.
- as , and as . …
The function giving the probability that a random variable takes a value up to and including ; non-decreasing, with $F(-\in …