AI GLOSSARY · AI CONCEPTS

Cumulative distribution function

Markdown version

Definition

A cumulative distribution function is a function giving the probability that a random variable is less than or equal to each chosen value.

Also called: CDF, distribution function.

In plain language

The cumulative distribution function of a random variable X is F(x) = P(X ≤ x). It accumulates probability from the lower end of the variable’s range through x. A CDF applies to discrete and continuous variables, stays between 0 and 1 and never decreases as x increases. It need not be smooth.

Technical definition

For any random variable, F(x) = P(X ≤ x). If a distribution has density f, its CDF can be obtained by integrating f up to x; that representation does not apply when no density exists. For a < b, P(a < X ≤ b) = F(b) - F(a). An empirical cumulative proportion computed from a finite sample estimates or summarizes observed data and must not be presented as the population CDF without qualification.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    data-analysis-eda 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Use the data-analysis EDA skill to inspect numeric quantiles, ranges, counts and possible coding problems before interpreting cumulative patterns in a CSV.
    Why it exercises the concept
    Quantiles and ordered observations help check cumulative claims and reveal sentinels or unit errors. The skill profiles the supplied sample only; it does not fit a population distribution, calculate arbitrary requested CDF values, train a model or certify representativeness.

How it shows up when you use agents

An agent can use a cumulative distribution function when a task asks for the probability that a random quantity is at or below a threshold. The definition is F(x) = P(X ≤ x), so the inequality and the threshold both matter.

Consider a hypothetical discrete variable X with P(X = 0) = 0.2, P(X = 1) = 0.5 and P(X = 2) = 0.3. Then F(0) = 0.2, F(1) = 0.2 + 0.5 = 0.7 and F(2) = 1. The function rises in steps; it does not need to be smooth. The probability that 0 < X ≤ 2 is F(2) - F(0) = 1 - 0.2 = 0.8.

For an observed sample, an agent might instead report the proportion of recorded values at or below a threshold. Label that result as an empirical sample proportion, including its count and denominator, rather than silently treating it as a known population probability.

Common confusions

A CDF value is cumulative probability, not density. If a distribution has a probability density function, integrating that density up to x produces F(x). But the CDF itself is already a probability and must lie between 0 and 1. A density’s height has different units and can exceed 1.

CDFs apply to both discrete and continuous random variables. Do not assume every CDF is smooth or that every continuous distribution has a density. The general definition F(x) = P(X ≤ x) remains valid without a density.

An empirical cumulative calculation and a population model answer different questions. In a hypothetical sample with 7 of 10 values at or below 4, the empirical cumulative proportion at 4 is 7 / (10) = 0.7. That arithmetic describes those ten observations; it does not prove the population probability is 0.7. The EDA skill can inspect quantiles, ranges, counts, outliers and coding issues, but it does not fit a distribution, calculate arbitrary requested CDF values or certify that the sample represents a population.

More in AI concepts

Next steps

  1. data-analysis-eda A skill that exercises it.
  2. Data analysis Related term.
  3. Predictive analytics Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by OpenAI Codex (configured gpt-5.6-sol); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (3)
  • : Independent automated source/example and simulated-reader review closed. Cached broad US definition-query estimate; not AI-exclusive or promised traffic. Final runtime gate recorded separately; publication disabled.
  • : Private source-bound draft; independent factual, reader and runtime gates pending. Cached broad US demand is not exclusively AI demand.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.