🎲  Cumulative Distribution Function (CDF)

Cumulative Distribution Function (CDF)#

The probability that a variable is at most a given value.

Important

✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.

What it is#

The cumulative distribution function (CDF) gives the probability that a random variable is at most \(x\):

\[F(x) = \Pr[X \le x].\]

Unlike the PMF or PDF, it works for both discrete and continuous variables.

Properties#

The CDF is non-decreasing, runs from 0 to 1, and is right-continuous. For a discrete variable it is a step function; for a continuous one it is smooth:

\[F(x) = \sum_{k \le x} p(k) \quad\text{(discrete)}, \qquad F(x) = \int_{-\infty}^{x} f(t)\,dt \quad\text{(continuous)}.\]

Why it’s useful#

It directly answers “at most” and interval questions, and it is the bridge between representations: quantiles are read off its inverse and the density is its derivative. For a fair die, \(F(2) = 1/3\).


Theme: Probability & Statistics Foundations  ·  All terminology



See also

Source article Adapted (context, re-expressed) in our own words from: Cumulative Distribution Function (CDF) (insightful-data-lab.com).

Tags: purpose: reference topic: terminology level: beginner