Chapter 8 Probability Distributions: Adobe Acrobat 7.0 Document
Chapter 8 Probability Distributions: Adobe Acrobat 7.0 Document
Chapter 8 Probability Distributions: Adobe Acrobat 7.0 Document
0
Document
Distributions
8.1 Random variables
8.2 Probability distributions
8.3 Binomial distribution
8.4 Hypergeometric distribution
8.5 Poisson distribution
8.7 The mean of a probability distribution
8.8 Standard deviation of a probability
distribution
8.1 Random variables
A random variable is some numerical
outcomes of a random process
Toss a die
X=points showing
Plant 100 seeds of pumpkins
X=% germinating
Test a light bulb
X=lifetime of bulb
Test 20 light bulbs
X=average lifetime of bulbs
Types of random variables
Continuous
Lifetimes, time
8.2 Probability distributions
For a discrete random variable, the
probability of for each outcome x to
occur, denoted by f(x), with properties
0 f(x) 1, f(x)=1
Example 8.1
x 1 2 3 4 5 6
f(x) 1/6 1/6 1/6 1/6 1/6 1/6
Example 8.2
x P(x)
0 ¼ P(TT)=P(T)*P(T)=1/2*1/2=1/4
1 ½ P(TH or HT)=P(TH)+P(HT)=1/2*1/2+1/2*1/2=1/2
2 ¼ P (HH)=P(H)*P(H)=1/2*1/2=1/4
Example 8.3
x P(x)
Probability distribution
By probability distribution, we mean a
correspondence that assigns
probabilities to the values of a random
variable.
Exercise
Check whether the correspondence given by
x3
f ( x) , for x=1, 2, and 3
15
can serve as the probability distribution of some
random variable.
Hint:
The values of a probability distribution must be
numbers on the interval from 0 to 1.
The sum of all the values of a probability
distribution must be equal to 1.
solution
Substituting x=1, 2, and 3 into f(x)
1 3 4 5 6
f (1) , f (2) , f (3)
15 15 15 15
They are all between 0 and 1. The sum is
4 5 6
1
15 15 15
f ( x)
x 6 6
Toss a die 5 times. X=# of sixes.Find P(X=2)
S=six N=not a six
SSNNN 1/6*1/6*5/6*5/6*5/6=(1/6)2(5/6)3
SNSNN 1/6*5/6*1/6*5/6*5/6=(1/6)2(5/6)3
SNNSN 1/6*5/6*5/6*1/6*5/6=(1/6)2(5/6)3
SNNNS
NSSNN etc. 10 ways to choose 2 of 5 places for S.
NSNSN __ __ __ __ __
NSNNs
5 5! 5! 5 * 4 * 3!
2 2!(5 2)! 2!3! 2 *1* 3! 10
NNSSN
2 3
NNSNS 1 5
P( x 2) 10 *
NNNSS 6 6
[1-P(S)]5 - # of S
[P(S)]# of S
In general: n independent trials
p probability of a success
x=# of successes
SSNN…S px(1-p)n-x
SNSN…N
n
ways to choose x places for s,
x
n x n x
f ( x) p (1 p)
x
Roll a die 20 times. X=# of 6’s,
n=20, p=1/6 20 x
20 1 5
x
f ( x)
x 6 6
1 5
4 16
20
p( x 4)
4 6 6
f ( x)
x 2 2 x 2
More example
50
P( X 48) 0.93 0.07
48
48 2
To find binomial probabilities:
Direct substitution. (can be hard if n is
large)
Use approximation (may be introduced
later depending on time)
Computer software (most common
source)
Binomial table (Table V in book)
Adobe Acrobat 7.0
Document
n picked
a successes X= # of successes
b non-successes
In the box: a successes, b non-successes
The probability of getting x successes (white
balls):
# of ways to pick n balls with x successes
p( x )
total # of ways to pick n balls
# of ways to pick x successes
=(# of ways to choose x successies)*(# of ways to choose n-x non-successes)
a b
=
x n x a b
x n x
f ( x ) , x 0,1,2,..., a
a b
n
Example
52 cards. Pick n=5.
X=# of aces,
then a=4, b=48
4 48
2
3
P ( X 2)
52
5
Example
A box has 100 batteries.
a=98 good ones
b= 2 bad ones
n=10
X=# of good ones
98 2
8
2
P ( X 8)
100
10
Continued
P(at least 1 bad one)
=1-P(all good)
1 P( X 10)
98 2
10 0
1
100
10
98 97 96 95 94 93 92 91 90 89
1
100 99 98 97 96 95 94 93 92 91
8.5 Poisson distribution
Events happen independently in time or
space with, on average, λ events per
unit time or space.
Radioactive decay
λ=2 particles per minute
Lightening strikes
λ=0.01 strikes per acre
Poisson probabilities
Under perfectly random occurrences it
can be shown that mathematically
x e
f ( x) , x=0, 1, 2, ...
x!
Radioactive decay
x=# of particles/min
λ=2 particles per minutes
23 e2
P( x 3) , x=0, 1, 2, ...
3!
Radioactive decay
X=# of particles/hour
λ =2 particles/min * 60min/hour=120 particles/hr
125 120
120 e
P( x 125) , x=0, 1, 2, ...
125!
exercise
A mailroom clerk is supposed to send 6
of 15 packages to Europe by airmail,
but he gets them all mixed up and
randomly puts airmail postage on 6 of
the packages. What is the probability
that only three of the packages that are
supposed to go by air get airmail
postage?
exercise
Among an ambulance service’s 16
ambulances, five emit excessive
amounts of pollutants. If eight of the
ambulances are randomly picked for
inspection, what is the probability that
this sample will include at least three of
the ambulances that emit excessive
amounts of pollutants?
Exercise
The number of monthly breakdowns of the
kind of computer used by an office is a
random variable having the Poisson
distribution with λ=1.6. Find the probabilities
that this kind of computer will function for a
month
Without a breakdown;
With one breakdown;
With two breakdowns.
8.7 The mean of a probability distribution
X=# of 6’s in 3 tosses of a die
x f(x)
0 (5/6)3
1 3(1/6)(5/6)2
2 3(1/6)2(5/6)
3 (1/6)3
E(X)=(1)(1/6)+(2)(1/6)+(3)(1/6)+
(4)(1/6)+(5)(1/6)+(6)(1/6)
=3.5
X=# of heads in 2 coin tosses
x 0 1 2
P(x) ¼ ½ ¼
Population Mean=1
is the center of gravity of the probability
distribution.
For example,
• 3 white balls, 2 red balls
• Pick 2 without replacement
X=# of white ones
x P(x)
0 P(RR)=2/5*1/4=2/20=0.1
1 P(RW U WR)=P(RW)+P(WR)
=2/5*3/4+3/5*2/4=0.6
2 P(WW)=3/5*2/4=6/20=0.3
=E(X)=(0)(0.1)+(1)(0.6)+(2)(0.3)=1.2
0.1 0.6 0.3
0 1 2
The mean of a probability distribution
Binomial distribution
n= # of trials,
p=probability of success on each trial
X=# of successes
n x
E ( x ) x p (1 p ) np
n x
x
Toss a die n=60 times, X=# of 6’s
known that p=1/6
μ=μX =E(X)=np=(60)(1/6)=10
a – successes
b – non-successes
pick n balls without replacement
X=# of successes
a b a b
E( x) x n
x n x
a
n
ab
Example
50 balls
20 red
30 blue
N=10 chosen without replacement
X=# of red
20
E ( x) 10*( ) 10*0.4 4
50
Since 40% of the balls in our box are red, we
expect on average 40% of the chosen balls to
be red. 40% of 10=4.
Exercise
Among twelve school buses, five have
worn brakes. If six of these buses are
randomly picked for inspection, how
many of them can be expected to have
worn brakes?
Exercise
If 80% of certain videocassette
recorders will function successfully
through the 90-day warranty period,
find the mean of the number of these
recorders, among 10 randomly selected,
that will function successfully through
the 90-day warranty period.
8.8 Standard Deviation of a
Probability Distribution
Variance:
σ2=weighted average of (X-μ)2
by the probability of each possible
x value
= (x- μ)2f(x)
Standard deviation:
( x ) 2
f ( x)
Example 8.8
Hypergeometric:
a b abn
n
2
a b a b a b 1
np(1 p ) finite population correction factor
Example
In a federal prison, 120 of the 300
inmates are serving times for drug-
related offenses. If eight of them are to
be chosen at random to appear before
a legislative committee, what is the
probability that three of the eight will
be serving time for drug-related
offenses? What is the mean and
standard deviation of the distribution?
Alternative formula
σ2=∑x2f(x)–μ2