Safekipedia

Probability distribution

Adventurer · ages 7–10Adapted from Wikipedia
Figure 2: The probability density function (pdf) of the normal distribution, also called Gaussian or "bell curve", the most important absolutely continuous random distribution. As notated on the figure, the probabilities of intervals of values correspond to the area under the curve.

For other uses, see Distribution.

In probability theory and statistics, a probability distribution describes how likely the possible results of a random event are. It gives probabilities to events, which are groups of possible outcomes of a probabilistic experiment. Put simply, it tells us how likely different results are. In formal terms, it is a probability measure, a rule that gives probabilities to events in a way that follows the axioms of probability.

Probability distributions are closely linked to random variables. A random variable is a rule that gives a value to each outcome of an experiment. It creates a probability distribution over the values it can take. For example, a coin toss can be shown with a random variable X that equals 1 for heads and 0 for tails. If the coin is fair, the distribution gives a probability of 1/2 to X = 1 and 1/2 to X = 0.

In practice, distributions are often described using functions such as cumulative distribution functions, probability mass functions, or probability density functions. The type of function used depends on the kind of distribution. Probability mass functions are used for discrete distributions. Probability density functions are used for many continuous distributions.

Some probability distributions appear often or are especially important in theory, so they have special names. Examples of these are collected in the list of probability distributions.

Introduction

A probability distribution is a way of describing how likely events are. An event is a group of outcomes from a random phenomenon. All of the possible outcomes together make up the sample space, which is a set. Outcomes can be numbers, labels, or other things. For a coin flip, the outcomes are "heads" and "tails." For a die roll, they are the numbers 1 to 6. When outcomes are random variables that can be placed on a measurable space, such as the real numbers, scientists sort them into two kinds: discrete and continuous.

With discrete outcomes, a probability mass function gives each outcome its own probability. A fair die gives each side a probability of 1/6. The chance of rolling an even number is the sum of the chances for 2, 4, and 6, which is 1/2.

With continuous outcomes, a single exact value usually has a probability of zero. Only groups of outcomes, such as intervals, can have a probability above zero. For example, the chance that a piece of ham weighs exactly 500 g is zero. A package labeled "500 g" can still pass quality control if it weighs between 490 g and 510 g. This range allows some tolerance for small differences.

Figure 1: The left graph shows a probability density function. The right graph shows the cumulative distribution function. The value at a in the cumulative distribution equals the area under the probability density curve up to the point a.

Continuous distributions can be described with a cumulative distribution function. This function gives the probability that a value is no larger than a certain number. It is shown as the area under the probability density function from negative infinity up to that number. Most continuous distributions used in practice are absolutely continuous, so they can be described by their probability density function. The density shows how likely a value is near a point, in a very small infinitesimal range. To find the probability that a value falls in an interval, we add up the density over that interval by integrating it.

General probability definition

A probability distribution tells us how likely each possible result of a random variable is. It moves the probabilities onto the values the variable can take, which is called a pushforward measure. A distribution is a kind of probability measure. Its probabilities must follow the Kolmogorov axioms, such as never being negative and never being more than 1. Distributions can be described in several ways. One way is with a probability mass function, and another is with a cumulative distribution function. They work with sets of outcomes built from a σ-algebra, within a probability space and a measurable space.

Figure 2: The probability density function (pdf) of the normal distribution, also called Gaussian or "bell curve", the most important absolutely continuous random distribution. As notated on the figure, the probabilities of intervals of values correspond to the area under the curve.

Distributions usually fall into two groups. A discrete distribution is used when outcomes can be counted, like a coin toss or a roll of a die. It is described by a probability mass function. A continuous distribution is used when outcomes can take any value in a range, like the temperature on a given day. It is described by a probability density function.

A distribution for one variable is univariate. Examples include the binomial distribution and the hypergeometric distribution. A distribution for two or more variables is multivariate. One example is the multivariate normal distribution, which describes a joint probability distribution of a random vector. The moment generating function and the characteristic function can also identify a distribution.

Terminology

Some important words are used often when studying probability distributions. A random variable takes values from a sample space, and probabilities tell us which values are more likely. An event is a set of possible outcomes that happens with a certain probability. The probability function, also called a probability measure, tells us the chance that an event happens. The cumulative distribution function tells us the chance that a random variable is less than or equal to a value. It only works for real numbers. The quantile function does the opposite job, so it is its inverse. For variables with a limited or countable number of values, a probability mass function tells us the chance of each value. A frequency distribution shows how often outcomes appear in a sample. A relative frequency distribution divides those counts by the sample size. A categorical distribution is used for variables that can only have a set number of values.

Figure 3: The probability mass function (pmf) p(S) specifies the probability distribution for the sum S of counts from two dice. For example, the figure shows that p(11)=2/36=1/18. The pmf allows the computation of probabilities of events such as P(X>9)=1/12+1/18+1/36=1/6, and all other probabilities in the distribution.

For variables that can take uncountably many values, a probability density function gives a relative likelihood for each value. The support is the set of values where a random variable has a chance of landing near them. The expected value, or mean, is the weighted average of the possible values, using their probabilities as weights. The median is the value that splits the possible values into two halves, each with a probability of no more than one-half. The mode is the value with the highest probability. For continuous variables, it is a place where the density has a peak.

Figure 4: The probability mass function of a discrete probability distribution. The probabilities of the singletons {1}, {3}, and {7} are respectively 0.2, 0.5, 0.3. A set not containing any of these points has probability zero.

Absolutely continuous probability distribution

Main article: Probability density function

An absolutely continuous probability distribution is a way of spreading chances over real numbers. There are endlessly many possible values, like a whole range on a number line. A random variable X has this kind of distribution if there is a function f where the chance of X falling between a and b is the integral of f from a to b. This function is called a probability density function. So these distributions are exactly the ones that have one. The chance of X taking any single exact value is zero. An absolutely continuous random variable is one whose distribution is absolutely continuous. Common examples include the normal, uniform, chi-squared, and others distributions.

These distributions are also exactly the ones whose cumulative distribution function (which gives the chance that X is at most x) is absolutely continuous. Some distributions are called "continuous" but are not absolutely continuous. Every absolutely continuous distribution is continuous, but not every continuous one is absolutely continuous. Some singular distributions have no density at all, such as the Cantor distribution. Some authors use the word "continuous" to mean the same thing as absolutely continuous. For a more general idea of density, see absolutely continuous measure.

Kolmogorov definition

Main articles: Probability space and Probability measure

In the measure-theoretic way of describing probability theory, a random variable is a measurable function called X. It starts from a probability space and goes to a measurable space. The chances of its events follow Kolmogorov's probability axioms. The probability distribution of X is the image measure of X. This is a probability measure on that measurable space.

Other kinds of distributions

Figure 8: One solution for the Rabinovich–Fabrikant equations. What is the probability of observing a state on a certain place of the support (i.e., the red subset)?

Many real-life situations can be shown with distributions whose results lie on simple shapes, such as hypercubes or balls. But some things have results that form complicated curves. In these cases, the probability distribution is often found by studying the thing itself, not by using a simple formula.

One example is the Rabinovich–Fabrikant equations. These are a system of differential equations that can be used to describe the behaviour of Langmuir waves in plasma. Complicated shapes like this appear often in dynamical systems. It is not easy to show that a probability measure exists for such systems. The chance of seeing the system in one part of the curve might not stay the same over different time periods. So a measure exists only if the long-term frequency settles down. The branch of study that looks at this is ergodic theory.

Lebesgue decomposition

The Lebesgue decomposition theorem says that any probability distribution on the real line can be split in a single way into a mix of three basic types. The amounts in the mix add up to 1. The first type is discrete. Its probability is on a list of separate values, and its cumulative distribution function (CDF) jumps in steps. The second type is absolutely continuous. It has a probability density function, and the values with a non-zero density have a Lebesgue measure greater than zero. The third type is singular continuous. Its CDF is smooth in the sense of having no jumps, but its slope is zero almost everywhere. Its probability sits on a set of measure zero, such as the Cantor set. A well-known example is the Cantor distribution.

Most standard distributions used in statistics are either purely discrete or purely absolutely continuous. Singular distributions rarely appear in everyday statistics. They are still important in the study of stochastic processes and fractals.

Random number generation

Main article: Pseudo-random number sampling

Most methods use a pseudorandom number generator. This tool makes numbers between 0 and 1, and each value in the half-open interval \0, 1) has the same chance of being picked. These random numbers are then changed by a set of steps so they follow the kind of pattern that is needed. Starting from this kind of even randomness, many kinds of random values can be made.

The change can be done with a special function called the quantile function. For example, a random value that follows an exponential pattern can be made from one of these even random numbers. In practice, though, this function is sometimes unknown or too hard to work out, so other methods, such as the Monte Carlo method, are used.

Common probability distributions and their applications

For a more comprehensive list, see list of probability distributions.

Main article: Conjugate prior

Probability distributions are a way to describe things that vary. They are a key part of probability theory and statistics. Many things measured in a group vary, such as people's height, how strong a metal is, sales growth, or traffic flow. Almost all measurements also have some error built in. In physics, many processes are described using probabilities, from the kinetic properties of gases to the quantum mechanical description of fundamental particles. Because of this, a single number is often not enough to describe a quantity, and probability distributions are often a better choice.

The distributions are grouped by the type of process they relate to. Most of them have one main peak, meaning values gather around one point. Real measurements can sometimes cluster around several values, and these can be shown with a mixture distribution. Some examples are the normal distribution for steady growth, such as errors or offsets; the log-normal distribution and Pareto distribution for fast growth, such as prices, incomes, or populations; the binomial distribution for yes-or-no events; the Poisson distribution for events that happen at a given rate; and the Beta distribution for a single probability between 0 and 1.

Fitting

Convergence

A key idea in probability theory is convergence of sequences of probability distributions. A sequence of distributions can get closer and closer to another distribution. This means the chances of events begin to match the final distribution.

This idea is important for the Central limit theorem. That theorem says that when you add up many random values and adjust the total, its pattern becomes more and more like the standard normal distribution. This happens no matter what the original values looked like.

Quiz time!

4 questions about Probability distribution

Question 1 of 4

What does a probability distribution tell us?

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on Probability distribution, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.