Академический Документы
Профессиональный Документы
Культура Документы
Probability Distributions
A. A. Elimam
College of Business
San Francisco State University
Topics
Basic Probability Concepts:
Sample Spaces and Events, Simple
Probability, and Joint Probability,
Conditional Probability
Random Variables
Probability Distributions
Expected Value and Variance of a RV
Topics
Discrete Probability Distributions
Bernoulli and Binomial Distributions
Poisson Distributions
Continuous Probability Distributions
Uniform
Normal
Triangular
Exponential
Topics
Random Sampling and Probability Distributions
Random Numbers
Sampling from Probability Distributions
Simulation Techniques
Sampling Distributions and Sampling Errors
Use of Excel
Probability
1 Certain
Tree Diagrams
Simple Events
The Event of a Happy Face
Number of Applications
Interest Rate 5 6 7 8 Total
7.00% 3 4 6 2 15
7.50% 2 4 3 1 10
8% 3 1 1 0 5
Total 8 9 10 3 30
Two or More Random Variables
Number of Applications
Interest Rate 5 6 7 8 Total
7.00% 0.100 0.133 0.200 0.067 0.500
7.50% 0.067 0.133 0.100 0.033 0.333
8.00% 0.100 0.033 0.033 0.000 0.167
Total 0.267 0.300 0.333 0.100 1.000
Two or More Random Variables
Number of Applications
Interest Rate 5 6 7 8 Total
7.00% 0.100 0.133 0.200 0.067 0.500
7.50% 0.067 0.133 0.100 0.033 0.333
8.00% 0.100 0.033 0.033 0.000 0.167
Total 0.267 0.300 0.333 0.100 1.000
Marginal Probabilities
Computing
Joint Probability
The Probability of a Joint Event, A and B:
P(A and B)
2 Red Aces 1
=
52 Total Number of Cards 26
Joint Probability Using
Contingency Table
Event
Event B1 B2 Total
A1 P(A1 and B1) P(A1 and B2) P(A1)
e.g.
P(Red Card or Ace)
4 Aces + 26 Red Cards 2 Red Aces 28 7
52 Total Number of Cards 52 13
Compound Probability
Addition Rule
P(A1 or B1 ) = P(A1) +P(B1) - P(A1 and B1)
Event
Event B1 B2 Total
A1 P(A1 and B1) P(A1 and B2) P(A1)
Color
Type Red Black Total Revised
Sample
Ace 2 2 4 Space
Non-Ace 24 24 48
Total 26 26 52
P(Ace AND Red) 2 / 52 2
P(Ace | Red) =
P(Red) 26 / 52 26
Conditional Probability and
Statistical Independence
Conditional Probability:
P ( A and B )
P(AB) =
P( B )
Multiplication Rule:
P(A and B) = P(A B) P(B)
= P(B A) P(A)
Conditional Probability and
Statistical Independence (continued)
Events are Independent:
P(A B) = P(A)
Or, P(B A) = P(B)
Or, P(A and B) = P(A) P(B)
Discrete Probability
Distributions
Binomial Poisson
Bernoulli Distribution
Two possible mutually exclusive outcomes
with constant probabilities of occurrence
Success (x=1) or failure (x=0)
Example : Response to telemarketing
The probability mass function is
p(x) = p if x=1
P(x) = 1- p if x=0
Where p is the probability of success
Binomial Distribution
N identical trials
Example: 15 tosses of a coin, 10 light
bulbs taken from a warehouse
2 mutually exclusive outcomes on each
trial
Example: Heads or tails in each toss of a
coin, defective or not defective light bulbs
Binomial Distributions
Constant Probability for each Trial
Example: Probability of getting a tail is the
same each time we toss the coin and each light
bulb has the same probability of being defective
2 Sampling Methods:
Infinite Population Without Replacement
Finite Population With Replacement
Trials are Independent:
The Outcome of One Trial Does Not Affect the
Outcome of Another
Binomial Probability Distribution Function
n! nX
P(X) X
p (1 p )
X ! (n X)!
P(X) = probability that X successes given a knowledge of n
and p
Tails in 2 Tosses of Coin
X = number of successes in
X P(X)
sample, (X = 0, 1, 2, ..., n) 0 1/4 = .25
p = probability of each success 1 2/4 = .50
n = sample size 2 1/4 = .25
Binomial Distribution
Characteristics
x p(x)
0 0.000000
Computing Binomial 1 0.000004
Probabilities using Excel 2 0.000074
Function BINOMDIST 3 0.000786
4 0.005505
5 0.026424
6 0.088080
7 0.201327
8 0.301990
9 0.268435
10 0.107374
Poisson Distribution
Poisson process:
Discrete events in an interval P( X x |
The probability of one success in -
e x
an interval is stable
The probability of more than one
success in this interval is 0 x!
Probability of success is
Independent from interval to
Interval
Examples:
# Customers arriving in 15 min
# Defects per case of light bulbs
Poisson Distribution
Function
X
P (X ) e
X!
P(X ) = probability of X successes given
= expected (mean) number of successes
e = 2.71828 (base of natural logs)
X = number of successes per unit
e.g. Find the probability of 4 -3.6 4
customers arriving in 3 P(X) = e 3.6 = .1912
4!
minutes when the mean is 3.6
Poisson Distribution
Characteristics
Mean P(X) = 0.5
E (X ) .6
.4
N .2
Xi P( Xi ) 0 X
0 1 2 3 4 5
i 1
P(X) = 6
.6
Standard Deviation .4
.2
0 X
0 2 4 6 8 10
Poisson Distribution
Mean 12
x p(x)
1 0.00007
Computing Poisson 2 0.00044
Probabilities using Excel 3 0.00177
Function POISSON 4 0.00531
5 0.01274
6 0.02548
7 0.04368
8 0.06552
9 0.08736
10 0.10484
11 0.11437
12 0.11437
Continuous Probability Distributions
Uniform
Triangular
Normal
Exponential
The Uniform Distribution
Equally Likely chances of
occurrences of RV values f(x)
between a maximum and a
minimum
1/(b-a)
Mean = (b+a)/2
Variance = (b-a)2/12
a is a location parameter a b x
b-a is a scale parameter
no shape parameter
The Uniform Distribution
f(x)
Symmetric
a c b x
The Triangular Distribution
a c b x
The Triangular Distribution
a c b x
The Triangular Distribution
Probability Distribution Function
2 x a
f x if a x c
b a c a
2 b x
f x if c x b
b a b c
f x 0 otherwise
The Triangular Distribution
Distribution Function
F x 0 if x a
x a
2
F x if a x c
b a c a
b x
2
F x 1 if c x b
b a b c
F x 1 if x b
The Triangular Distribution
Parameters:Minimum a, maximum b, most likely c
Symmetric or skewed in either direction
a location parameter
(b-a) scale parameter
c shape parameter
Mean = (a+b+c) / 3
Variance = (a2 + b2 + c2 - ab- ac-bc)/18
Used as rough approximation of other distributions
The Normal Distribution
Bell Shaped
Symmetrical f(X)
f X
X
2
e
2 2
There are
an Infinite
Number
X
c d
Which Table?
Each distribution
has its own table?
Z X
6 .2 5
0 . 12
10
Normal Standardized
Distribution Normal Distribution
= 10 Z = 1
= 5 6.2 X = 0 .12 Z
Shaded Area Exaggerated
Example:
P(2.9 < X < 7.1) = .1664
x 2 .9 5
z .21
10
x 7 .1 5
Normal z . 21 Standardized
10
Distribution Normal Distribution
= 10 Z = 1
.1664
.0832 .0832
= 10 =1
.5000
.3821
.1179
=5 8 X = 0 .30 Z
Shaded Area Exaggerated
Finding Z Values
for Known Probabilities
What Is Z Given Standardized Normal
Probability = 0.1217? Probability Table (Portion)
= 10 =1
.1217 .1217
=5 ? X = 0 .31 Z
X Z= 5 + (0.31)(10) = 8.1
Shaded Area Exaggerated
Exponential Distribution
Models time between
customer arrivals to a f(x)
service system and the time
to failure of machines
1.0
Memoryless : the current
time has no effect on future
outcomes
No shape or location
parameter 1 2 3 4 5 6 x
is the scale parameter
Exponential Distribution
Density : f x e x
, x0
and
Distribution : F x 1 e x
, x0
f(x) = frequency of random variable x
e = 2.71828
1/ = Mean of the exponential distribution
(1/)2 = Variance of the exponential distribution
Exponential Distribution
Mean 8000
x Cumulative Probability
1000 0.118
2000 0.221
3000 0.313
Computing Exponential 4000 0.393
Probabilities using Excel 5000 0.465
6000 0.528
Function EXPONDIST 7000 0.583
8000 0.632
9000 0.675
10000 0.713
11000 0.747
12000 0.777
13000 0.803
14000 0.826
15000 0.847
Random Sampling and Probability Distributions
Simulation
Need to Generate RV from this distribution
Random Number: Uniformly distributed (0,1)
EXCEL : RAND( ) function -has no arguments
Sampling from probability distribution:
Random variate U= a+(b-a)*R
R uniformly distributed Random Number
Sampling From Probability Distributions: EXCEL