MSD Discrete Count Models 2
MSD Discrete Count Models 2
𝑓 𝑥 = 𝜋 (1 − 𝜋) 𝑓𝑜𝑟 𝑥 = 0, 1
𝐸 𝑋 =1∗ 𝜋 +0 1−𝑥 =𝜋
𝑉 𝑋 =𝐸 𝑥 − 𝐸 𝑋 = 𝜋(1 − 𝜋)
Binomial Distribution
Suppose that X1,X2,…,Xn are independent and identically distributed
(iid) Bernoulli random variables, each having the distribution
𝑓 𝑥 = 𝜋 (1 − 𝜋) 𝑓𝑜𝑟 𝑥 = 0, 1 𝑎𝑛𝑑 0 ≤ 𝜋 ≤ 1
Let 𝑋 = 𝑋 + ⋯ + 𝑋 then 𝑋~𝐵𝑖𝑛(𝑛, 𝜋)
The binomial distribution has PMF
𝑛!
𝑓 𝑥 = 𝜋 (1 − 𝜋)
𝑥! 𝑛 − 𝑥 !
𝑓𝑜𝑟 𝑥 = 0, 1, 2, 3, … 𝑛, 𝑎𝑛𝑑 0 ≤ 𝜋 ≤ 1
𝐸 𝑋 = 𝑛𝜋 𝑉 𝑋 = 𝑛𝜋(1 − 𝜋)
Hypergeometric distribution
• Suppose there's a population of n objects with 𝑛 of type 1
(success) and 𝑛 = 𝑛 − 𝑛 of type 2 (failure), and m (less than n)
objects are sampled without replacement from this population. Then,
the number of successes X among the sample is a hypergeometric
random variable with PMF
𝑓 𝑥 = , 𝑥 ∈ [max 0, 𝑚 − 𝑛 ; min(𝑛 , 𝑚)]
( )
𝐸 𝑋 = and 𝑉𝑎𝑟 𝑋 =
( )
Poisson distribution
• The PMF of a Poisson distribution is given by
𝜆 𝑒
𝑓 𝑥 =𝑃 𝑋=𝑥 = , 𝑥 = 0, 1,2, … . , 𝑎𝑛𝑑 𝜆 > 0
𝑥!
• Poisson is also the limiting case of the binomial.
Suppose that X∼Bin (n,π) and let n→∞ and π→0 in such a way
that nπ→λ where λ is a constant.
Then, in the limit, X∼Poisson(λ).
• That is, if n is large and π is small, then
!
• 𝜋 (1 − 𝜋) ≈ ; where λ=nπ.
! ! !
• Another interesting property of the Poisson distribution is
that E(X)=V(X)=λ.
Negative-Binomial distribution
• The PMF of Negative binomial distribution is :
f(x)= 𝜋 (1 − 𝜋) ; for x = 0,1 … . .