0% found this document useful (0 votes)
9 views

Lecture7 Slides

Uploaded by

philopateer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Lecture7 Slides

Uploaded by

philopateer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Special Probability Distributions:

Discrete Probability Distribution:

An experiment often consists of repeated trials, each with two possible outcomes that may be
labeled success or failure. The most obvious application deals with the testing of items as they
come off an assembly line, where each trial may indicate a defective or a nondefective item. We
may choose to define either outcome as a success. The process is referred to as a Bernoulli
process. Each trial is called a Bernoulli trial.

The Bernoulli Process

1. Consists of repeated trials


2. Each trial is a success or a failure.
3. The probability of success, denoted by p, remains constant from trial to trial.
4. The repeated trials are independent.

Consider the set of Bernoulli trials where three items are selected at random from a
manufacturing process, inspected, and classified as defective or nondefective. A defective item is
designated a success. The number of successes is a random variable X assuming integral values
from 0 through 3. The eight possible outcomes and the corresponding values of X are

Outcome NNN NDN NND DNN NDD DND DDN DDD


x 0 1 1 1 2 2 2 3

Since the items are selected independently and we assume that the process produces 25%
defectives, we have
3 1 3 9
P(NDN) = P(N)P(D)P(N) = ( )( )( ) = .
4 4 4 64
Similar calculations yield the probabilities for the other possible outcomes. The probability
distribution of X is therefore
x 0 1 2 3
27 27 9 1
f(x)
64 64 64 64

1. Binomial Distribution
The number X of successes in n Bernoulli trials is called a binomial random variable. The
probability distribution of this discrete random variable is called the binomial distribution, and
its values will be denoted by b(x; n, p) since they depend on the number of trials and the
probability of a success on a given trial.

PHM111s - Probability and Statistics


Binomial Distribution: A Bernoulli trial can result in a success with probability p and a failure
with probability q = 1−p. Then the probability distribution of the binomial
random variable X, the number of successes in n independent trials, is

 n
b(x; n, p) =   pxqn−x, x= 0, 1, 2, . . . , n.
 x

Note that when n = 3 and p = 1/4, the probability distribution of X, the number of defectives, may
be written as
1  3  1 x 3 3− x
= b ( x;3, ) =  ( ) ( ) , x 0,1,2,3
4  x 4 4
Theorem: The mean and variance of the binomial distribution b(x; n, p) are

μ = np and σ2 = npq.

Example 9.1: Five fair coins are flipped. If the outcomes are assumed independent, find the
probability mass function of the number of heads obtained.

Solution: If we let X equal the number of heads (successes) that appear, then X is a binomial
1
random variable with parameters (n = 5, p = ). Hence,
2
 5 1 1 1
P(X = 0) =   ( )0 ( )5 =
 0 2 2 32
 5 1 1 5
P(X = 1) =   ( )1 ( ) 4 =
 1 2 2 32
 5 1 1 10
P(X = 2) =   ( ) 2 ( )3 =
 2 2 2 32
 5 1 1 10
P(X = 3) =   ( )3 ( ) 2 =
 3 2 2 32
 5 1 1 5
P(X = 4) =   ( ) 4 ( )1 =
 4 2 2 32
 5 1 1 1
P(X = 5) =   ( )5 ( )0 =
 5 2 2 32
10
a) P(obtaining 3 heads) =P(X=3) =
32
31
b) P(number of heads is less than 5) = P(X<5) = 1- P(X=5) = (or at most 4 heads)
32
PHM111s - Probability and Statistics
6 26
c) P(obtaining at least 2 heads) =P(X ≥ 2) = 1- [P(X=0) + P(X=1)]=1- =
32 32
1 5
d) E(X )=μ = np = 5( ) =
2 2
1 1 5
e) Var(X ) = σ2 = npq= 5( )( ) =
2 2 4
2. Poisson Distribution
A discrete probability distribution that is useful when n is large and p is small and when the
independent variables occur over a period of time is called the Poisson distribution.

Formula for the Poisson Distribution


The probability of X occurrences in an interval of time, volume, area, etc., for a variable where λ
(Greek letter lambda) is the mean number of occurrences per unit (time, volume, area, etc.) is

λ xe− λ
P( x; λ ) = , x = 0, 1, 2, . . .
x!

=
If X has Poisson distribution, µ E=
(X ) λ and =σ 2 Var
= (X ) λ

Example 9–6 If approximately 2% of the people in a room of 200 people are left-handed, find the
probability that exactly 5 people there are left-handed.
Solution
Poisson
Since λ = np , then λ = (200)(0.02) = 4. Hence,
(2.7183) −4 (4)5 Binomial
= P(5;4) = 0.1563
5!
 200 
which is verified by the formula   (0.02)5 (0.98)195 ≈ 0.1579. The difference between the two
 5 
answers is based on the fact that the Poisson distribution is an approximation and rounding has
been used.

3. Hypergeometric Distribution
When sampling is done without replacement, the binomial distribution does not give exact
probabilities, since the trials are not independent. The smaller the size of the population, the
less accurate the binomial probabilities will be.
Formula for the Hypergeometric Distribution
Given a population with only two types of objects (females and males, defective and
nondefective, successes and failures, etc.), such that there are a items of one kind and b items of
another kind and a + b equals the total population, the probability P(x) of selecting without
replacement a sample of size n with x items of type a and n-x items of type b is

PHM111s - Probability and Statistics


 a  b 
 x  n − x 
h( x) =   
 a + b
 n 
 
na
=
The mean of the hypergeometric distribution h( x) are µ E=
(X ) .
a+b

Example 9–8 We have a lot of 100 items of which 12 are defective. What is the probability that
in a sample of 10, 3 are defective?
Solution
Using the hypergeometric probability function, we have
 12  88 
 3  7 
P(3D) =    = 0.08.
 100 
 10 
 

Solve using Multiplication rule !!!!!

Example 9–7
If 5 cards are drawn at random, we are interested in the probability of selecting 3 red
cards from the 26 available in the deck and 2 black cards from the 26 available in the
 26 
deck. There are  
 3
ways of selecting 3 red cards, and for each of these ways we can choose 2 black
 26 
cards in   ways. Therefore, the total number of ways to select 3 red and 2 black
 2
 26   26 
cards in 5 draws is the product     . The total number of ways to select any
 3  2
 52 
5 cards from the 52 that are available is   .
5
Hence, the probability of selecting 5 cards without replacement of which 3 are red and 2 are black
is given by
 26  26 
 3  2 
   = 0.3251.
 52 
5
 

PHM111s - Probability and Statistics

You might also like