Probability

Probability Mass Function

A student arranges separate piles of blocks at marked positions.

Probability Mass Function definition

A probability mass function, or PMF, assigns the probability P(X = x) to each possible value of a discrete random variable.

In Spanish
función de masa de probabilidad
Topic
Probability distributions

Probability Mass Function in a picture

Probability Mass Function diagramEach separate bar gives the probability of one discrete value.Probability012
Each separate bar gives the probability of one discrete value.

How it works

Every mass is nonnegative, and the masses over all possible values sum to one. To find the probability of an event, add the masses of the values that satisfy it. A PMF can be shown as a formula, a table, or a graph with a separate bar for each value.

Worked examples

For masses 0.2 at 0, 0.5 at 1, and 0.3 at 2, find P(X ≥ 1).

0.5 + 0.3 = 0.8.

Known masses sum to 0.85 with exactly one mass missing. Find it.

1 − 0.85 = 0.15.

Can a mass function include a probability of −0.1?

No.

Common mistake

Add only the values in the event. For discrete probabilities, separate bars correspond to points rather than interval widths.

Quick check

What is the total probability mass?

Show answer

1.

Does a PMF describe discrete values?

Show answer

Yes.

How do you get a CDF value from a PMF?

Show answer

Add the masses at values at or below the input.

Sources

Flashcard

Probability Mass Function

Reveal the definition

A probability mass function, or PMF, assigns the probability P(X = x) to each possible value of a discrete random variable.

Effortless Math. “Probability Mass Function.” Math Dictionary.