A cumulative distribution function, F(x), gives the probability that the random variable X is less than or equal to x, for every value x i.e.

*P(X ≤ x)*

By analogy, this concept is very similar to the cumulative relative frequency.

A cumulative distribution is the sum of the probabilities of all values qualifying as “less than or equal” to the specified value. Perhaps an example will make this concept clearer to you.

## Example

Suppose we flipped a coin three times. We would end up with the following probability distribution of the number of heads obtained:

Heads (outcomes) | 0 | 1 | 2 | 3 |

Probability | 1/8 | 3/8 | 3/8 | 1/8 |

To come up with a cumulative distribution function, we have to calculate the cumulative probabilities:

The cumulative probability that X is less than or equal to zero is 1/8

To find the cumulative probability that X is less than or equal to 1, we add P(X = 0) and (P = 1):

P(X ≤ 1) = 1/8 + 3/8 = 1/2

Similarly, P(X ≤ 2) = 1/8 + 3/8 + 3/8 = 7/8

Lastly, P(X ≤ 3) = 1/8 + 3/8 + 3/8 +1/8 = 1

Heads (outcomes) | 0 | 1 | 2 | 3 |

Probability | 1/8 | 3/8 | 3/8 | 1/8 |

Cumulative prob. | 1/8 | 4/8 | 7/8 | 8/8 |

The CDF has two main properties:

- All values in the CDF are between 0 and 1.
- The CDF either increases or remains constant as the value of the specified outcome increases.

**Interpreting the Cumulative Distribution Function**

A cumulative distribution function can help us to come up with cumulative probabilities pretty easily. For example, we can use it to determine the probability of getting at least two heads, at most two heads or even more than two heads. For example, the probability of at most two heads from the cumulative distribution above is 0.875.

### Question

Variable X can take the values 1, 2, 3, and 4. The probability of each outcome has been given below. Construct a table showing the cumulative distribution and use it to determine P(X ≤ 2)

Outcome 1 2 3 4 Probability 0.2 0.3 0.35 0.15 A. 0.5

B. 0.3

C. 0.85

The correct answer is A.

Working:

You simply sum up the probabilities up to and including a given outcome and come up with a table similar to the one below:

Heads (outcomes) 1 2 3 4 Probability 0.2 0.3 0.35 0.15 Cumulative prob. 0.2 0.5 0.85 1 From the table, It is clear that P(X ≤ 2) = 0.5

*Note to candidates: The standard notation for a cumulative distribution function is written in upper case {F(x)} while that of a probability function is written in lower case {f(x)}*

*Reading 10 LOS 10c:*

*Interpret a cumulative distribution function*