Professional Documents
Culture Documents
Discrete Probability
How to calculate the expected value and variance
Distributions
of a probability distribution.
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 3 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 4
Probability Distribution For A
Discrete Variables Discrete Variable
A probability distribution for a discrete variable is a
Can only assume a countable number of mutually exclusive list of all possible numerical outcomes
values.
for that variable and a probability of occurrence associated
Examples: with each outcome.
Interruptions Per Day In Probability
Computer Network
Roll a die twice
Let X be the number of times 4 occurs 0 0.35
(then X could be 0, 1, or 2 times). 1 0.25
2 0.20
3 0.10
Toss a coin 5 times.
Let X be the number of heads 4 0.05
(then X = 0, 1, 2, 3, 4, or 5). 5 0.05
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 5 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 6
0.4
P E(X) ¦ x P( X i xi )
i 1
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 7 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 8
Discrete Variables: Discrete Variables: Measuring Dispersion
Measuring Dispersion (continued)
Variance of a discrete variable. N
σ ¦ [x i E(X)]2 P(X xi )
N
i 1
σ2 ¦ [x i E(X)]2 P(X xi )
i 1 Interruptions Per
Day In Computer Probability
Network (xi) P(X = xi) [xi – E(X)]2 [xi – E(X)]2P(X = xi)
Standard Deviation of a discrete variable.
0 0.35 (0 – 1.4)2 = 1.96 (1.96)(0.35) = 0.686
N 1 0.25 (1 – 1.4)2 = 0.16 (0.16)(0.25) = 0.040
2 2
σ σ ¦ [x i E(X)] P(X xi ) 2 0.20 (2 – 1.4)2 = 0.36 (0.36)(0.20) = 0.072
i 1 3 0.10 (3 – 1.4)2 = 2.56 (2.56)(0.10) = 0.256
where: 4 0.05 (4 – 1.4)2 = 6.76 (6.76)(0.05) = 0.338
E(X) = Expected value of the discrete variable X 5 0.05 (5 – 1.4)2 = 12.96 (12.96)(0.05) = 0.648
xi = the ith outcome of X
P(X=xi) = Probability of the ith occurrence of X σ2 = 2.04, σ = 1.4283
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 9 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 10
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 11 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 12
The Binomial Distribution
Possible Applications for the
Binomial Distribution Counting Techniques
A manufacturing plant labels items as Suppose the event of interest is obtaining heads on the
either defective or acceptable. toss of a fair coin. You are to toss the coin three times.
In how many ways can you get two heads?
A firm bidding for contracts will either get a
contract or not. Possible ways: HHT, HTH, THH, so there are three
ways you can getting two heads.
A marketing research firm receives survey
responses of “yes I will buy” or “no I will This situation is fairly simple. We need to be able to
not.” count the number of ways for more complicated
situations.
New job applicants either accept the offer
or reject it.
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 13 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 14
The number of combinations of selecting x How many possible 3 scoop combinations could you
objects out of n objects is: create at an ice cream parlor if you have 31 flavors to
select from and no flavor can be used more than once
in the 3 scoops?
n! The total choices is n = 31, and we select X = 3.
n Cx
x! (n x)!
31! 31! 31 x 30 x 29 x 28!
31 C3 31 x 5 x 29 4,495
where: 3!(31 3)! 3!28! 3 x 2 x 1 x 28!
n! =(n)(n - 1)(n - 2) . . . (2)(1)
x! = (X)(X - 1)(X - 2) . . . (2)(1)
0! = 1 (by definition)
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 15 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 16
Binomial Distribution Formula Example:
Calculating a Binomial Probability
n! x x
P(X=x |n,π) π (1-π)n What is the probability of one success in five
x! (n x )! observations if the probability of an event of
interest is 0.1?
P(X=x|n,π) = probability that X = x events of x = 1, n = 5, and π = 0.1
interest, given n and π Example: Flip a coin four
times, let x = # heads: n!
x = number of “events of interest” in sample, P(X 1 | 5,0.1) S x (1 S ) n x
(x = 0, 1, 2, ..., n) n=4 x! (n x)!
n = sample size (number of trials π = 0.5
5!
or observations) 1 - π = (1 - 0.5) = 0.5 (0.1)1 (1 0.1) 51
1!(5 1)!
π = probability of “event of interest” X = 0, 1, 2, 3, 4
1 – π = probability of not having an (5)(0.1)(0.9) 4
event of interest 0.32805
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 17 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 18
n!
P(X 1 | 4, 0.10) S x (1 S) n x
x! (n x)!
4!
(0.10)1 (1 0.10) 41
1!(4 1)!
(4)(0.10)(0.729)
0.2916
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 19 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 20
The Binomial Distribution Binomial Distribution
Shape Characteristics
The shape of the
P(X=x|5, 0.1) Mean: μ E(X) nS
binomial distribution .6
depends on the values .4
of π and n. .2
Variance and Standard Deviation:
Here, n = 5 and π = 0.1. 0
0 1 2 3 4 5 x
σ2 nS (1 - S )
P(X=x|5, 0.5)
.6
.4
σ nS (1 - S )
Here, n = 5 and π = 0.5. .2 Where n = sample size
0 π = probability of the event of interest for any trial
0 1 2 3 4 5 x (1 – π) = probability of no event of interest for any trial
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 21 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 22
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 23 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 24
The Poisson Distribution
Poisson Distribution Formula
Apply the Poisson Distribution when:
You are interested in counting the number of times a
particular event occurs in a given area of opportunity. An
area of opportunity is defined by time, length, surface area, e O Ox
and so forth. P( X x | O)
The probability that an event occurs in a given area of x!
opportunity is the same for all the areas of opportunity.
The number of events that occur in one area of opportunity where:
is independent of the number of events that occur in any
other area of opportunity. x = number of events in an area of opportunity
O = expected number of events
The probability that two or more events will occur in an area
of opportunity approaches zero as the area of opportunity e = base of the natural logarithm system (2.71828...)
becomes smaller.
The average number of events per unit is O (lambda).
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 25 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 26
σ2 λ
eO O x e 3.0 3.0 2
P(X 2|3.0)
x! 2!
σ λ 9
2.71828 3 ( 2 )
where O = expected number of events.
0.2240
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 27 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 28
Excel & Minitab & JMP Can Automate
Poisson Probability Calculations Graph of Poisson Probabilities
The mean number of customers who arrive per minute
at a bank during the noon-to-1pm hour is 3.0.
Graphically:
λ = 3.0
O = 0.50
O=
X 0.50
0 0.6065
1 0.3033
2 0.0758
3 0.0126
4 0.0016
5 0.0002
6 0.0000
P(X = 2 | O=0.50) = 0.0758
7 0.0000
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 29 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 30
ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 31 ALWAYS LEARNING Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide 32