Nepedia
Back to Discover
Advanced Reader
🔢

Probability mass function

math Maturity 11-13 Next article →

A probability mass function (PMF) is a mathematical tool used in probability and statistics. It provides the probability that a discrete random variable is exactly equal to a specific value. A discrete random variable is something you can count, such as the number of heads in a series of coin flips.

Discrete probability distrib
Discrete probability distrib

The PMF serves as the primary way to define a discrete probability distribution. These functions can apply to scalar variables or multivariate variables, which involve more than one value at a time. This tool is essential for organizing and understanding the likelihood of specific, countable outcomes.

The mechanism of a PMF relies on two fundamental rules regarding its values. First, every individual probability must be non-negative, meaning no value can be less than zero. Second, the sum of all possible probabilities must equal exactly one. This requirement ensures that the total probability for all hypothetical outcomes is conserved. Thinking of probability as physical mass helps avoid errors in calculation.

Discrete probability distrib
Discrete probability distrib

If a specific value carries the largest amount of probability mass, that value is called the mode. In a PMF, the function is zero for all but a countable number of values. This creates a discontinuous function, which differs from the smooth curves seen in continuous models.

There are several distinct types of distributions that use a PMF. The Bernoulli distribution is used for experiments with only two possible outcomes, often encoded as 1 and 0. A single toss of a fair coin is a classic example of a Bernoulli trial. The binomial distribution expands on this by modeling the number of successes in a set number of independent trials. For instance, it can calculate the chance of rolling exactly one six when a die is rolled three times.

Fair dice probability distribution
Fair dice probability distribution

Another type is the geometric distribution, which models the number of trials needed to achieve one success. An example would be flipping a coin repeatedly until the first "heads" appears.

Other specialized distributions exist to handle more complex scenarios. The categorical distribution, or generalized Bernoulli distribution, applies when there are two or more categories in a single trial. If these categories do not have a natural order, the categorical distribution still functions. For multivariate cases, the multinomial distribution is used. This models the number of successes in various categories after a specific number of trials. It provides the probability for different combinations of successes across those categories.

Mathematical history and theory provide a deeper way to view these functions. In measure theory, a PMF can be seen as a special case of a more general construction. It can be viewed as the distribution of a random variable or as a probability density function with respect to a counting measure. This relationship is defined through the Radon-Nikodym derivative.

Discrete probability distrib
Discrete probability distrib

This formal approach allows mathematicians to connect discrete events to broader mathematical systems. It also explains how a continuous random variable can be turned into a discrete one through discretization.

The significance of the PMF is clearly seen in how it handles different scales of outcomes. In finite cases, the outcomes are limited, such as the six sides of a fair die.

Fair dice probability distribution
Fair dice probability distribution

However, a PMF can also describe infinite distributions. An exponentially declining distribution is an example where there are an infinite number of positive integer outcomes. Even in this infinite scenario, the total probability mass must still sum to one. For example, a sequence like 1/2 + 1/4 + 1/8... equals exactly one.

Understanding the PMF requires distinguishing it from a continuous probability density function (PDF). A PDF is associated with continuous random variables rather than discrete ones. To find a probability using a PDF, one must integrate the function over a specific interval. In contrast, a PMF gives the exact probability for a single point. This distinction is vital for scientists and mathematicians when deciding which model to apply to a real-world problem. Whether studying a simple die roll or complex multivariate systems, the PMF provides the necessary structure.

661 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Discrete probability distrib.svg
Discrete probability distrib.svg
File:Fair dice probability distribution.svg
Fair dice probability distribution.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.