Professional Documents
Culture Documents
Experiments
Counting Rules
Combinations
Permutations
Assigning Probabilities
These are
processes that
generate welldefined
outcomes
Experiments
Experiment
Experimental Outcomes
Toss a coin
Head, tail
Defective, nondefective
Purchase, no purchase
Roll a die
1, 2, 3, 4, 5, 6
Sample Space
The sample space for an experiment
is the set of all experimental outcomes
S Head, Tail
Rolling a die:
S Defective, Nondefective
Event
Any subset of the sample space is
called an event.
S 1, 2, 3, 4, 5, 6
Rolling a die:
Events:
{1}
// the outcome is 1 (elementary event)
{ 1, 3, 5 } // the outcome is an odd number
{ 4, 5, 6 } // the outcome is at least 4.
Probability is a
numerical measure of
the likelihood of an
event occurring
0.5
Probability:
1.0
0 P( Ei ) 1 for all i
P ( E1 ) P ( E2 ) . . . P ( En ) 1
Principle of Indifference
We assign equal probability to
elementary events if we have
no reason to expect one over
the other.
1
P ( Ei )
n
This method of
assigning probabilities
is indicated if each
experimental outcome
is equally likely
S Head, Tail
S 1, 2, 3, 4, 5, 6
S Defective, Nondefective
P(Defective) = ?
Relative Frequency
Method
This method is indicated when the data are available
to estimate the proportion of the time the
experimental outcome will occur if the experiment is
repeated a large number of times.
What if experimental
outcomes are NOT equally
likely. Then the Principle of
Indifference is out. We must
assign probabilities on the
basis of experimentation or
historical data.
Selecting a part
for inspection:
S Defective, Nondefective
N parts: n1 defective and n2 nondefective
P(Defective) = n1/N, P(Nondefective) = n2/N
Number of
Number
Cleaners Rented of Days
0
4
1
6
2
18
3
10
4
2
Number of
Number
Cleaners Rented of Days Probability
.10
4
0
.15
6
1
4/40
.45
18
2
.25
10
3
.05
2
4
1.00
40
Subjective Method
Tree Diagram
Markley Oil Collins Mining
(Stage 2)
(Stage 1)
Gain 8
Gain 10
Gain 8
Gain 5 Lose 2
Lose 2
Gain 8
Even
Lose 20
Gain 8
Lose 2
Lose 2
Experimental
Outcomes
(10, 8)
Gain $18,000
$18,00
(10, -2)
Gain
(5, 8)
$8,000
$8,00
Gain $13,000
(5, -2)
Gain
$3,000
$3,00
(0, 8)
Gain
$8,00
(0, -2)
Lose
$2,00
(-20, 8)
Lose
$12,00
(-20, -2)
Lose
$22,00
This
rule allows us to
Counting Rule
for
count the number of
Combinations
experimental outcomes
when we select n objects
from a (usually larger)
set of N objects.
where
And by definition
N ! N ( N 1)( N 2) . . .(2)(1)
n! n(n 1)(n 2) . . .(2)(1)
0! 1
10
2 2!(5 2)! (2)(1)(3)(2)(1) 12
5
2
AB AC AD AE BC BD BE CD CE and DE
Iowa Lottery
Iowa randomly selects 6 integers from a group of 47 to
determine the weekly winner. What are your odds of winning if
you purchased one ticket?
47
47!
(47)(46)(45)(44)(43)(42)
C647
10,737,573
(6)(5)(4)(3)(2)(1)
6 6!(47 6)!
N
N!
P n!
n ( N n)!
N
n
5!
5! (5)(4)(3)(2)(1) 120
P
20
(5 2)! 3! (3)(2)(1)
6
5
2
AB BA AC CA AD DA AE EA BC CB BD DB BE
EB CD DC CE EC DE and ED
Complement
Complement of
of an
an Event
Event
Union
Union of
of Two
Two Events
Events
Intersection
Intersection of
of Two
Two Events
Events
Mutually
Mutually Exclusive
Exclusive Events
Events
Complement of an Event
The
The complement
complement of
of event
event AA is
is defined
defined to
to be
be the
the even
eve
consisting
consisting of
of all
all sample
sample points
points that
that are
are not
not in
in A.
A.
c
The
The complement
complement of
of AA is
is denoted
denoted by
by AAc..
Event A
Venn
Diagra
m
Ac
Sample
Space S
Event A
Event B
Sample
Space S
M C = {(10, 8), (10, 2), (5, 8), (5, 2), (0, 8), (2
P(M C) = P(10, 8) + P(10, 2) + P(5, 8) + P(5, 2)
+ P(0, 8) + P(20, 8)
= .20 + .08 + .16 + .26 + .10 + .02
= .82
The
The intersection
intersection of
of events
events AA and
and BB is
is denoted
denoted by
by AA
Event A
Event B
Intersection of A and B
Sample
Space S
Addition Law
The
The addition
addition law
law provides
provides aa way
way to
to compute
compute the
the
probability
probability of
of event
event A,
A, or
or B,
B, or
or both
both AA and
and BB occurrin
occurrin
The
The law
law is
is written
written as:
as:
P(A B) = P(A) + P(B) P(A B
Addition Law
Event M = Markley Oil Profitable
Event C = Collins Mining Profitable
M C = Markley Oil Profitable
or Collins Mining Profitable
We know: P(M) = .70, P(C) = .48, P(M C) = .36
Thus: P(M C) = P(M) + P(C) P(M C)
= .70 + .48 .36
= .82
(This result is the same as that obtained earlier
using the definition of the probability of an event.)
Two
Two events
events are
are mutually
mutually exclusive
exclusive if,
if, when
when one
one even
even
occurs,
occurs, the
the other
other cannot
cannot occur.
occur.
Event A
Event B
Sample
Space S
IfIf events
events AA and
and BB are
are mutually
mutually exclusive,
exclusive, PP((AA
BB =
=
The
The addition
addition law
law for
for mutually
mutually exclusive
exclusive events
events is:
is:
P(A B) = P(A) + P(B)
theres no need to
include P(A
B
Conditional Probability
The
The probability
probability of
of an
an event
event given
given that
that another
another event
event
has
has occurred
occurred is
is called
called aa conditional
conditional probability
probability..
The
The conditional
conditional probability
probability of
of AA given
given BB is
is denoted
denoted
by
by PP((AA||BB).).
AA conditional
conditional probability
probability is
is computed
computed as
as follows
follows ::
P( A B)
P( A| B)
P(B)
Conditional Probability
Event M = Markley Oil Profitable
Event C = Collins Mining Profitable
P(C M ) .36
.5143
Thus:P(C| M )
P( M )
.70
Multiplication Law
The
The multiplication
multiplication law
law provides
provides aa way
way to
to compute
compute th
th
probability
probability of
of the
the intersection
intersection of
of two
two events.
events.
The
The law
law is
is written
written as:
as:
P(A B) = P(B)P(A|B)
Multiplication Law
Event M = Markley Oil Profitable
Event C = Collins Mining Profitable
M C = Markley Oil Profitable
and Collins Mining Profitable
We know: P(M) = .70, P(C|M) = .5143
Thus: P(M C) = P(M)P(M|C)
= (.70)(.5143)
= .36
(This result is the same as that obtained earlier
using the definition of the probability of an event.)
Independent Events
IfIf the
the probability
probability of
of event
event AA is
is not
not changed
changed by
by the
the
existence
existence of
of event
event BB,, we
we would
would say
say that
that events
events AA
and
and BB are
are independent
independent..
Two
Two events
events AA and
and BB are
are independent
independent if:
if:
P(A|B) = P(A)
or
P(B|A) = P(B)
Multiplication Law
for Independent Events
The
The multiplication
multiplication law
law also
also can
can be
be used
used as
as aa test
test to
to ss
ifif two
two events
events are
are independent.
independent.
The
The law
law is
is written
written as:
as:
P(A B) = P(A)P(B)
Multiplication Law
for Independent Events
Event M = Markley Oil Profitable
Event C = Collins Mining Profitable
Are events M and C independent?
DoesP(M C) = P(M)P(C) ?
We know: P(M C) = .36, P(M) = .70, P(C) = .48
But: P(M)P(C) = (.70)(.48) = .34, not .36
Hence: M and C are not independent.
Terminology
Eventsmayormaynotbemutuallyexclusive.
IfEandFaremutuallyexclusiveevents,then
P(EUF)=P(E)+P(F)
IfEandFarenotmutuallyexclusive,then
P(EUF)=P(E)+P(F)P(EnF).
Allelementaryeventsaremutuallyexclusive.
Thebirthofasonora
daughteraremutually
exclusiveevents.
The event that the outcome
of rolling a die is even and
the event that the outcome of
rolling a die is at least four
are not mutually exclusive.
Simpleprobabilities
IfAandBaremutuallyexclusiveevents,
thentheprobabilityofeitherAorBtooccur
istheunion
P(A B) P(A) P(B)
Example:Theprobabilityofahatbeingredis,theprobabilityof
thehatbeinggreenis,andtheprobabilityofthehatbeingblackis
.Then,theprobabilityofahatbeingredORblackis.
Simpleprobabilities
IfAandBareindependentevents,thenthe
probabilitythatbothAandBoccuristhe
intersection
Simpleprobabilities
Example: The probability that a US president is bearded is
~14%, the probability that a US president died in office is
~19%. If the two events are independent, the probability that
a president both had a beard and died in office is ~3%. In
reality, 2 bearded presidents died in office. (A close enough
result.)
Harrison, Taylor, Lincoln*, Garfield*, McKinley*, Harding, Roosevelt, Kennedy* (*assassinated)
Conditionalprobabilities
WhatistheprobabilityofeventAtooccur
giventhateventBdidoccur.Theconditional
probabilityofAgivenBis
P(A B)
P(A | B)
P(A)
Example: The probability that a US president dies in office
if he is bearded 0.03/0.14 = 22%. Thus, out of 6 bearded
presidents, 22% are expected to die in office. In reality, 2
died. (Again, a close enough result.)
ProbabilityDistribution
Theprobabilitydistribution
referstothefrequencywithwhich
allpossibleoutcomesoccur.There
arenumeroustypesofprobability
distribution.
TheUniformDistribution
Avariableissaidtobeuniformlydistributedifthe
probabilityofallpossibleoutcomesareequaltoone
another.Thus,theprobabilityP(i),whereiisoneofn
possibleoutcomes,is
1
P(i)
n
TheBinomialDistribution
Aprocessthathasonlytwopossibleoutcomesiscalleda
binomialprocess.Instatistics,thetwooutcomesare
frequentlydenotedassuccessandfailure.The
probabilitiesofasuccessorafailurearedenotedbypand
q,respectively.Notethatp+q=1.Thebinomial
distributiongivestheprobabilityofexactlyksuccessesin
ntrials
n k
n
k
P(k) p 1 p
k
TheBinomialDistribution
Themeanandvarianceofabinomiallydistributedvariable
aregivenby
np
V npq
ThePoissondistribution
Poisson dApril
Simon
Simon Denis
Denis Poisson
Poisson
1781-1840
1781-1840
ThePoissondistribution
Whentheprobabilityofsuccessisverysmall,e.g.,the
probabilityofamutation,thenpkand(1p)nkbecometoo
smalltocalculateexactlybythebinomialdistribution.In
suchcases,thePoissondistributionbecomesuseful.Let
betheexpectednumberofsuccessesinaprocess
consistingofntrials,i.e.,=np.Theprobabilityof
observingksuccessesis
e
P(k)
k!
ThemeanandvarianceofaPoissondistributed
variablearegivenby=andV=,respectively.
Normal Distribution
Gamma Distribution