D Models
D Models
Department of Statistics
Universidad Carlos III de Madrid
Distribution models
Statistics — 2011–2012
1 Discrete distributions
1.1 Binomial distribution, B(n, p)
A Bernuolli trial is a random experiment with two possible outcomes, success
or failure. The probability of success is commonly written as p (and the
probability of failure is 1 − p).
A random variable X follows a binomial distribution with parameters
n ∈ N and p ∈ (0, 1), denoted by X ∼ B(n, p), if it equals the number of
trials that result in a success, out of n independent ones. It can assume any
value in {0, 1, . . . , n}.
If k ∈ {0, 1, . . . , n}, then
n k
P (X = k) = p (1 − p)n−k ;
k
1
1.2 Poisson distribution, P(λ).
A random variable X follows a Poisson distribution with parameter λ > 0,
denoted by X ∼ P(λ), if it represents the number of events occurring in a
fixed interval of real numbers with a known average rate λ and independently
one from the others. It can assume any value from the set {0, 1, 2, . . .}.
If k ∈ {0, 1, 2, . . .}, it holds
λk −λ
P (X = k) = e ;
k!
E[X] = λ ; var[X] = λ.
2 Continuous distributions
2.1 Uniform distribution, U(a, b).
A random variable X follows a uniform distribution with parameters a < b,
denoted by X ∼ U(a, b), if it represents a number chosen at random between
a and b. The selection is made in such a way that the probability that the
random variable lays in any interval inside (a, b) depends only on the length
of such interval.
The density mass function and the cumulative distribution function of a
random variable uniformly distributed in (a, b) adopt the following expres-
sions:
1 0 if x < a
if x ∈ (a, b) x−a
fX (x) = b−a ; FX (x) = if a ≤ x < b ;
0 if x ∈/ (a, b) b−a
1 if x ≥ b
a+b (b − a)2
E[X] = ; var[X] = .
2 12
2
2.2 Exponential distribution, Exp(λ).
A random variable X follows an exponential distribution with parameter
λ > 0, denoted by X ∼ Exp(λ), if it equals the distance between successive
events in a Poisson process with mean λ.
The density mass function and the cumulative distribution function of
an exponentially distributed random variable with parameter λ adopt the
following expressions:
−λx
λe if x > 0 0 if x < 0
fX (x) = ; FX (x) = ;
0 if x ≤ 0 1 − e−λx if x ≥ 0
1 1
E[X] = ; var[X] = .
λ λ2
E[X] = µ ; var[X] = σ 2 .
3
Property. Given a, b ∈ R and a random variable X ∼ N(µ, σ), the random
variable aX + b is normally distributed, specifically
aX + b ∼ N(aµ + b, |a|σ).
We can standardize any normal random variable subtracting its mean from
it and dividing between its standard deviation. If X ∼ N(µ, σ), then
X −µ
∼ N(0, 1) .
σ
4
2.4 Multivariate normal distribution
The random vector X = (X1 , X2 )t follows a bivariate normal distribution
withe mean vector µ = (µ1 , µ2 )t and covariance matrix
σ12 ρσ1 σ2
Σ=
ρσ1 σ2 σ22
Properties.
• The random variables X1 |X2 =x2 and X2 |X1 =x1 are normally distributed.