Chapter+1 Recorded-1
Chapter+1 Recorded-1
Probability Theory
Experiments & Sample Spaces
An experiment is a process for which a
single outcome occurs but in which there is
more than one possible outcome. Thus, we
are uncertain which outcome will occur.
Examples:
Flipping a coin, rolling a die, drawing a card.
Measuring the lifetime of a single light bulb.
Counting the number of defective TVs in a
shipment.
Experiments & Sample Spaces
The sample space S of an experiment is the
set of all possible outcomes of the experiment.
Examples:
If we flip a coin twice and observe the face, then
S = { HH, HT, TH, TT }.
If we measure the lifetime of a light bulb (in
hours), then S = { }.
If we measure the number of defective TVs in a
shipment of 100, then S = { 0, 1, … , 100}.
Probability Models
We can assign probabilities to each element of a
sample space to represent how certain we are that
each particular outcome will occur.
If S = {O1, O2, … , On}, we can assign a probability
to each outcome Oi for i = 1, 2, …, n such that:
1) for i = 1, 2, …, n, and
2)
Probability Models
P (Oi ) represents “the probability of outcome Oi
occuring”.
S = {H, T} P(H) = p1 = .5
(flip a fair coin) P(T) = p2 = .5
S = {electrical, P(electrical) = p1 = .2
mechanical, misuse}
P(mechanical) = p2 = .5
(causes of a machine
breakdown) P(misuse) = p3 = .3
Events
An event A is a subset of the sample space S.
It is a set containing outcomes of a particular
interest.
The probability of an event A, represented by
P (A ), is simply the sum of the probabilities of
the individual outcomes contained within A.
It follows that P (A ) for any event A.
Note that P (S ) = 1.
Example 1
Consider an experiment in which we roll a fair
die once and observe the number of dots.
Our sample space is S = { 1, 2, 3, 4, 5, 6 }.
Each outcome in the sample space has a
probability of 1/6 since on a fair die they are all
equally likely.
Let A represent the event that we observe an
even number of dots. What is the probability of
A?
Venn Diagrams
We can represent samples spaces and events as
Venn diagrams. In our previous example, we can
represent the sample space S and the event
A = { 2, 4, 6 } in the following fashion:
1 3 5 S
A
2 4 6
Complements of Events
The complement of an event A, denoted by A',
includes all outcomes in the sample space S that are
not already included in A.
In the previous example with A = { 2, 4, 6 }, we
have A' = { 1, 3, 5 }.
S
– P( )–P( ) – P( )
+ P( )
If A, B, and C are all mutually exclusive with each
Other Set Identities
– “The complement of
the union equals the intersection of the
complements.”
– “The complement of
the intersection equals the union of the
complements.”
There are other useful identities on pages 18
and 21 of your textbook.
Example 2
Suppose it is known among all cars that 15% emit
excessive hydrocarbons, 12% emit excessive carbon
monoxide, and 8% emit excessive amounts of both.
If a car is selected at random, what is the probability
that…
a) hydrocarbon emissions are not excessive?
b) at least one type of emission is excessive?
c) neither type of emission is excessive?
d) hydrocarbon emissions are not excessive but
carbon monoxide emissions are excessive?
Conditional Probability
There are often experiments in which more than
one event is of interest, and where one event can
affect another event. In such situations, it is
desirable to compute the probability of some event
A occurring given that some other event B has
already occurred.
The conditional probability of event A occurring
conditional on the fact that event B has occurred is
Example 3
Suppose I have a standard deck of 52
playing cards. If I draw a card and observe
that it is a diamond, what is the probability
that it is a king?
Define K to be the event “drawing a king”.
Define D to be the event “drawing a
diamond”.
Example 4
In a bin of 1000 switches, 600 are of Brand A
and 400 are of Brand B. Further, 10% of all
Brand A switches and 5% of all Brand B switches
are known to be defective.
If a switch is selected at random, what is the
probability that it is Brand A and it is defective?
Here is what we know:
P (A ) = .60, P (B ) = .40
P (D | A ) = .10, P (D | B ) = .05
Independent Events
Two events A and B are said to be independent
if any of the following three equivalent
statements hold true:
A1 A2 ………………………. An S
B
Example 7
A company manufactures network cards. 50% are
produced at plant A, 30% at plant B, and 20% at
plant C. The percentage of defective networks card
at plants A, B, and C is 1%, 2%, and 3%
respectively. What is the probability that a network
card chosen at random will be defective?
This is what we know:
P (A ) = .50, P (B ) = .30, P (C ) = .20
P (D | A ) = .01, P (D | B ) = .02, P (D | C ) = .03
Bayes’ Theorem
If a sequence A1, A2, …, An is a partition of a sample
space, then the probability of the events Ai
conditional on an event B can be obtained from
D2 D1D2 .0003
D1
D1D2' .0177
D2'
D2 D1'D2
.0177
D1'
D1'D2' .9643
D2'
Example 9 (cont’d)
Outcome Probability
D2 D1D2 .0003
D1
This is
This is P (D2 | D1).
This is P (D1).