LNCom Distr Poiss Proc
LNCom Distr Poiss Proc
It is easy to find also the formula for the CDF of the geometric distribution.
F (x) = P (X ≤ x) = 1 − (1 − p)x x = 1, 2, . . . .
It is also not very difficult to prove the formulas for the expectation and the variance of
geometric random variates:
1 1−p pes
E(X) = Var(X) = , MGF: M(s) = .
p p2 1 − (1 − p)es
R-command: dgeom(x-1,prob=p)
The geometric distribution has the memoryless property (see book p40).
The geometric distribution is a special case of the negative Binomial distribution with
parameter r = 1. It is not difficult to understand that a Negative Binomial random variate
1
with parameter r is the sum of r independent geometric random variates. Thus it is possible
to proof the formulas for the expectation and the variance of Negative Binomial random
variates:
!r
r r(1 − p) pes
E(X) = Var(X) = , MGF: M(s) = .
p p2 1 − (1 − p)es
R-command: dnbinom(x-r,size=r,prob=p)
2
2.2 Uniform Distribution
Is a especailly simple continuous distribution as the probability of any interval in its domain
is proportional only to the length of the domain. Simple and popular but rarely observed
for real data. pdf:
1
f (x) = a ≤ x ≤ b.
b−a
CDF:
x−a
F (x) = a ≤ x ≤ b.
b−a
a+b (b − a)2 eb s + ea s
E(X) = Var(X) = MGF: M(s) = .
2 12 (b − a) s
R-command: runif(n,min=a,max=b)
f (x) = λe−λ x x ≥ 0.
CDF:
F (x) = 1 − e−λ x x ≥ 0.
1 1 1
E(X) = Var(X) = MGF: M(s) = , s < λ.
λ λ2 1 − s/λ
R-command: pexp(x,rate=λ)
The exponential distribution has the memoryless propert! See book p44.
3
IE255 Table of Standard Distributions
Distrib !
pmf domain E(X) Var(X) MGF: M(s)
n
Binomial px (1 − p)n−x 0, 1, . . . , n np n p (1 − p) (1 − p + pes )n
x
R-command: dbinom(x,size=n,prob=p)
1 (1−p) pes
Geometric p (1 − p)x 1, 2, . . . p p2 1−(1−p)es
R-command:
dgeom(x-1,prob=p)
r
x−1 pes
r r(1−p)
Neg. Bin. pr (1 − p)x−r r, r + 1, . . . p2 s
r−1 p 1−(1−p)e
R-command: dnbinom(x-r,size=r,prob=p)
λx −λ s −1)
Poisson x!
e 0, 1, . . . λ λ eλ(e
R-command:
!
dpois(x,
!
lambda=λ)
r N −r
x n−x
Hypergeom n Nr -
r r
N −n
! x ≤ min(n, r) n N 1− N N −1
N
n
R-command: dhyper(x, m=r, n=N-r, k=n)
1 x−µ 2
√ 1 e− 2 ( σ )
2 s2 /2
Normal 2π σ
R µ σ2 eµ s+σ
R-command: dnorm((x-µ)/σ)
1 log(x)−µ 2 σ2
√ 1 e− 2 ( σ )
2 2
Log Normal 2π σ x
R+ eµ+ 2 e2 µ+σ (eσ − 1)
R-command: dlnorm(x,meanlog=µ,sdlog=σ)
1 a+b (b−a)2 eb s +ea s
Uniform b−a
(a, b) 2 12 (b−a) s
R-command: runif(n,min=a,max=b)
Exponential f (x) = λ e−λ x R+ 1
λ
1
λ2
1
1−s/λ
, s<λ
−λ x
F (x) = 1 − e R-command: pexp(x,rate=λ) α
λα
α−1 −λ x α α
Gamma Γ(α)
x e R+ λ λ2
1
1−s/λ ,s < λ
R-command: dgamma(x,shape=α,rate=λ)
Chi-square A chi square distribution with n degrees of freedom is Gamma-distributed
with α = n/2 and λ = 1/2
R-command: dchisq(x,df=n)
β αβ α α2 β
Pareto (x+α)β+1
R+ β−1 (β−1)2 (β−2)
β 1
F (x) = 1 − α
x+α
F −1 (u) = α/(1 − u) β − α
4
3 Poisson Processes
The Poisson process is a continuous time stochastic process that can be used to describe the
random properties of the occurence of events in time. Examples of events are eg. arrival of
customers, occurence of an accident, arrival of a message on a cellphone, ... .
The only parameter of the Poisson process is the rate λ which is equal to the expectation
of events per time unit.
The three properties that define the Poisson Process are:
1) Only one event can occur at a time point.
2) The number of events in any two non-overlapping intervals are independent of each.
3) The expected number of events in any time interval only depends on the length of that
interval.
Using these three defining properties it is not difficult to show that:
The number of events E of the Poisson process in a time interval of length l follows the
Poisson distribution with parameter λ̃ = λ · l.
The waiting time for the next event in the Poisson process follows an exponential distri-
bution with parameter λ.
Due to the independece assumption of the Poisson process it is easy to understand that
the waiting time for the r-th event in the Poisson process is the sum of r independent
exponential distributions all with rate parameter λ. Thus the waiting time for the r-th
event follows a Gamma distribution with shape parameter r and rate λ.