- Source: Compound probability distribution
In probability and statistics, a compound probability distribution (also known as a mixture distribution or contagious distribution) is the probability distribution that results from assuming that a random variable is distributed according to some parametrized distribution, with (some of) the parameters of that distribution themselves being random variables.
If the parameter is a scale parameter, the resulting mixture is also called a scale mixture.
The compound distribution ("unconditional distribution") is the result of marginalizing (integrating) over the latent random variable(s) representing the parameter(s) of the parametrized distribution ("conditional distribution").
Definition
A compound probability distribution is the probability distribution that results from assuming that a random variable
X
{\displaystyle X}
is distributed according to some parametrized distribution
F
{\displaystyle F}
with an unknown parameter
θ
{\displaystyle \theta }
that is again distributed according to some other distribution
G
{\displaystyle G}
. The resulting distribution
H
{\displaystyle H}
is said to be the distribution that results from compounding
F
{\displaystyle F}
with
G
{\displaystyle G}
. The parameter's distribution
G
{\displaystyle G}
is also called the mixing distribution or latent distribution. Technically, the unconditional distribution
H
{\displaystyle H}
results from marginalizing over
G
{\displaystyle G}
, i.e., from integrating out the unknown parameter(s)
θ
{\displaystyle \theta }
. Its probability density function is given by:
p
H
(
x
)
=
∫
p
F
(
x
|
θ
)
p
G
(
θ
)
d
θ
{\displaystyle p_{H}(x)={\displaystyle \int \limits p_{F}(x|\theta )\,p_{G}(\theta )\operatorname {d} \!\theta }}
The same formula applies analogously if some or all of the variables are vectors.
From the above formula, one can see that a compound distribution essentially is a special case of a marginal distribution: The joint distribution of
x
{\displaystyle x}
and
θ
{\displaystyle \theta }
is given by
p
(
x
,
θ
)
=
p
(
x
|
θ
)
p
(
θ
)
{\displaystyle p(x,\theta )=p(x|\theta )p(\theta )}
, and the compound results as its marginal distribution:
p
(
x
)
=
∫
p
(
x
,
θ
)
d
θ
{\displaystyle {\textstyle p(x)=\int p(x,\theta )\operatorname {d} \!\theta }}
.
If the domain of
θ
{\displaystyle \theta }
is discrete, then the distribution is again a special case of a mixture distribution.
Properties
= General
=The compound distribution
H
{\displaystyle H}
will depend on the specific expression of each distribution, as well as which parameter of
F
{\displaystyle F}
is distributed according to the distribution
G
{\displaystyle G}
, and the parameters of
H
{\displaystyle H}
will include any parameters of
G
{\displaystyle G}
that are not marginalized, or integrated, out.
The support of
H
{\displaystyle H}
is the same as that of
F
{\displaystyle F}
, and if the latter is a two-parameter distribution parameterized with the mean and variance, some general properties exist.
= Mean and variance
=The compound distribution's first two moments are given by the law of total expectation and the law of total variance:
E
H
[
X
]
=
E
G
[
E
F
[
X
|
θ
]
]
{\displaystyle \operatorname {E} _{H}[X]=\operatorname {E} _{G}{\bigl [}\operatorname {E} _{F}[X|\theta ]{\bigr ]}}
Var
H
(
X
)
=
E
G
[
Var
F
(
X
|
θ
)
]
+
Var
G
(
E
F
[
X
|
θ
]
)
{\displaystyle \operatorname {Var} _{H}(X)=\operatorname {E} _{G}{\bigl [}\operatorname {Var} _{F}(X|\theta ){\bigr ]}+\operatorname {Var} _{G}{\bigl (}\operatorname {E} _{F}[X|\theta ]{\bigr )}}
If the mean of
F
{\displaystyle F}
is distributed as
G
{\displaystyle G}
, which in turn has mean
μ
{\displaystyle \mu }
and variance
σ
2
{\displaystyle \sigma ^{2}}
the expressions above imply
E
H
[
X
]
=
E
G
[
θ
]
=
μ
{\displaystyle \operatorname {E} _{H}[X]=\operatorname {E} _{G}[\theta ]=\mu }
and
Var
H
(
X
)
=
Var
F
(
X
|
θ
)
+
Var
G
(
Y
)
=
τ
2
+
σ
2
{\displaystyle \operatorname {Var} _{H}(X)=\operatorname {Var} _{F}(X|\theta )+\operatorname {Var} _{G}(Y)=\tau ^{2}+\sigma ^{2}}
, where
τ
2
{\displaystyle \tau ^{2}}
is the variance of
F
{\displaystyle F}
.
= Proof
=let
F
{\displaystyle F}
and
G
{\displaystyle G}
be probability distributions parameterized with mean a variance as
x
∼
F
(
θ
,
τ
2
)
θ
∼
G
(
μ
,
σ
2
)
{\displaystyle {\begin{aligned}x&\sim {\mathcal {F}}(\theta ,\tau ^{2})\\\theta &\sim {\mathcal {G}}(\mu ,\sigma ^{2})\end{aligned}}}
then denoting the probability density functions as
f
(
x
|
θ
)
=
p
F
(
x
|
θ
)
{\displaystyle f(x|\theta )=p_{F}(x|\theta )}
and
g
(
θ
)
=
p
G
(
θ
)
{\displaystyle g(\theta )=p_{G}(\theta )}
respectively, and
h
(
x
)
{\displaystyle h(x)}
being the probability density of
H
{\displaystyle H}
we have
E
H
[
X
]
=
∫
F
x
h
(
x
)
d
x
=
∫
F
x
∫
G
f
(
x
|
θ
)
g
(
θ
)
d
θ
d
x
=
∫
G
∫
F
x
f
(
x
|
θ
)
d
x
g
(
θ
)
d
θ
=
∫
G
E
F
[
X
|
θ
]
g
(
θ
)
d
θ
{\displaystyle {\begin{aligned}\operatorname {E} _{H}[X]=\int _{F}xh(x)dx&=\int _{F}x\int _{G}f(x|\theta )g(\theta )d\theta dx\\&=\int _{G}\int _{F}xf(x|\theta )dx\ g(\theta )d\theta \\&=\int _{G}\operatorname {E} _{F}[X|\theta ]g(\theta )d\theta \end{aligned}}}
and we have from the parameterization
F
{\displaystyle {\mathcal {F}}}
and
G
{\displaystyle {\mathcal {G}}}
that
E
F
[
X
|
θ
]
=
∫
F
x
f
(
x
|
θ
)
d
x
=
θ
E
G
[
θ
]
=
∫
G
θ
g
(
θ
)
d
θ
=
μ
{\displaystyle {\begin{aligned}\operatorname {E} _{F}[X|\theta ]&=\int _{F}xf(x|\theta )dx=\theta \\\operatorname {E} _{G}[\theta ]&=\int _{G}\theta g(\theta )d\theta =\mu \end{aligned}}}
and therefore the mean of the compound distribution
E
H
[
X
]
=
μ
{\displaystyle \operatorname {E} _{H}[X]=\mu }
as per the expression for its first moment above.
The variance of
H
{\displaystyle H}
is given by
E
H
[
X
2
]
−
(
E
H
[
X
]
)
2
{\displaystyle \operatorname {E} _{H}[X^{2}]-(\operatorname {E} _{H}[X])^{2}}
, and
E
H
[
X
2
]
=
∫
F
x
2
h
(
x
)
d
x
=
∫
F
x
2
∫
G
f
(
x
|
θ
)
g
(
θ
)
d
θ
d
x
=
∫
G
g
(
θ
)
∫
F
x
2
f
(
x
|
θ
)
d
x
d
θ
=
∫
G
g
(
θ
)
(
τ
2
+
θ
2
)
d
θ
=
τ
2
∫
G
g
(
θ
)
d
θ
+
∫
G
g
(
θ
)
θ
2
d
θ
=
τ
2
+
(
σ
2
+
μ
2
)
,
{\displaystyle {\begin{aligned}\operatorname {E} _{H}[X^{2}]=\int _{F}x^{2}h(x)dx&=\int _{F}x^{2}\int _{G}f(x|\theta )g(\theta )d\theta dx\\&=\int _{G}g(\theta )\int _{F}x^{2}f(x|\theta )dx\ d\theta \\&=\int _{G}g(\theta )(\tau ^{2}+\theta ^{2})d\theta \\&=\tau ^{2}\int _{G}g(\theta )d\theta +\int _{G}g(\theta )\theta ^{2}d\theta \\&=\tau ^{2}+(\sigma ^{2}+\mu ^{2}),\end{aligned}}}
given the fact that
∫
F
x
2
f
(
x
∣
θ
)
d
x
=
E
F
[
X
2
∣
θ
]
=
Var
F
(
X
∣
θ
)
+
(
E
F
[
X
∣
θ
]
)
2
{\displaystyle \int _{F}x^{2}f(x\mid \theta )dx=\operatorname {E} _{F}[X^{2}\mid \theta ]=\operatorname {Var} _{F}(X\mid \theta )+(\operatorname {E} _{F}[X\mid \theta ])^{2}}
and
∫
G
θ
2
g
(
θ
)
d
θ
=
E
G
[
θ
2
]
=
Var
G
(
θ
)
+
(
E
G
[
θ
]
)
2
{\displaystyle \int _{G}\theta ^{2}g(\theta )d\theta =\operatorname {E} _{G}[\theta ^{2}]=\operatorname {Var} _{G}(\theta )+(\operatorname {E} _{G}[\theta ])^{2}}
. Finally we get
Var
H
(
X
)
=
E
H
[
X
2
]
−
(
E
H
[
X
]
)
2
=
τ
2
+
σ
2
{\displaystyle {\begin{aligned}\operatorname {Var} _{H}(X)&=\operatorname {E} _{H}[X^{2}]-(\operatorname {E} _{H}[X])^{2}\\&=\tau ^{2}+\sigma ^{2}\end{aligned}}}
Applications
= Testing
=Distributions of common test statistics result as compound distributions under their null hypothesis, for example in Student's t-test (where the test statistic results as the ratio of a normal and a chi-squared random variable), or in the F-test (where the test statistic is the ratio of two chi-squared random variables).
= Overdispersion modeling
=Compound distributions are useful for modeling outcomes exhibiting overdispersion, i.e., a greater amount of variability than would be expected under a certain model. For example, count data are commonly modeled using the Poisson distribution, whose variance is equal to its mean. The distribution may be generalized by allowing for variability in its rate parameter, implemented via a gamma distribution, which results in a marginal negative binomial distribution. This distribution is similar in its shape to the Poisson distribution, but it allows for larger variances. Similarly, a binomial distribution may be generalized to allow for additional variability by compounding it with a beta distribution for its success probability parameter, which results in a beta-binomial distribution.
= Bayesian inference
=Besides ubiquitous marginal distributions that may be seen as special cases of compound distributions,
in Bayesian inference, compound distributions arise when, in the notation above, F represents the distribution of future observations and G is the posterior distribution of the parameters of F, given the information in a set of observed data. This gives a posterior predictive distribution. Correspondingly, for the prior predictive distribution, F is the distribution of a new data point while G is the prior distribution of the parameters.
= Convolution
=Convolution of probability distributions (to derive the probability distribution of sums of random variables) may also be seen as a special case of compounding; here the sum's distribution essentially results from considering one summand as a random location parameter for the other summand.
Computation
Compound distributions derived from exponential family distributions often have a closed form.
If analytical integration is not possible, numerical methods may be necessary.
Compound distributions may relatively easily be investigated using Monte Carlo methods, i.e., by generating random samples. It is often easy to generate random numbers from the
distributions
p
(
θ
)
{\displaystyle p(\theta )}
as well as
p
(
x
|
θ
)
{\displaystyle p(x|\theta )}
and then utilize these to perform collapsed Gibbs sampling to generate samples from
p
(
x
)
{\displaystyle p(x)}
.
A compound distribution may usually also be approximated to a sufficient degree by a mixture distribution using a finite number of mixture components, allowing to derive approximate density, distribution function etc.
Parameter estimation (maximum-likelihood or maximum-a-posteriori estimation) within a compound distribution model may sometimes be simplified by utilizing the EM-algorithm.
Examples
Gaussian scale mixtures:
Compounding a normal distribution with variance distributed according to an inverse gamma distribution (or equivalently, with precision distributed as a gamma distribution) yields a non-standardized Student's t-distribution. This distribution has the same symmetrical shape as a normal distribution with the same central point, but has greater variance and heavy tails.
Compounding a Gaussian (or normal) distribution with variance distributed according to an exponential distribution (or with standard deviation according to a Rayleigh distribution) yields a Laplace distribution. More generally, compounding a Gaussian (or normal) distribution with variance distributed according to a gamma distribution yields a variance-gamma distribution.
Compounding a Gaussian distribution with variance distributed according to an exponential distribution whose rate parameter is itself distributed according to a gamma distribution yields a Normal-exponential-gamma distribution. (This involves two compounding stages. The variance itself then follows a Lomax distribution; see below.)
Compounding a Gaussian distribution with standard deviation distributed according to a (standard) inverse uniform distribution yields a Slash distribution.
Compounding a Gaussian (normal) distribution with a Kolmogorov distribution yields a logistic distribution.
other Gaussian mixtures:
Compounding a Gaussian distribution with mean distributed according to another Gaussian distribution yields (again) a Gaussian distribution.
Compounding a Gaussian distribution with mean distributed according to a shifted exponential distribution yields an exponentially modified Gaussian distribution.
Compounding a Bernoulli distribution with probability of success
p
{\displaystyle p}
distributed according to a distribution
X
{\displaystyle X}
that has a defined expected value yields a Bernoulli distribution with success probability
E
[
X
]
{\displaystyle E[X]}
. An interesting consequence is that the dispersion of
X
{\displaystyle X}
does not influence the dispersion of the resulting compound distribution.
Compounding a binomial distribution with probability of success distributed according to a beta distribution yields a beta-binomial distribution. It possesses three parameters, a parameter
n
{\displaystyle n}
(number of samples) from the binomial distribution and shape parameters
α
{\displaystyle \alpha }
and
β
{\displaystyle \beta }
from the beta distribution.
Compounding a multinomial distribution with probability vector distributed according to a Dirichlet distribution yields a Dirichlet-multinomial distribution.
Compounding a Poisson distribution with rate parameter distributed according to a gamma distribution yields a negative binomial distribution.
Compounding a Poisson distribution with rate parameter distributed according to a exponential distribution yields a geometric distribution.
Compounding an exponential distribution with its rate parameter distributed according to a gamma distribution yields a Lomax distribution.
Compounding a gamma distribution with inverse scale parameter distributed according to another gamma distribution yields a three-parameter beta prime distribution.
Compounding a half-normal distribution with its scale parameter distributed according to a Rayleigh distribution yields an exponential distribution. This follows immediately from the Laplace distribution resulting as a normal scale mixture; see above. The roles of conditional and mixing distributions may also be exchanged here; consequently, compounding a Rayleigh distribution with its scale parameter distributed according to a half-normal distribution also yields an exponential distribution.
A Gamma(k=2,θ) - distributed random variable whose scale parameter θ again is uniformly distributed marginally yields an exponential distribution.
Similar terms
The notion of "compound distribution" as used e.g. in the definition of a Compound Poisson distribution or Compound Poisson process is different from the definition found in this article. The meaning in this article corresponds to what is used in e.g. Bayesian hierarchical modeling.
The special case for compound probability distributions where the parametrized distribution
F
{\displaystyle F}
is the Poisson distribution is also called mixed Poisson distribution.
See also
Mixture distribution
Mixed Poisson distribution
Bayesian hierarchical modeling
Marginal distribution
Conditional distribution
Joint distribution
Convolution
Overdispersion
EM-algorithm
Giry monad
References
Further reading
Lindsay, B. G. (1995), Mixture models: theory, geometry and applications, NSF-CBMS Regional Conference Series in Probability and Statistics, vol. 5, Hayward, CA, USA: Institute of Mathematical Statistics, pp. i–163, ISBN 978-0-940600-32-4, JSTOR 4153184
Seidel, W. (2010), "Mixture models", in Lovric, M. (ed.), International Encyclopedia of Statistical Science, Heidelberg: Springer, pp. 827–829, doi:10.1007/978-3-642-04898-2_368, ISBN 978-3-642-04898-2
Mood, A. M.; Graybill, F. A.; Boes, D. C. (1974), "III.4.3 Contagious distributions and truncated distributions", Introduction to the theory of statistics (3rd ed.), New York: McGraw-Hill, ISBN 978-0-07-042864-5
Johnson, N. L.; Kemp, A. W.; Kotz, S. (2005), "8 Mixture distributions", Univariate discrete distributions, New York: Wiley, ISBN 978-0-471-27246-5
Kata Kunci Pencarian:
- Compound probability distribution
- Compound Poisson distribution
- List of probability distributions
- Student's t-distribution
- Dirichlet-multinomial distribution
- Poisson distribution
- Marginal distribution
- Negative binomial distribution
- Mixed Poisson distribution
- Relationships among probability distributions