STATS For Business Lec 6
STATS For Business Lec 6
STATS For Business Lec 6
Discrete Distributions
Learning Objectives
Random
Variables
Discrete Continuous
Random Variable Random Variable
Discrete Random Variables
Can only assume a countable number of values
0.50
H H 0.25
0 1 2 X
Probability Distribution Function
The Probability Distribution Function (PDF)
shows the probability for each value:
P(x) 0 for any value of x
0.25 1.00
0.90
0.20 0.80
0.70
0.15 0.60
Probability
Probability
0.50
0.10 0.40
0.30
0.05 0.20
0.10
0.00 0.00
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Value of X Value of X
x P(x)
Example: Toss 2 coins, 0 .25
x = # of heads, 1 .50
σ E(x μ) (x μ) P(x)
2 2 2
σ σ2 x
(x μ) 2
P(x)
Standard Deviation Example
σ x
(x μ) 2
P(x)
Discrete Continuous
Probability Distributions Probability Distributions
Uniform
Bernoulli
Binomial
Hypergeometric
Geometric
Poisson
Uniform Distribution
The uniform distribution describes a random
variable with a finite number of integer values
from a to b.
Each value of the random variable is equally
likely to occur.
PDF CDF
n = b - a +1
Uniform Distribution
Bernoulli Distribution
A random experiment with only 2 outcomes
is a Bernoulli experiment.
One outcome is labeled a “success” (denoted
X = 1) and the other a “failure” (denoted X = 0).
is the P(success), 1 – is the P(failure).
“Success” is usually defined as the less likely
outcome so that < 0.5 for convenience.
Possible Bernoulli Settings
n!
n Cx
X!(n X)!
Binomial Distribution Formula
n! X n X
P(X) (1-)
X ! (n X)!
P(X) = probability of X successes in n trials,
with probability of success on each trial
Example: Flip a coin four
times, let x = # heads:
X = number of ‘successes’ in sample,
n=4
(X = 0, 1, 2, ..., n)
= 0.5
n = sample size (number of trials
or observations) 1 - = (1 - 0.5) = 0.5
= probability of “success” X = 0, 1, 2, 3, 4
Example:
Calculating a Binomial Probability
What is the probability of one success in five
observations if the probability of success is 0.1?
X = 1, n = 5, and = 0.1
n!
P(X 1) X (1 ) n X
X!(n X)!
5!
(0.1)1 (1 0.1)51
1!(5 1)!
(5)(0.1)(0.9) 4
0.32805
Binomial Distribution
Characteristics
Mean
μ E(x) n
Variance and Standard Deviation
σ n (1 - )
2
σ n (1 - )
Binomial Characteristics
Examples
μ n (5)(0.1) 0.5
Mean P(X) n = 5 = 0.1
.6
.4
σ n (1 - ) (5)(0.1)(1 0.1) .2
0 X
0.6708 0 1 2 3 4 5
5
4
1
Exercise
A multiple choice exam has 50 questions. Each
question has 4 choices but only one is the correct
answer. A student randomly selects a choice for
each question. Assume that a student passes the
exam if she has 30 or more correct answers.
What is the probability that the student passes the
exam?
The Hypergeometric Distribution
Where
N = population size
s = number of items of interest in the population
N – s = number of events not of interest in the population
n = sample size
x = number of items of interest in the sample
n – x = number of events not of interest in the sample
Properties of a Hypergeometric
Distribution
Using the
Hypergeometric Distribution
■ Example: 3 different computers are selected from 10 in
the department. 4 of the 10 computers have illegal
software loaded. What is the probability that 2 of the 3
selected computers have illegal software loaded?
N = 10 n=3
s=4 x=2
( 4 C2 )(6 C1 )
P(X 2 | 3,10,4) 0.3
(10 C3 )
1
Geometric Distribution
e x
P( X x | )
x!
where:
x = number of events in an area of opportunity
= expected number of events (average number of events per unit)
e = base of the natural logarithm system (2.71828...)
Poisson Distribution Example
Mean
μλ
Variance and Standard Deviation
σ2 λ
σ λ
Using Excel For The
Poisson Distribution (λ= 3)
Using Minitab For The Poisson
2
Distribution (λ = 3)
3
5
1
Graph of Poisson Probabilities
Graphically:
= 0.50
=
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 | =0.50) = 0.0758
7 0.0000
Poisson Distribution Shape
The shape of the Poisson Distribution
depends on the parameter :
= 0.50 = 3.00
Summary