Discrete Distributions: 1. Bernoulli Distribution
Discrete Distributions: 1. Bernoulli Distribution
DISTRIBUTIONS
1. Bernoulli distribution
X = 0 or 1
Generic name:
(pass / fail)
(ok / defective)
(no error / error)
(not infected / infected)
(transmitted / lost)
(successes / failures)
p(1) = p
Discrete distributions
2. Binomial distribution
X = number of successes in n independent
Bernoulli trials
Possible values: X {0, 1, . . . , n}
Binomial pmf:
n x
p(x) = ( ) p (1p)nx,
x
x = 0, 1, ..., n
where
px = probability of x successes,
(1 p)nx = probability of (n x) failures,
n!
n
= number of outcomes
) =
x
x!(n x)!
with exactly x successes and (n x) failures
(
Binomial distribution
Binomial distribution
Xk is Bin(n, p)
Discrete distributions
3. Geometric distribution
X1, X2, ... ... ... = independent Bernoulli trials
X = the first successful trial
= number of trials needed
to see the first success
X has Geometric distribution with pmf
p(x) = P {X = x}
= P {(x 1) failures, then 1 success}
p(x) = (1 p)x1p
x = 1, 2, 3, ...
Example: St. Petersburg paradox
5
Discrete distributions
4. Poisson distribution
X = number of rare events
(two events are unlikely to occur during a short
period)
Examples:
Number
Number
Number
Number
Number
Number
of
of
of
of
of
of
arrived jobs
telephone calls
claims
errors
accidents
customers
Poisson distribution
Poisson pmf:
x
p(x) = e
x!
x = 0, 1, 2, ...
= intensity parameter, average number of
events per unit of time
Poisson distribution
Mathematically,
lim
p0
n!
x
x
nx
p (1 p)
=e
x!(n x)!
x!
np
8
Poisson distribution
Examples
n = 2 mln. people in DFW area
{
p=P
a person calls NY
today
= 7.5 105
= np = 150
Then X = number of calls from DFW to NY
is
Bin(2 106, 7.5 105) P oisson(150)
Poisson distribution
10
Distribution
family
Description
Possible
values
Bernoulli
0 or 1,
success
or failure
0, 1
Binomial
Number of
successes in
n Bernoulli
trials
0, . . . , n
number
of trials
prob. of
p =
success
Number of
trials
until
success
1, 2, . . .
p =
prob. of
success
Number
of rare
events
0, 1, . . .
frequency
of events
Geometric
Poisson
Parameters
p =
prob. of
success
n =
Distribution
family
P.M.F. P (x)
E(X)
Var(X)
Bernoulli
P (0) = 1 p
P (1) = p
p(1 p)
Binomial
n x
) p (1 p)nx
x
for x = 0, 1, . . . , n
np
np(1 p)
(1 p)x1p
for x = 1, 2, . . .
1
p
1p
p2
Geometric
Poisson
x!
for x = 0, 1, . . .