Inprobability andstatistics, amixture distribution is theprobability distribution of arandom variable 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 berandom vectors (each having the same dimension), in which case the mixture distribution is amultivariate distribution.
In cases where each of the underlying random variables iscontinuous, the outcome variable will also be continuous and itsprobability density function is sometimes referred to as amixture density. Thecumulative distribution function (and theprobability density function if it exists) can be expressed as aconvex 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 themixture components, and the probabilities (or weights) associated with each component are called themixture weights. The number of components in a mixture distribution is often restricted to being finite, although in some cases the components may becountably infinite in number. More general cases (i.e. anuncountable set of component distributions), as well as the countable case, are treated under the title ofcompound distributions.
A distinction needs to be made between arandom variable 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 theconvolution operator. As an example, the sum of twojointly 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 astatistical population contains two or moresubpopulations. They are also sometimes used as a means of representing non-normal distributions. Data analysis concerningstatistical models involving mixture distributions is discussed under the title ofmixture 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.

Given afinite set of probability density functionsp1(x), ...,pn(x), or corresponding cumulative distribution functionsP1(x), ...,Pn(x) andweightsw1, ...,wn such thatwi ≥ 0 and∑wi = 1, 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 afinite mixture, and in applications, an unqualified reference to a "mixture density" usually means a finite mixture. The case of a countablyinfinite set of components is covered formally by allowing.
Where the set of component distributions isuncountable, the result is often called acompound 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 functionp(x;a) for a variablex, parameterized bya. That is, for each value ofa in some setA,p(x;a) is a probability density function with respect tox. Given a probability density functionw (meaning thatw is nonnegative and integrates to 1), the function
is again a probability density function forx. 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 densityw is allowed to be ageneralized function representing the "derivative" of the cumulative distribution function of adiscrete distribution.
The mixture components are often not arbitrary probability distributions, but instead are members of aparametric 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, orfor two parameters, and so forth.
A generallinear 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, aconvex 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.
LetX1, ...,Xn denote random variables from then component distributions, and letX denote a random variable from the mixture distribution. Then, for any functionH(·) for which exists, and assuming that the component densitiespi(x) exist,
Thejth moment about zero (i.e. choosingH(x) =xj) is simply a weighted average of thej-th moments of the components. Moments about the meanH(x) = (x − μ)j involve a binomial expansion:[1]
whereμi denotes the mean of thei-th component.
In the case of a mixture of one-dimensional distributions with weightswi, meansμi and variancesσi2, the total mean and variance will be:
These relations highlight the potential of mixture distributions to display non-trivial higher-order moments such asskewness andkurtosis (fat tails) and multi-modality, even in the absence of such features within the components themselves. Marron and Wand (1992) give an illustrative account of the flexibility of this framework.[2]
The question ofmultimodality is simple for some cases, such as mixtures ofexponential distributions: all such mixtures areunimodal.[3] However, for the case of mixtures ofnormal distributions, it is a complex one. Conditions for the number of modes in a multivariate normal mixture are explored by Ray & Lindsay[4] extending earlier work on univariate[5][6] and multivariate[7] distributions.
Here the problem of evaluation of the modes of ann component mixture in aD dimensional space is reduced to identification of critical points (local minima, maxima andsaddle points) on amanifold referred to as theridgeline surface, which is the image of the ridgeline functionwhere belongs to the-dimensional standardsimplex:and correspond to the covariance and mean of thei-th component. Ray & Lindsay[4] consider the case in which showing a one-to-one correspondence of modes of the mixture and those on theridge elevation function thus one may identify the modes by solving with respect to and determining the value.
Using graphical tools, the potential multi-modality of mixtures with number of components is demonstrated; in particular it is shown that the number of modes may exceed and that the modes may not be coincident with the component means. For two components they develop a graphical tool for analysis by instead solving the aforementioned differential with respect to the first mixing weight (which also determines the second mixing weight through) and expressing the solutions as a function so that the number and location of modes for a given value of corresponds to the number of intersections of the graph on the line. This in turn can be related to the number of oscillations of the graph and therefore to solutions of leading to an explicit solution for the case of a two component mixture with (sometimes called ahomoscedastic mixture) given bywhere is theMahalanobis distance between and.
Since the above is quadratic it follows that in this instance there are at most two modes irrespective of the dimension or the weights.
For normal mixtures with general and, a lower bound for the maximum number of possible modes, and – conditionally on the assumption that the maximum number is finite – an upper bound are known. For those combinations of and for which the maximum number is known, it matches the lower bound.[8]
Simple examples can be given by a mixture of two normal distributions. (SeeMultimodal distribution#Mixture of two normal distributions for more details.)
Given an equal (50/50) mixture of two normal distributions with the same standard deviation and different means (homoscedastic), the overall distribution will exhibit lowkurtosis relative to a single normal distribution – the means of the subpopulations fall on the shoulders of the overall distribution. If sufficiently separated, namely by twice the (common) standard deviation, so these form abimodal distribution, otherwise it simply has a wide peak.[9] The variation of the overall population will also be greater than the variation of the two subpopulations (due to spread from different means), and thus exhibitsoverdispersion relative to a normal distribution with fixed variationσ, though it will not be overdispersed relative to a normal distribution with variation equal to variation of the overall population.
Alternatively, given two subpopulations with the same mean and different standard deviations, the overall population will exhibit high kurtosis, with a sharper peak and heavier tails (and correspondingly shallower shoulders) than a single distribution.
The following example is adapted from Hampel,[10] who creditsJohn Tukey.
Consider the mixture distribution defined by
The mean ofi.i.d. observations fromF(x) behaves "normally" except for exorbitantly large samples, although the mean ofF(x) does not even exist.
Mixture densities are complicated densities expressible in terms of simpler densities (the mixture components), and are used both because they provide a good model for certain data sets (where different subsets of the data exhibit different characteristics and can best be modeled separately), and because they can be more mathematically tractable, because the individual mixture components can be more easily studied than the overall mixture density.
Mixture densities can be used to model astatistical population withsubpopulations, where the mixture components are the densities on the subpopulations, and the weights are the proportions of each subpopulation in the overall population.
Mixture densities can also be used to modelexperimental error or contamination – one assumes that most of the samples measure the desired phenomenon, with some samples from a different, erroneous distribution.
Parametric statistics that assume no error often fail on such mixture densities – for example, statistics that assume normality often fail disastrously in the presence of even a fewoutliers – and instead one usesrobust statistics.
Inmeta-analysis of separate studies,study heterogeneity causes distribution of results to be a mixture distribution, and leads tooverdispersion of results relative to predicted error. For example, in astatistical survey, themargin of error (determined by sample size) predicts thesampling error and hence dispersion of results on repeated surveys. The presence of study heterogeneity (studies have differentsampling bias) increases the dispersion relative to the margin of error.