Lec 5 Discrete Distributions
Lec 5 Discrete Distributions
Math 150.1
Institute of Mathematics
University of the Philippines Diliman
1/ 29
3 Poisson Distribution
4 Hypergeometric Distribution
2/ 29
X N UnifCA
Definition
Let X be a discrete random variable and A be a finite set. We say
that X has a uniform distribution on A, denoted by X ⇠ U(A), if
the probability on each number in A is equal. That is, the pmf of X
is defined by
1
f (x) = P[X = x] = A (x),
|A|
indicator that x
where |A| is the cardinality of A. should be in A
3/ 29
t
E
CI Mx
GI
o m distribution
E the oven
O
off 3g
P
I I I 101 to Pix 6 28
iI
PC x 3
1Mx 9
X N M O I 213 T9
Take 2 Uft it a ti
bl b
3 X n u a a ti at2 Z a t t
nI l a att b i by b at X
gIF
bi b
II x e a ati
a
n
E a a
E.EE
02 Var X
É K2 IP x k MZ
M ELx 4
t 2
t t t8
t I 123
IE x t a t t 64 f
O II Li M
Bernoulli Distribution
When one tries to perform a single experiment with only two possible
outcomes, success (1) or failure (0), then what we have is a Bernoulli
distribution with a probability of success equal to p.
x Beep failure e e
x son
acres p
Definition
A random variable X follows a Bernoulli distribution, denoted by
X ⇠ Be(p), if the pmf of X is given by
f (x) = p x q 1 x
{0,1} (x)
7/ 29
Theorem
If X ⇠ Be(p), then
8/ 29
Definition
A random variable X follows a binomial distribution, denoted by
X ⇠ Bi(n, p), if the pmf of X is given by X Bill D X BEE
✓ ◆
n x n x
f (x) = p q {0,1,...,n} (x)
x
9/ 29
Theorem
IF X ⇠ Bi(n, p), then
10/ 29
11/ 29
P1 2 E 3 b
4
MI
401243
PI XI 2 I
AtFy
PATH Hats
2 IP 3
I
Bi 1516
P P x
371
27 11211112
Y eD
x Pixel
Y
1 b IP 11 13
3 IP boy 2 L IP X O IPA 4
x Bi 4 12 4
9 P x2 1 l P x0 1 1811474 4
trinity
Poisson Distribution
Definition
A random variable X follows a Poisson distribution with parameter
> 0, denoted by X ⇠ Poi( ), if the pmf of X is given by
IMPORTANT
Arithmeticseriestormu ia e x
É IP xx l
E
e e I 12/ 29
Theorem
If X ⇠ Poi( ), then
13/ 29
14/ 29
ZX X dn
legz.at 21 HI
2 M It e4 et i
x poi14 M 4and 0 2 IP M 20examtee
mf
Wecantindelxf 14
land
exam.cn 4
IP lx MI ro s're usingthedistributionofX
Pl ro x micro É PIMLOLXLUTZE
IP 05 98
PCu roc X M ro f
IP x 1 P x 2 t
IPA 7
e 4 ate te t
t
HI
Binomial-Poisson Approximation
Theorem
If n is large and p is close to 0, then the binomial distribution
approximates the Poisson distribution with = np.
15/ 29
16/ 29
Then
1 2 x 1 ✓ ◆n x
1 1 n
1 n
··· 1 n x
f (x) = 1
x! n
17/ 29
18/ 29
X I Y where Y Poi i O 2
IP x 3 P Y 3
093,10271
b IP X I 2 I IPLX O IP X D
but
IP IX 2 I 1171422
I P 14 0 IP Y
The Hypergeometric Distribution
19/ 29
Theorem
If X ⇠ HG (n, M, K ), then
nK nK M K M n
E(X ) = , Var (X ) = .
M M M M 1
20/ 29
1 There are 10 cards lying face down on a table and 2 of them are
aces. If 5 cards are selected at random, what is the probability
that 2 of them are aces?
21/ 29
HG 8 16 6
2 Y
4 47
i
b E EY
Eiji
Geometric and N.B.
Definition
Suppose X is a random variable representing the number of trials
until the first success (with probability p), then X follows a
geometric distribution, denoted by X ⇠ Geo(p), with pmf given by
1
f (x) = q x p {1,2,...} (x), where q = 1 p.
Theorem
If X ⇠ Geo(p), then
1 q pe t
E(X ) = ; Var (X ) = 2 and MX (t) = .
p p 1 qe t
23/ 29
Definition
Suppose X is a random variable representing the number of trials
until the r th success (with probability p), then X follows a negative
binomial distribution, denoted by X ⇠ NB(r , p), with pmf given by
✓ ◆
x 1 x r r
f (x) = q p {r ,r +1,r +2,...} (x),
r 1
where q = 1 p.
24/ 29
25/ 29
where q = p 1.
26/ 29
Theorem
If Y ⇠ NB(r , p), then
r
rq rq p
E(Y ) = ; Var (Y ) = 2 and mY (t) = .
p p 1 qe t
27/ 29
28/ 29
IP Y 15 142 I t 15 C O 85g
151
tf N NB t 16 0 15
t Ifl 0 I2 i
I and for m
ETY 610.11
0 15
or E N IVE I 66 E 15
E 6 7 firstterm
IE E E I
II III I 6
P I Io IFI WitID x ID IF I X 121 IP X I3 Tx 14
A
ITCX 15
0.411010 6 Y ii 47 t.at
É
is ii a
IP1.3 E Y E 8
a 1718 5 I 0.415 0 6
9,3
I 1 ai
b Y HimREG n 5 M 25 88 55 I
Men
YEÉ
i
6 X HG n 10 m 20 K 5
1 51 1
o 110 1
b Xxx Poi 10.241441
P XLI IE O PIE L
t.tt
e 1o.z44it t e 44
ot44yo.i
te
c I 10001J 1000 FIX
1000 o 44 fI44
Math 150.1
29/ 29