0% found this document useful (0 votes)
17 views18 pages

Probability Distributions

The document discusses various probability distributions including the binomial, multinomial, Poisson, uniform, beta, gamma, normal, exponential, chi-square, and multivariate normal distributions. It provides the probability mass or density functions and other key properties for each distribution.

Uploaded by

kilicbilge50
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views18 pages

Probability Distributions

The document discusses various probability distributions including the binomial, multinomial, Poisson, uniform, beta, gamma, normal, exponential, chi-square, and multivariate normal distributions. It provides the probability mass or density functions and other key properties for each distribution.

Uploaded by

kilicbilge50
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Probability/Density

Distributions

Guilherme J. M. Rosa
University of Wisconsin-Madison

Phenotypic Traits

Continuous and discrete distributions


of complex traits

1
Binomial Distribution
Distribution of the number of successes in a
sequence of n independent yes/no experiments,
each of which yields success with probability p
Such a success/failure experiment is also called
a Bernoulli experiment or Bernoulli trial
When n = 1, the binomial distribution is a
Bernoulli distribution

Binomial Distribution

0 ≤ p ≤1
y | n, p ~ Bin(n, p) y = 0, 1, 2,…, n
(number of successes in n trials)

n!
Pr(y | n, p) = p y (1− p)n−y
y!(n − y)!

E[y | n, p] = np ; Var[y | n, p] = np(1− p)

2
Binomial Distribution

Bin(7, 0.2)
Bin(30, 0.3)
Bin(50, 0.5)

Multinomial Distribution
Generalization of the binomial distribution for n
independent trials with outcome in one of k
categories, with each category having a given
fixed success probability pi
The multinomial distribution gives the probability
of any particular combination of numbers of
successes for the various categories

3
Multinomial Distribution
y | n, p ~ Multin(n, p1, p 2 ,…, p k )
k

0 ≤ pi ≤ 1 ; ∑p i =1
i=1
k

y i = 0, 1, 2,…, n ; ∑y i =n
i=1

n!
Pr(y | n, p) = p1y1 p 2y2 …p ykk
y1 ! y 2 ! … y k !

E[y i | n, p] = np i ; Var[y i | n, p] = np i (1− p i )


Cov[y i, y j | n, p] = −np i p j

Poisson Distribution
Distribution that expresses the probability of a
given number of independent events occurring
in a fixed interval of time and/or space
The Poisson distribution can also be used for
the number of events in other specified
intervals such as distance, area or volume

4
Poisson Distribution

λ>0
y | λ ~ Poisson(λ)
y = 0, 1, 2,…

λ y e−λ
Pr(y | λ) =
y!

E[y | λ] = Var[y | λ] = λ

Poisson Distribution

Poisson (1)
Poisson (5)
Poisson (15)

5
Uniform Distribution
The continuous uniform distribution, also know as
rectangular distribution, is a symmetric density
distributions in which all intervals of the same length
on the distribution's support are equally probable
The support is defined by the two parameters, α and
β, which are its minimum and maximum values

−∞ < α < β < ∞


y | α, β ~ Uniform(α, β)
α≤y≤β
1
p(y | α, β) =
β−α

E[y | α, β] = (α + β) / 2 ; Var[y | α, β] = (β − α)2 /12

Uniform Distribution

p(y|α,β)

1/(β-α)

y
α β

A common special case of the uniform distribution


is when α = 0 and β = 1

6
Uniform Distribution

There is also the discrete uniform distribution,


which assigns the same probability for each of n
possible outcomes

p(y)

1/n

1 2 3 … n-1 n
y

Beta Distribution

α > 0; β > 0
y | α, β ~ Beta(α, β)
0 ≤ y ≤1

Γ(α + β) α−1
p(y | α, β) = y (1− y)β−1
Γ(α)Γ(β)

α αβ
E[y | α, β] = ; Var[y | α, β] = 2
α+β (α + β) (α + β +1)

7
Beta Distribution

Gamma Distribution

α and β > 0
y | α, β ~ Gamma(α, β)
y>0

β α α−1
p(y | α, β) = y exp {−βy}
Γ(α)

α α
E[y | α, β] = ; Var[y | α, β] =
β β2

8
Gamma Distribution

Chi-Square Distribution

φ>0
y | φ ~ χ 2φ
y>0
[same as Gamma(φ / 2, 1 / 2)]

2 −φ/2 φ/2−1
p(y | φ) = y exp {−y / 2}
Γ(φ / 2)

E[y | φ] = φ ; Var[y | φ] = 2φ

9
Exponential Distribution

λ>0
y | λ ~ Exp(λ)
y>0
[same as Gamma(1, λ)]

p(y | λ) = λe−λy

E[y | λ] = λ −1 ; Var[y | λ] = λ −2

Exponential Distribution

10
Normal (Gaussian) Distribution

−∞ < µ < ∞
y | µ, σ 2 ~ N(µ, σ 2 ) σ2 > 0
−∞ < y < ∞

1 $ 1 '
p(y | µ, σ 2 ) = exp %− 2 (y − µ)2 (
2πσ 2 & 2σ )

E[y | µ, σ 2 ] = µ ; Var[y | µ, σ 2 ] = σ 2

Normal (Gaussian) Distribution


Mean and variance
define the distribution
µA = µB < µC
σ 2A = σ C2 > σ 2B

But proportions are


always the same
∼68.3%
∼95.5%
∼99.8%

11
Normal (Gaussian) Distribution

1 n
ð ∑ x i ~ Normal
n i=1 n→∞
(Central Limit Theorem)

ð z ~ N(0, 1) → y = μ + σz ~ N(μ, σ2)

ð w > 0 and log(w) ~ Normal → w: lognormal variable

Other Univariate Distributions


Discrete
Negative binomial (number of successes in a sequence of
Bernoulli trials before a specified number of failures occurs)
Beta-binomial (series of Bernoulli trials with variable
probability of success)

Continuous
Inverse Gamma (conjugate prior for the unknown variance of a
normal distribution)
Inverse Chi-square
Scaled inverse Chi-square
Logistic (heavy tailed bell-shaped distribution; its cumulative
distribution function is the logistic function, which appears in
logistic regression and feedforward neural networks)

Among others…

12
13
Relationships among
common distributions

Solid lines: transfor-


mations and special
cases
Dashed lines: limits

(Leemis, 1986)

Multivariate Normal Distribution

−∞ < µ < ∞
y | µ, Σ ~ N P (µ, Σ) Σ: positive definite
−∞ < y < ∞

$ 1 '
p(y | µ, Σ) = (2π)−p/2 | Σ |−1/2 exp %− (y − µ)T Σ−1 (y − µ)(
& 2 )

ð E[y | µ, Σ] = µ ; Var[y | µ, Σ] = Σ

ð z ~ N(0, I) → y = µ + Az ~ N(µ, Σ) , where Σ = AA


T

14
The Bivariate Normal Distribution

! y $ )! ! $,
1 + µ1 $ # σ12 ρσ1σ 2 &.
# &~ N # &,
#" y 2 &% +# µ 2 & # ρσ σ σ 22 &%.-
*" %" 1 2

σ12
ρ=
σ12 σ 22
ρ: coefficient of correlation
σ12: covariance between y1
p(y1, y 2 | Θ) =
1 and y2
2πσ1σ 2 1− ρ 2

-+ 1 % (y1 − µ1 )2 (y 2 − µ 2 )2 (y − µ )(y − µ 2 ) (-/


×exp ,− 2 ' 2
+ 2
− 2ρ 1 1 2 *0
.- 2(1− ρ ) & σ1 σ2 σ1σ 2 )1-

Multivariate Normal Distribution

15
Multivariate Normal:
Marginal Distributions
" Σ Σ12 %
µ = (µ , µ ) and Σ = $
11
T T
y = (y , y ) T T T T '
1 2 1 2
$# Σ 21 Σ 22 '&

y1 and y2: p1- and p2-dimensional vectors; p1 + p2 = p



p(y1 ) = ∫ p(y , y1 2 )dy 2
−∞

$ 1 '
= (2π)−p1 /2 | Σ11 |−1/2 exp %− (y1 − µ1 )T Σ11
−1
(y1 − µ1 )(
& 2 )

Multivariate Normal:
Marginal Distributions

16
Multivariate Normal:
Conditional Distributions
" Σ Σ12 %
µ = (µ , µ ) and Σ = $
11
T T
y = (y , y ) T T T T '
1 2 1 2
$# Σ 21 Σ 22 '&

y1 and y2: p1- and p2-dimentional vectors; p1 + p2 = p

p(y1 | y 2 ) = (2π)−p1 /2 | Var(y1 | y 2 ) |−1/2


# 1 −1 &
×exp $− (y1 − E[y1 | y 2 ])T [ Var(y1 | y 2 )] (y1 − E[y1 | y 2 ])'
% 2 (

E(y1 | y 2 ) = µ1 + Σ12 Σ−1 −1


22 (y 2 − µ 2 ) ; Var(y1 | y 2 ) = Σ11 − Σ12 Σ 22 Σ 21

Multivariate Normal:
Conditional Distributions

y2 y2

y1 y1

17
Wishart Distribution

ν: degrees of freedom
W | ν, S ~ Wishart ν (S) S: scale matrix; (k x k)
symm., positive definite

$ 1 '
p(W | ν, S) ∝| W |( ν−k−1)/2 exp %− tr (S−1W )(
& 2 )

E(W | ν, S) ∝ νS

Inverse Wishart Distribution

ν: degrees of freedom
−1
W | ν, S ~ Inv-Wishart ν (S ) S: scale matrix; (k x k)
symm., positive definite

$ 1 '
p(W | ν, S) ∝| W |−( ν+k+1)/2 exp %− tr (SW −1 )(
& 2 )

E(W | ν, S) ∝ (ν − k −1)−1 S

18

You might also like