Skip to content

Mathematics · Ch 14 — Probability Distributions

Cumulative Distribution Function (c. d. f.)

14.3.2

Cumulative Distribution Function (c. d. f.)

The p.m.f. fully specifies a discrete random variable's probability distribution, but it is sometimes more convenient to work with a running total instead: the cumulative distribution function (c.d.f.) of a discrete random variable XX, denoted FF, is defined by F(x)=P[X≤x]=∑xi≤xP[X=xi]=∑xi≤xpi=∑xi≤xf(xi)F(x) = P[X \le x] = \sum_{x_i \le x} P[X = x_i] = \sum_{x_i \le x} p_i = \sum_{x_i \le x} f(x_i), where ff is the p.m.f. of XX. In words, F(x)F(x) adds up the p.m.f. over every possible value that does not exceed xx.

Reusing the four-coin-toss experiment (XX = number of heads in 4 tosses), Table 7.4 places f(x)=P[X=x]f(x) = P[X=x] and F(x)=P[X≤x]F(x) = P[X \le x] side by side: F(0)=1/16F(0) = 1/16; F(1)=1/16+1/4=5/16F(1) = 1/16+1/4 = 5/16; F(2)=5/16+3/8=11/16F(2) = 5/16+3/8 = 11/16; F(3)=11/16+1/4=15/16F(3) = 11/16+1/4 = 15/16; F(4)=15/16+1/16=1F(4) = 15/16+1/16 = 1. A second illustration returns to the coin-tossed-till-first-head experiment; here XX ranges over every positive integer, and Table 7.5 shows the pattern continuing indefinitely, with f(x)f(x) halving at each step (1/2,1/4,1/8,1/16,1/32,…1/2, 1/4, 1/8, 1/16, 1/32, \ldots) and F(x)F(x) climbing towards, but never in finitely many steps reaching, 1 (1/2,3/4,7/8,15/16,31/32,…1/2, 3/4, 7/8, 15/16, 31/32, \ldots).

Because a discrete random variable jumps only at its possible values and is flat everywhere else, its c.d.f. F(x)F(x) is always a non-decreasing step function — a fact contrasted again for the continuous case in section 7.4.2, where the corresponding F(x)F(x) turns out to be a non-decreasing continuous function instead. …

Table 1Table 7.4 – p.m.f. and c.d.f. of the number of heads in four coin tosses
x01234
f(x) = P[X = x]1/161/43/81/41/16
Table 2Table 7.5 – p.m.f. and c.d.f. of the number of tosses to get the first head
x12345...
f(x)1/21/41/81/161/32...