Professional Documents
Culture Documents
Wakefield2013 Chapter ProbabilityDistributionsAndGen
Wakefield2013 Chapter ProbabilityDistributionsAndGen
Continuous Distributions
E[X] = μ
mode(X) = μ
var(X) = Σ.
Suppose
X1 μ1 V11 V12
∼ Np ,
X2 μ2 V21 V22
where:
• X1 and μ1 are r × 1,
• X2 and μ2 are (p − r) × 1,
• V11 is r × r,
• V12 is r × (p − r), V21 is (p − r) × r,
• V22 is (p − r) × (p − r).
X1 ∼ Nr (μ1 , V11 )
−1
where W11 = V11 − V12 V22 V21 .
Suppose
Yj | μj , σj2 ∼ N(μj , σj2 ),
Beta Distribution
The random variable X follows a beta distribution, denoted Be(a, b), if its density
has the form:
p(x) = B(a, b)−1 xa−1 (1 − x)b−1 ,
Gamma Distribution
The random variable X follows a gamma distribution, denoted Ga(a, b), if its
density is of the form
ba a−1
p(x) = x exp(−bx),
Γ (a)
A χ2k random variable with degrees of freedom k corresponds to the Ga(k/2, 1/2)
distribution.
The random variable X follows an inverse gamma distribution, denoted InvGa(a, b),
if its density is of the form
ba −(a+1)
p(x) = x exp(−b/x),
Γ (a)
b
E[X] = for a > 1
a−1
b
mode(X) =
a+1
b2
var(X) = for a > 2.
(a − 1)2 (a − 2)
Lognormal Distribution
Laplacian Distribution
The random variable X follows a Laplacian distribution, denoted Lap(μ, φ), if its
density is of the form
1
p(x) = exp(− | x − μ | /φ),
2φ
E[X] = μ
mode(X) = μ
var(X) = 2φ2 .
Multivariate t Distribution
−(d+p)/2
Γ [(d + p)/2] −1/2 (x − μ)T Σ −1 (x − μ)
p(x) = |Σ| 1+ ,
Γ (d/2)(dπ)p/2 d
mode(X) = μ
d
var(X) = × Σ for d > 2.
d−2
F Distribution
The random variable X follows an F distribution, denoted F(a, b), if its density is
of the form
aa/2 bb/2 xa/2−1
p(x) = ,
B(a/2, b/2) (b + ax)(a+b)/2
for x > 0, with degrees of freedom a, b > 0 and where B(·, ·) is the beta function,
as defined in (D.4).
Summaries:
b
E[X] = for b > 2
b−2
a−2 b
mode(X) = for a > 2
a b+2
2b2 (a + b − 2)
var(X) = for b > 4.
a(b − 2)2 (b − 4)
662 D Probability Distributions and Generating Functions
Wishart Distribution
The p × p random matrix X follows a Wishart distribution, denoted Wishp (r, S), if
its probability density function is of the form
| x |(r−p−1)/2 1 −1
p(x) = rp/2 exp − tr(xS ) ,
2 Γp (r/2) | S |r/2 2
p
Γp (r/2) = π p(p−1)/4 Γ [(r + 1 − j)/2]
j=1
E[X] = rS
mode(X) = (r − p − 1)S for r > p + 1
2
var(Xij ) = r(Sij + Sii Sjj ) for i, j = 1, . . . , p.
Marginally, the diagonal elements Xii have distribution Ga[r/2, 1/(2Sii )], i =
1, . . . , p.
Taking p = 1 yields
(2S)−r/2 r/2−1
p(x) = x exp(−x/2S),
Γ (r/2)
for x > 0 and S, r > 0, i.e. a Ga[r/2, 1/(2S)] distribution, revealing that the
Wishart distribution is a multivariate version of the gamma distribution.
Summaries:
S −1
E[X] = for r > p + 1
r−p−1
S −1
mode(X) =
r+p+1
−2
(r − p + 1)Sij + (r − p − 1)Sii−1 Sjj
−1
var(Xij ) = for i, j = 1, . . . , p.
(r − p)(r − p − 1)2 (r − p − 3)
1
E[X] = for r > 2
S(r − 2)
1
mode(X) =
S(r + 2)
1
var(X) = for r > 4.
S 2 (r − 2)(r − 4)
Discrete Distributions
Binomial Distribution
The random variable X has a binomial distribution, denoted Binomial(n, p), if its
distribution is of the form
n
Pr(X = x) = px (1 − p)n−x ,
x
E[X] = np
var(X) = np(1 − p).
664 D Probability Distributions and Generating Functions
Poisson Distribution
exp(−μ)μx
Pr(X = x) = ,
x!
for μ > 0 and x = 0, 1, 2, . . . .
Summaries:
E[X] = μ
var(X) = μ.
The random variable X has a negative binomial distribution, denoted NegBin(μ, b),
if its distribution is of the form
x b
Γ (x + b) μ b
Pr(X = x) = ,
Γ (x + 1)Γ (b) μ+b μ+b
E[X] = μ
var(X) = μ + μ2 /b.
Summaries:
pb
E[X] =
1−p
pb
var(X) = .
(1 − p)2
Generating Functions
t2 Y 2 t3 Y 3
exp(tY ) = 1 + tY + + + ...
2! 3!
so that
t2 m 2 t3 m 3
MY (t) = 1 + tm1 + + + ...
2! 3!
where mi is the ith moment. Hence,
(i) di MY
E[Y i ] = MY (0) = .
dtn t=0
n
MS (t) = MYi (ai t).
i=1
for t ∈ R.