# Probability distribution

In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment.[1][2] It is a mathematical description of a random phenomenon in terms of its sample space and the probabilities of events (subsets of the sample space).[3]

For instance, if the random variable X is used to denote the outcome of a coin toss ("the experiment"), then the probability distribution of X would take the value 0.5 for X = heads, and 0.5 for X = tails (assuming the coin is fair). Examples of random phenomena include the weather condition in a future date, the height of a person, the fraction of male students in a school, the results of a survey, etc.[4]

A probability distribution is a mathematical function that has a sample space as its input, and gives a probability as its output. The sample space is the set of all possible outcomes of a random phenomenon being observed; it may be the set of real numbers or a set of vectors, or it may be a list of non-numerical values. For example, the sample space of a coin flip would be {heads, tails} .

Probability distributions are generally divided into two classes. A discrete probability distribution is applicable to the scenarios where the set of possible outcomes is discrete (e.g. a coin toss or the roll of a dice), and the probabilities are here encoded by a discrete list of the probabilities of the outcomes, known as the probability mass function. On the other hand, continuous probability distributions are applicable to scenarios where the set of possible outcomes can take on values in a continuous range (e.g. real numbers), such as the temperature on a given day. In this case, probabilities are typically described by a probability density function.[4][5] The normal distribution is a commonly encountered continuous probability distribution. More complex experiments, such as those involving stochastic processes defined in continuous time, may demand the use of more general probability measures.

A probability distribution whose sample space is one-dimensional (for example real numbers, list of labels, ordered labels or binary) is called univariate, while a distribution whose sample space is a vector space of dimension 2 or more is called multivariate. A univariate distribution gives the probabilities of a single random variable taking on various alternative values; a multivariate distribution (a joint probability distribution) gives the probabilities of a random vector – a list of two or more random variables – taking on various combinations of values. Important and commonly encountered univariate probability distributions include the binomial distribution, the hypergeometric distribution, and the normal distribution. The multivariate normal distribution is a commonly encountered multivariate distribution.

## Introduction

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(S > 9) = 1/12 + 1/18 + 1/36 = 1/6, and all other probabilities in the distribution.

To define probability distributions for the simplest cases, it is necessary to distinguish between discrete and continuous random variables. In the discrete case, it is sufficient to specify a probability mass function ${\displaystyle p}$ assigning a probability to each possible outcome: for example, when throwing a fair die, each of the six values 1 to 6 has the probability 1/6. The probability of an event is then defined to be the sum of the probabilities of the outcomes that satisfy the event; for example, the probability of the event "the dice rolls an even value" is

${\displaystyle p(2)+p(4)+p(6)=1/6+1/6+1/6=1/2.}$

In contrast, when a random variable takes values from a continuum then typically, any individual outcome has probability zero and only events that include infinitely many outcomes, such as intervals, can have positive probability. For example, the probability that a given object weighs exactly 500 g is zero, because the probability of measuring exactly 500 g tends to zero as the accuracy of our measuring instruments increases. Nevertheless, in quality control one might demand that the probability of a "500 g" package containing between 490 g and 510 g should be no less than 98%, and this demand is less sensitive to the accuracy of measurement instruments.

Continuous probability distributions can be described in several ways. The probability density function describes the infinitesimal probability of any given value, and the probability that the outcome lies in a given interval can be computed by integrating the probability density function over that interval. The probability that the possible values lie in some fixed interval can be related to the way sums converge to an integral; therefore, continuous probability is based on the definition of an integral.

On the left is the probability density function. On the right is the cumulative distribution function, which is the area under the probability density curve.

The cumulative distribution function describes the probability that the random variable is no larger than a given value; the probability that the outcome lies in a given interval can be computed by taking the difference between the values of the cumulative distribution function at the endpoints of the interval. The cumulative distribution function is the antiderivative of the probability density function provided that the latter function exists. The cumulative distribution function is the area under the probability density function from minus infinity ${\displaystyle \infty }$ to ${\displaystyle x}$ as described by the picture to the right.[6]

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

## Terminology

Some key concepts and terms, widely used in the literature on the topic of probability distributions, are listed below.[1]

### Functions for discrete variables

• Probability function: describes the probability distribution of a discrete random variable.
• Probability mass function (pmf): function that gives the probability that a discrete random variable is equal to some value.
• Frequency distribution: a table that displays the frequency of various outcomes in a sample.
• Relative frequency distribution: a frequency distribution where each value has been divided (normalized) by a number of outcomes in a sample i.e. sample size.
• Discrete probability distribution function: general term to indicate the way the total probability of 1 is distributed over all various possible outcomes (i.e. over entire population) for discrete random variable.
• Cumulative distribution function: function evaluating the probability that ${\displaystyle X}$ will take a value less than or equal to ${\displaystyle x}$ for a discrete random variable.
• Categorical distribution: for discrete random variables with a finite set of values.

### Functions for continuous variables

• Probability density function (pdf): function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) can be interpreted as providing a relative likelihood that the value of the random variable would equal that sample.
• Continuous probability distribution function: most often reserved for continuous random variables.
• Cumulative distribution function: function evaluating the probability that ${\displaystyle X}$ will take a value less than or equal to ${\displaystyle x}$ for continuous variable.

### Basic terms

• Mode: for a discrete random variable, the value with highest probability; for a continuous random variable, a location at which the probability density function has a local peak.
• Support: set of values that can be assumed, with non-zero probability, by the random variable.
• Tail:[7] the regions close to the bounds of the random variable, if the pmf or pdf are relatively low therein. Usually has the form ${\displaystyle X>a}$, ${\displaystyle X or a union thereof.
• Head:[7] the region where the pmf or pdf is relatively high. Usually has the form ${\displaystyle a.
• Expected value or mean: the weighted average of the possible values, using their probabilities as their weights; or the continuous analog thereof.
• Median: the value such that the set of values less than the median, and the set greater than the median, each have probabilities no greater than one-half.
• Variance: the second moment of the pmf or pdf about the mean; an important measure of the dispersion of the distribution.
• Standard deviation: the square root of the variance, and hence another measure of dispersion.
• Symmetry: a property of some distributions in which the portion of the distribution to the left of a specific value(usually the median) is a mirror image of the portion to its right.
• Skewness: a measure of the extent to which a pmf or pdf "leans" to one side of its mean. The third standardized moment of the distribution.
• Kurtosis: a measure of the "fatness" of the tails of a pmf or pdf. The fourth standardized moment of the distribution.

## Discrete probability distribution

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.
The cdf of a discrete probability distribution, ...
... of a continuous probability distribution, ...
... of a distribution which has both a continuous part and a discrete part.

A discrete probability distribution is a probability distribution that can take on a countable number of values.[8] For the probabilities to add up to 1, they have to decline to zero fast enough. For example, if ${\displaystyle \operatorname {P} (X=n)={\tfrac {1}{2^{n}}}}$ for n = 1, 2, ..., the sum of probabilities would be 1/2 + 1/4 + 1/8 + ... = 1.

Well-known discrete probability distributions used in statistical modeling include the Poisson distribution, the Bernoulli distribution, the binomial distribution, the geometric distribution, and the negative binomial distribution.[3] Additionally, the discrete uniform distribution is commonly used in computer programs that make equal-probability random selections between a number of choices.

When a sample (a set of observations) is drawn from a larger population, the sample points have an empirical distribution that is discrete and that provides information about the population distribution.

### Measure theoretic formulation

A measurable function ${\displaystyle X\colon A\to B}$ between a probability space ${\displaystyle (A,{\mathcal {A}},P)}$ and a measurable space ${\displaystyle (B,{\mathcal {B}})}$ is called a discrete random variable provided that its image is a countable set. In this case measurability of ${\displaystyle X}$ means that the pre-images of singleton sets are measurable, i.e., ${\displaystyle X^{-1}(\{b\})\in {\mathcal {A}}}$ for all ${\displaystyle b\in B}$. The latter requirement induces a probability mass function ${\displaystyle f_{X}\colon X(A)\to \mathbb {R} }$ via ${\displaystyle f_{X}(b):=P(X^{-1}(\{b\}))}$. Since the pre-images of disjoint sets are disjoint,

${\displaystyle \sum _{b\in X(A)}f_{X}(b)=\sum _{b\in X(A)}P(X^{-1}(\{b\}))=P\left(\bigcup _{b\in X(A)}X^{-1}(\{b\})\right)=P(A)=1.}$

This recovers the definition given above.

### Cumulative distribution function

Equivalently to the above, a discrete random variable can be defined as a random variable whose cumulative distribution function (cdf) increases only by jump discontinuities—that is, its cdf increases only where it "jumps" to a higher value, and is constant between those jumps. Note however that the points where the cdf jumps may form a dense set of the real numbers. The points where jumps occur are precisely the values which the random variable may take.

### Delta-function representation

Consequently, a discrete probability distribution is often represented as a generalized probability density function involving Dirac delta functions, which substantially unifies the treatment of continuous and discrete distributions. This is especially useful when dealing with probability distributions involving both a continuous and a discrete part.[9]

### Indicator-function representation

For a discrete random variable X, let u0, u1, ... be the values it can take with non-zero probability. Denote

${\displaystyle \Omega _{i}=X^{-1}(u_{i})=\{\omega :X(\omega )=u_{i}\},\,i=0,1,2,\dots }$

These are disjoint sets, and for such sets

${\displaystyle P\left(\bigcup _{i}\Omega _{i}\right)=\sum _{i}P(\Omega _{i})=\sum _{i}P(X=u_{i})=1.}$

It follows that the probability that X takes any value except for u0, u1, ... is zero, and thus one can write X as

${\displaystyle X(\omega )=\sum _{i}u_{i}1_{\Omega _{i}}(\omega )}$

except on a set of probability zero, where ${\displaystyle 1_{A}}$ is the indicator function of A. This may serve as an alternative definition of discrete random variables.

## Continuous probability distribution

A continuous probability distribution is a probability distribution whose support is an uncountable set, such as an interval in the real line.[10] They are uniquely characterized by a cumulative density function that can be used to calculate the probability for each subset of the support. There are many examples of continuous probability distributions: normal, uniform, chi-squared, and others.

A random variable ${\displaystyle X}$ has a continuous probability distribution if there is a function ${\displaystyle f:\mathbb {R} \rightarrow [0,\infty )}$ such that for each interval ${\displaystyle I\subset \mathbb {R} }$ the probability of ${\displaystyle X}$ belonging to ${\displaystyle I}$ is given by the integral of ${\displaystyle f}$ over ${\displaystyle I}$.[11] For example, if ${\displaystyle I=[a,b]}$ then we would have:

${\displaystyle \operatorname {P} \left[a\leq X\leq b\right]=\int _{a}^{b}f(x)\,dx}$

In particular, the probability for ${\displaystyle X}$ to take any single value ${\displaystyle a}$ (that is ${\displaystyle a\leq X\leq a}$) is zero, because an integral with coinciding upper and lower limits is always equal to zero. A variable that satisfies the above is called continuous random variable. Its cumulative density function is defined as

${\displaystyle F(x)=\operatorname {P} \left[\infty

which, by this definition, has the properties:

• ${\displaystyle F(x)}$ is non-decreasing;
• ${\displaystyle 0\leq F(x)\leq 1}$;
• ${\displaystyle \lim _{x\rightarrow -\infty }F(x)=0}$ and ${\displaystyle \lim _{x\rightarrow \infty }F(x)=1}$;
• ${\displaystyle P(a\leq X; and
• ${\displaystyle F(x)}$ is continuous (due to the Riemann integral properties).

It is also possible to think in the opposite direction, which allows more flexibility. Say ${\displaystyle F(x)}$ is a function that satisfies all but the last of the properties above, then ${\displaystyle F}$ represents the cumulative density function for some random variable: a discrete random variable if ${\displaystyle F}$ is a step function, and a continuous random variable otherwise.[12] This allows for continuous distributions that has a cumulative density function, but not a probability density function, such as the Cantor distribution.

It is often necessary to generalize the above definition for more arbitrary subsets of the real line. In these contexts, a continuous probability distribution is defined as a probability distribution with a cumulative distribution function that is absolutely continuous. Equivalently, it is a probability distribution on the real numbers that is absolutely continuous with respect to the Lebesgue measure. Such distributions can be represented by their probability density functions. If ${\displaystyle X}$ is such an absolutely continuous random variable, then it has a probability density function ${\displaystyle f(x)}$, and its probability of falling into a Lebesgue-measurable set ${\displaystyle A\subset \mathbb {R} }$ is:

${\displaystyle \operatorname {P} \left[X\in A\right]=\int _{A}f(x)\,d\mu }$

where ${\displaystyle \mu }$ is the Lebesgue measure.

Note on terminology: some authors use the term "continuous distribution" to denote distributions whose cumulative distribution functions are continuous, rather than absolutely continuous. These distributions are the ones ${\displaystyle \mu }$ such that ${\displaystyle \mu \{x\}\,=\,0}$ for all ${\displaystyle \,x}$. This definition includes the (absolutely) continuous distributions defined above, but it also includes singular distributions, which are neither absolutely continuous nor discrete nor a mixture of those, and do not have a density. An example is given by the Cantor distribution.

## Kolmogorov definition

In the measure-theoretic formalization of probability theory, a random variable is defined as a measurable function ${\displaystyle X}$ from a probability space ${\displaystyle (\Omega ,{\mathcal {F}},\mathbb {P} )}$ to a measurable space ${\displaystyle ({\mathcal {X}},{\mathcal {A}})}$. Given that probabilities of events of the form ${\displaystyle \{\omega \in \Omega \mid X(\omega )\in A\}}$ satisfy Kolmogorov's probability axioms, the probability distribution of X is the pushforward measure ${\displaystyle X_{*}\mathbb {P} }$ of ${\displaystyle X}$ , which is a probability measure on ${\displaystyle ({\mathcal {X}},{\mathcal {A}})}$ satisfying ${\displaystyle X_{*}\mathbb {P} =\mathbb {P} X^{-1}}$.[13][14][15]

## Random number generation

Most algorithms are based on a pseudorandom number generator that produces numbers X that are uniformly distributed in the half-open interval [0,1). These random variates X are then transformed via some algorithm to create a new random variate having the required probability distribution. With this source of uniform pseudo-randomness, realizations of any random variable can be generated.[16]

For example, suppose ${\displaystyle U}$ has a uniform distribution between 0 and 1. To construct a random Bernoulli variable for some ${\displaystyle 0, we define

${\displaystyle {\displaystyle X={\begin{cases}1,&{\mbox{if }}U

so that

${\displaystyle {\textrm {P}}(X=1)={\textrm {P}}(U

This random variable X has a Bernoulli distribution with parameter ${\displaystyle p}$.[16] Note that this is a transformation of discrete random variable.

For a distribution function ${\displaystyle F}$ of a continuous random variable, a continuous random variable must be constructed. ${\displaystyle F^{inv}}$, an inverse function of ${\displaystyle F}$, relates to the uniform variable ${\displaystyle U}$:

${\displaystyle {U\leq F(x)}={F^{inv}(U)\leq x}.}$

For example, suppose a random variable that has an exponential distribution ${\displaystyle F(x)=1-e^{-\lambda x}}$ must be constructed.

{\displaystyle {\begin{aligned}F(x)=u&\Leftrightarrow 1-e^{-\lambda x}=u\\&\Leftrightarrow e^{-\lambda x}=1-u\\&\Leftrightarrow -\lambda x=\ln(1-u)\\&\Leftrightarrow x={\frac {-1}{\lambda }}\ln(1-u)\end{aligned}}}

so ${\displaystyle F^{inv}(u)={\frac {-1}{\lambda }}\ln(1-u)}$ and if ${\displaystyle U}$ has a ${\displaystyle U(0,1)}$ distribution, then the random variable ${\displaystyle X}$ is defined by ${\displaystyle X=F^{inv}(U)={\frac {-1}{\lambda }}\ln(1-U)}$. This has an exponential distribution of ${\displaystyle \lambda }$.[16]

A frequent problem in statistical simulations (the Monte Carlo method) is the generation of pseudo-random numbers that are distributed in a given way.

## Common probability distributions and their applications

The concept of the probability distribution and the random variables which they describe underlies the mathematical discipline of probability theory, and the science of statistics. There is spread or variability in almost any value that can be measured in a population (e.g. height of people, durability of a metal, sales growth, traffic flow, etc.); almost all measurements are made with some intrinsic error; in physics many processes are described probabilistically, from the kinetic properties of gases to the quantum mechanical description of fundamental particles. For these and many other reasons, simple numbers are often inadequate for describing a quantity, while probability distributions are often more appropriate.

The following is a list of some of the most common probability distributions, grouped by the type of process that they are related to. For a more complete list, see list of probability distributions, which groups by the nature of the outcome being considered (discrete, continuous, multivariate, etc.)

All of the univariate distributions below are singly peaked; that is, it is assumed that the values cluster around a single point. In practice, actually observed quantities may cluster around multiple values. Such quantities can be modeled using a mixture distribution.

### Linear growth (e.g. errors, offsets)

• Normal distribution (Gaussian distribution), for a single such quantity; the most commonly used continuous distribution

### Absolute values of vectors with normally distributed components

• Rayleigh distribution, for the distribution of vector magnitudes with Gaussian distributed orthogonal components. Rayleigh distributions are found in RF signals with Gaussian real and imaginary components.
• Rice distribution, a generalization of the Rayleigh distributions for where there is a stationary background signal component. Found in Rician fading of radio signals due to multipath propagation and in MR images with noise corruption on non-zero NMR signals.

### Some specialized applications of probability distributions

• The cache language models and other statistical language models used in natural language processing to assign probabilities to the occurrence of particular words and word sequences do so by means of probability distributions.
• In quantum mechanics, the probability density of finding the particle at a given point is proportional to the square of the magnitude of the particle's wavefunction at that point (see Born rule). Therefore, the probability distribution function of the position of a particle is described by ${\displaystyle P_{a\leq x\leq b}(t)=\int _{a}^{b}dx\,|\Psi (x,t)|^{2}}$, probability that the particle's position x will be in the interval axb in dimension one, and a similar triple integral in dimension three. This is a key principle of quantum mechanics.[18]
• Probabilistic load flow in power-flow study explains the uncertainties of input variables as probability distribution and provide the power flow calculation also in term of probability distribution.[19]
• Prediction of natural phenomena occurrences based on previous frequency distributions such as tropical cyclones, hail, time in between events, etc.[20]

## References

### Citations

1. ^ a b Everitt, Brian. (2006). The Cambridge dictionary of statistics (3rd ed.). Cambridge, UK: Cambridge University Press. ISBN 978-0-511-24688-3. OCLC 161828328.
2. ^ Ash, Robert B. (2008). Basic probability theory (Dover ed.). Mineola, N.Y.: Dover Publications. pp. 66–69. ISBN 978-0-486-46628-6. OCLC 190785258.
3. ^ a b Evans, Michael (Michael John) (2010). Probability and statistics : the science of uncertainty. Rosenthal, Jeffrey S. (Jeffrey Seth) (2nd ed.). New York: W.H. Freeman and Co. p. 38. ISBN 978-1-4292-2462-8. OCLC 473463742.
4. ^ a b Ross, Sheldon M. (2010). A first course in probability. Pearson.
5. ^ DeGroot, Morris H.; Schervish, Mark J. (2002). Probability and Statistics. Addison-Wesley.
6. ^ A modern introduction to probability and statistics : understanding why and how. Dekking, Michel, 1946-. London: Springer. 2005. ISBN 978-1-85233-896-1. OCLC 262680588.CS1 maint: others (link)
7. ^ a b More information and examples can be found in the articles Heavy-tailed distribution, Long-tailed distribution, fat-tailed distribution
8. ^ Erhan, Çınlar (2011). Probability and stochastics. New York: Springer. p. 51. ISBN 9780387878591. OCLC 710149819.
9. ^ Khuri, André I. (March 2004). "Applications of Dirac's delta function in statistics". International Journal of Mathematical Education in Science and Technology. 35 (2): 185–195. doi:10.1080/00207390310001638313. ISSN 0020-739X.
10. ^ Sheldon M. Ross (2010). Introduction to probability models. Elsevier.
11. ^ Chapter 3.2 of DeGroot, Morris H. & Schervish, Mark J. (2002)
12. ^ See Theorem 2.1 of Vapnik (1998), or Lebesgue's decomposition theorem. The section #Delta-function_representation may also be of interest.
13. ^ W., Stroock, Daniel (1999). Probability theory : an analytic view (Rev. ed.). Cambridge [England]: Cambridge University Press. p. 11. ISBN 978-0521663496. OCLC 43953136.
14. ^ Kolmogorov, Andrey (1950) [1933]. Foundations of the theory of probability. New York, USA: Chelsea Publishing Company. pp. 21–24.
15. ^ Joyce, David (2014). "Axioms of Probability" (PDF). Clark University. Retrieved December 5, 2019.
16. ^ a b c Dekking, Frederik Michel; Kraaikamp, Cornelis; Lopuhaä, Hendrik Paul; Meester, Ludolf Erwin (2005), "Why probability and statistics?", A Modern Introduction to Probability and Statistics, Springer London, pp. 1–11, doi:10.1007/1-84628-168-7_1, ISBN 978-1-85233-896-1
17. ^ Bishop, Christopher M. (2006). Pattern recognition and machine learning. New York: Springer. ISBN 0-387-31073-8. OCLC 71008143.
18. ^ Chang, Raymond. Physical chemistry for the chemical sciences. Thoman, John W., Jr., 1960-. [Mill Valley, California]. pp. 403–406. ISBN 978-1-68015-835-9. OCLC 927509011.
19. ^ Chen, P.; Chen, Z.; Bak-Jensen, B. (April 2008). "Probabilistic load flow: A review". 2008 Third International Conference on Electric Utility Deregulation and Restructuring and Power Technologies. pp. 1586–1591. doi:10.1109/drpt.2008.4523658. ISBN 978-7-900714-13-8.
20. ^ Maity, Rajib (2018-04-30). Statistical methods in hydrology and hydroclimatology. Singapore. ISBN 978-981-10-8779-0. OCLC 1038418263.