Lec04 - Random Variables and Discrete Probability Distributions_2
Lec04 - Random Variables and Discrete Probability Distributions_2
LECTURE 04
Random Variables
and Discrete Probability Distributions
Random
Variables
Discrete Continuous
Random Variable Random Variable
Random Variables
4.2 Discrete Probability
Distributions
A probability distribution shows the possible
events and the associated probability for each
of these events to occur.
Table 4.1 is a distribution that shows the
weight (in grams) of a part produced by a
machine and the probability of the part
meeting quality requirements.
A distribution is said to be discrete if it is built
on discrete random variables.
A random variable is said to be discrete
when all the possible outcomes are
countable.
Discrete Random Variables
• Can only assume a countable number of values
Examples:
.50
.25
H H
0 1 2
x
Discrete Probability Distribution
• The set of ordered Pairs (x, f(x) ) is called a
probability function, or probability mass function
(pmf) or probability distribution function (pdf) of
the discrete random variable X if:
• f(x) 0
• f (x ) 1
• P(X=x) = f(x)
Cumulative Distribution Function
F (x ) P (X x ) p (y )
y :y x
x –8 –3 –1 0 1 4 6
P(X = x) 0.13 0.15 0.17 0.20 0.15 0.11 0.09
Find
a. P X 0 0.65
b. P 3 X 1 0.67
4.3 Discrete Probability Distribution
in Engineering Applications
The four most used discrete probability
distributions in business operations are:
1. the binomial,
2. the Poisson,
3. the geometric, and
4. the hyper-geometric distributions
Solution:
In other words, the probability of having only two good bottles out of 7 is
zero. This result can also be found using the binomial table usually
used by Engineers.
Binomial Probability Distribution
Using Minitab
Minitab has the capabilities to
calculate the probabilities
for more than just one event to
take place.
Where :
The mean and the variance of the Poisson distribution are the same,
and the standard deviation is the square root of the mean:
Solution:
N. Failures Probability
0 0.021494
1 0.082535
2 0.158468
3 0.202839
4 0.194726
5 0.149549
6 0.095711
7 0.052505
8 0.025202
9 0.010753
10 0.004129
Poisson Probability Distribution
Practical Case (1-4)
The probability that more than n trials are needed before the first
success is:
Geometric Probability Distribution
The mean and standard deviation for the geometric distribution are:
Geometric Probability Distribution
Examples of Geometric PDF
• First car arriving at a service station that needs brake pads
• First plane arriving at an airport that needs repair
• Flipping a coin until the first tail is observed
• Length of time(in days) between a sale of a large computer
system occurs
• Number of house showings before a sale is concluded
Geometric Probability Distribution
Engineering Example
The probability for finding an error by an auditor in a production
line is 0.01.
a) What is the probability that the first error is found at the 70th
part audited?
b) What is the probability that more than 50 parts must be audited
before the first error is found?
Solution:
(a)
The probability that the first error is found at the 70th part audited
will be 0.004998.
(b)
4.3.4 Hyper-geometric Probability Distribution
One of the conditions of a binomial distribution was the
independence of the trials; the probability of a success is the
same for every trial.
The sampling must be done with replacement of each item
after it is observed.
If successive trials are performed without replacement and the
sample size or population is small, the probability for each
observation will vary.
When the sampling is finite (relatively small and known) and the
outcome changes from trial to trial, the hyper-geometric
distribution is used instead of the binomial distribution.
Hyper-geometric Probability Distribution
The formula for the hyper-geometric distribution is :
where:
N: size of the population,
k: number of “successes” in the population,
n: number sampled (or sample size)
x: number of “ successes” in the sample (between zero and n)
The Mean and the Variance for the distribution are:
N = 75 : Population Size
k = 8 : Number of failures
n = 5 : Sample Size
x = 1 : the variable.
Hyper-geometric Probability Distribution
Minitab Solution - Engineering Example
The example:
A total of 75 parts are received
The Results:
from the suppliers. We are
informed that 8 defective parts
0 0.559559
were shipped by mistake, and 1 0.355276
5 parts have already been 2 0.077717
installed on machines. 3 0.007174
4 0.000272
The problem Data: 5 0.000003
6 0.000000
N = 75 : Population Size 7 0.000000
8 0.000000
k = 8 : Number of failures 9 0.000000
n = 5 : Sample Size 10 0.000000
x = 1 : the variable.
Thank You
Any Questions ?