Discrete Prob Dist
Discrete Prob Dist
Distributions
Random Variable
• Random variable
– Outcomes of an experiment
expressed numerically
– e.g.: Throw a die twice; Count the
number of times the number 6
appears (0, 1 or 2 times)
Discrete Random Variable
Discrete Random Variable with a Finite
Number of Values
A discrete random variable may assume either a
finite number of values or an infinite sequence of
values.
f(x) = 1
Discrete Probability Distributions
.30
.20
.10
0 1 2 3 4
Values of Random Variable x (TV sales)
Discrete Probability Distributions
x f(x) xf(x)
0 .40 .00
1 .25 .25
2 .20 .40
3 .05 .15
4 .10 .40
E(x) = 1.20
expected number
of TVs sold in a day
Variance
Example: JSL Appliances
(x -
x f(x) xf(x) x - E(x) (x - E(x))2f(x)
E(x))2
(y -
y f(y) yf(y) y - E(y) (y - E(y))2f(y)
E(y))2
Binomial Poisson
Binomial Distribution-
Assumptions
• “n” Identical & finite trials
– e.g.: 15 tosses of a coin; 10 light bulbs taken from a
warehouse
• Two mutually exclusive outcomes on
each trial
– e.g.: Heads or tails in each toss of a coin; defective or
not defective light bulb
• Trials are independent of each other
– The outcome of one trial does not affect the outcome
of the other.
• Constant probability for each trial
– e.g.: Probability of getting a tail is the same each time
a coin is tossed
Binomial Distribution
• A random variable X is said to follow
Binomial distribution if it assumes only
non negative values and its function is
given by
n!
PX x p x 1 p
n x
x!n x !
• x: No. of “successes” in a sample,
x=0,1,2..,n.
• n: Number of trials.
• p: probability of each success.
• q: probability of each failure (q=1-p)
Probability of a particular
Number of experimental
sequence of trial outcomes
outcomes providing exactly
with x successes in n trials
x successes in n trials
Binomial Probability Distribution
Example: Evans Electronics
Evans Electronics is concerned about a low
retention rate for its employees. In recent
years,
management has seen a turnover of 10% of
the
Thus, for any hourly employee chosen at
hourly employees annually.
random,
management estimates a probability of 0.1
that the
Choosing 3 hourly employees at random,
person
what will
is not be with the company next year.
the probability that 1 of them will leave the
company
this year?
Binomial Probability Distribution
Example: Evans Electronics
The probability of the first employee leaving
and the
second and third employees staying, denoted
(S, F, F),
is given by
With a .10 probability of –an
p(1 employee
p)(1 – p) leaving
on any
one trial, the probability of an employee
leaving on
the first trial and not on the second and third
trials is
given by
(.10)(.90)(.90) = (.10)(.90)2
Binomial Probability Distribution
Example: Evans Electronics
Two other experimental outcomes also result in
one
success and two failures. The probabilities for
all
three experimental outcomes involving one
Experiment
success Probability of
al Experimental Outcome
follow.
Outcome p(1 – p)(1 – p) = (.1)(.9)(.9)
(S, F, F) = .081
(F, S, F) (1 – p)p(1 – p) = (.9)(.1)(.9)
(F, F, S) = .081
(1 – p)(1 – p)p = (.9)(.9)(.1)
= .081
Total = .243
Binomial Probability Distribution
Example: Evans Electronics
Using the
Let: p = .10, n = 3, x = 1 probability
function
n!
f ( x) p x (1 p ) (n x )
x !( n x )!
3!
f (1) (0.1)1(0.9)2 3(.1)(.81) .243
1!(3 1)!
Binomial Probability Distribution
Using a tree diagram
Example: Evans Electronics
1st Worker 2nd Worker 3rd Worker x Prob.
L (.1) 3 .0010
Leaves (.1)
S (.9) 2 .0090
Leaves
(.1) L (.1) 2 .0090
Stays (.9)
S (.9) 1 .0810
L (.1) 2 .0090
Leaves (.1)
Stays S (.9) 1 .0810
(.9) L (.1)
1 .0810
Stays (.9)
S (.9) 0 .7290
Binomial Probabilities and Cumulative
Probabilities
Statisticians have developed tables that give
probabilities and cumulative probabilities for a
binomial random variable.
.6
P(X) n = 5 p = 0.1
• Variance and .4
standard deviation- .2
0 X
np 1 p
2
0 1 2 3 4 5
np 1 p
Ex:
np 1 p 5 .11 .1 .6708
Binomial Probability Distribution
Example: Evans Electronics
• Expected Value
• Variance
• Standard Deviation
Example
• The experiment: Randomly draw red ball with
replacement from an urn containing 10 red
balls and 20 black balls.
where:
x = the number of occurrences in an interval
f(x) = the probability of x occurrences in an inter
= mean number of occurrences in an interval
e = 2.71828
x! = x(x – 1)(x – 2) . . . (2)(1)
Poisson Probability Distribution
Poisson Probability Function
Using the
Example: Mercy Hospital probability
function
= 6/hour = 3/half-hour, x = 4
34(2.71828) 3
f (4) .1680
4!
Poisson Probability Distribution
Example: Mercy Hospital
Poisson Probabilities
0.25
0.20
Probability
0.15 Actually,
the
0.10 sequence
continues:
0.05 11, 12, 13
…
0.00
0 1 2 3 4 5 6 7 8 9 10
Number of Arrivals in 30 Minutes
Poisson Probability Distribution
= 2 = 3
Poisson Distribution
Characteristics
• Mean
E X
N
X i P X i
i 1
2
Example
Arrivals at a bus-stop follow a
Poisson distribution with an
average of 4.5 every quarter
of an hour.
(assume a maximum of 20
arrivals in a quarter of an
hour) and calculate the
probability of fewer than 3
arrivals in a quarter of an
hour.
The probabilities of 0 up to 2 arrivals can
be calculated directly from the formula
e
x
with =4.5
p()x
x!
4.50
e 4.5 So p(0) = 0.01111
p(0)
0!
Similarly p(1)=0.0611 and p(2)=0.2381