In
probability and
statistics
Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
, a mixture distribution is the
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. It is a mathematical description of a random phenomenon i ...
of a
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
that is derived from a collection of other random variables as follows: first, a random variable is selected by chance from the collection according to given probabilities of selection, and then the value of the selected random variable is realized. The underlying random variables may be random real numbers, or they may be
random vectors (each having the same dimension), in which case the mixture distribution is a
multivariate distribution.
In cases where each of the underlying random variables is
continuous, the outcome variable will also be continuous and its
probability density function is sometimes referred to as a mixture density. The
cumulative distribution function
In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x.
Ev ...
(and the
probability density function if it exists) can be expressed as a
convex combination (i.e. a weighted sum, with non-negative weights that sum to 1) of other distribution functions and density functions. The individual distributions that are combined to form the mixture distribution are called the mixture components, and the probabilities (or weights) associated with each component are called the mixture weights. The number of components in a mixture distribution is often restricted to being finite, although in some cases the components may be
countably infinite
In mathematics, a set is countable if either it is finite or it can be made in one to one correspondence with the set of natural numbers. Equivalently, a set is ''countable'' if there exists an injective function from it into the natural numbers; ...
in number. More general cases (i.e. an
uncountable set of component distributions), as well as the countable case, are treated under the title of
compound distributions.
A distinction needs to be made between a
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
whose distribution function or density is the sum of a set of components (i.e. a mixture distribution) and a random variable whose value is the sum of the values of two or more underlying random variables, in which case the distribution is given by the
convolution operator. As an example, the sum of two
jointly normally distributed random variables, each with different means, will still have a normal distribution. On the other hand, a mixture density created as a mixture of two normal distributions with different means will have two peaks provided that the two means are far enough apart, showing that this distribution is radically different from a normal distribution.
Mixture distributions arise in many contexts in the literature and arise naturally where a
statistical population contains two or more
subpopulations. They are also sometimes used as a means of representing non-normal distributions. Data analysis concerning
statistical model
A statistical model is a mathematical model that embodies a set of statistical assumptions concerning the generation of Sample (statistics), sample data (and similar data from a larger Statistical population, population). A statistical model repres ...
s involving mixture distributions is discussed under the title of
mixture models, while the present article concentrates on simple probabilistic and statistical properties of mixture distributions and how these relate to properties of the underlying distributions.
Finite and countable mixtures
Given a finite set of probability density functions ''p''
1(''x''), ..., ''p
n''(''x''), or corresponding cumulative distribution functions ''P''
1(''x''), ..., ''P
n''(''x'') and weights ''w''
1, ..., ''w
n'' such that and the mixture distribution can be represented by writing either the density, ''f'', or the distribution function, ''F'', as a sum (which in both cases is a convex combination):
:
:
This type of mixture, being a finite sum, is called a finite mixture, and in applications, an unqualified reference to a "mixture density" usually means a finite mixture. The case of a countably infinite set of components is covered formally by allowing
.
Uncountable mixtures
Where the set of component distributions is
uncountable, the result is often called a
compound probability distribution. The construction of such distributions has a formal similarity to that of mixture distributions, with either infinite summations or integrals replacing the finite summations used for finite mixtures.
Consider a probability density function ''p''(''x'';''a'') for a variable ''x'', parameterized by ''a''. That is, for each value of ''a'' in some set ''A'', ''p''(''x'';''a'') is a probability density function with respect to ''x''. Given a probability density function ''w'' (meaning that ''w'' is nonnegative and integrates to 1), the function
:
is again a probability density function for ''x''. A similar integral can be written for the cumulative distribution function. Note that the formulae here reduce to the case of a finite or infinite mixture if the density ''w'' is allowed to be a
generalized function representing the "derivative" of the cumulative distribution function of a
discrete distribution.
Mixtures within a parametric family
The mixture components are often not arbitrary probability distributions, but instead are members of a
parametric family (such as normal distributions), with different values for a parameter or parameters. In such cases, assuming that it exists, the density can be written in the form of a sum as:
:
for one parameter, or
:
for two parameters, and so forth.
Properties
Convexity
A general
linear combination of probability density functions is not necessarily a probability density, since it may be negative or it may integrate to something other than 1. However, a
convex combination of probability density functions preserves both of these properties (non-negativity and integrating to 1), and thus mixture densities are themselves probability density functions.
Moments
Let ''X''
1, ..., ''X''
''n'' denote random variables from the ''n'' component distributions, and let ''X'' denote a random variable from the mixture distribution. Then, for any function ''H''(·) for which