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

Lecture 03

This lecture discusses conditional probability and provides examples to illustrate key concepts: 1) Conditional probability is the probability of an event given that another event has occurred or additional information is known. It is calculated using the formula P(A|B) = P(A ∩ B) / P(B). 2) Examples demonstrate how to calculate conditional probabilities and how conditional probabilities differ from unconditional probabilities. 3) Conditional probabilities can be used to solve word problems by defining relevant events and using the formula to calculate probabilities.

Uploaded by

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

Lecture 03

This lecture discusses conditional probability and provides examples to illustrate key concepts: 1) Conditional probability is the probability of an event given that another event has occurred or additional information is known. It is calculated using the formula P(A|B) = P(A ∩ B) / P(B). 2) Examples demonstrate how to calculate conditional probabilities and how conditional probabilities differ from unconditional probabilities. 3) Conditional probabilities can be used to solve word problems by defining relevant events and using the formula to calculate probabilities.

Uploaded by

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

EN.553.

310/311 Probability and Statistics Fall 2022

Lecture 3: Conditional Probability

The content of this lecture roughly corresponds to Sec. 3.6–3.7 of Sheldon and Ross’ Introduction to Proba-
bility and Statistics for Engineers and Scientists.

3.1 Conditional Probability

In Lecture 2 we were concerned with (unconditional) probability, i.e. assigning a probability to an event
with no knowledge of what occurred. Sometimes, when the experiment is performed, (partial) information
about what occurred comes available (the condition).
Example 1. Suppose we roll two four-sided dice (one red, one blue) and observe the “downface on each”.
We learned there are 16 possible sample points in Ω. Let’s assume the dice are “fair” so that all 16 possible
outcomes are equally likely.
Consider the event
F = sum of faces is 4
= {(1, 3), (2, 2), (3, 1)} notice |F |= 3
Notation: cardinality or size of a set is denoted by absolute value
3
Then P (F ) = 16 . ← an (unconditionally) probability
Can think that F is the mutually exclusive union of {(1, 3)}, {(2, 2)}, and {(3, 1)}, and each of those has
1 1 1 1 3
probability 16 of occurring, so P (F ) = P ({(1, 3)}) + P ({(2, 2)}) + P ({(3, 1)}) = 16 + 16 + 16 = 16 .
Now, suppose when the experiment is performed, we saw the number 4 occurred on the red die.
Now, we know F did not occur and under this condition (a 4 on red die), the probability of F is ZERO.
A picture of what is happening in last example:

Since we are told a 4 occurs on red die, this event is, in effect, our “new” sample space, and none of the

3-1
3-2 Lecture 3: Conditional Probability

sample points in it sum to 4.


Continuing with the last example ... Suppose (instead of a 4 on the red die being observed) we learned the
sample point that occurred had a 3 in it: namely, the event that a 3 occurs actually happened. What’s the
probability of F now?
Here is the picture:

The red region is now our new sample space – which still has equally likely outcomes, but only 7 of them
now. Only 2 of these 7 (namely (1, 3) and (3, 1)) belong to F . So the conditional probability is 72 that F
occurs given a 3 was rolled.
Question: what happen if the (different) conditioning event is a 3 occurred on the red die. In this case,
probability of F given 3 on red die is 14 .
A formula for conditional probability
Notation: we wish to compute the probability of an event A given the condition that event B occurred we
write

P (A|B) (pronounced probability of A given B)

Formula:

P (A ∩ B)
P (A|B) = (3.1)
P (B)

This formula implicitly assumes P (B) > 0 since we should NOT divide by ZERO!
This formula is useful for computing a conditional probability when the unconditional probabilities P (A∩B)
and P (B) are “easier” to compute.
Example 2. Toss a fair coin 3 times and observe the sequence of heads and tails,

Ω = {HHH, HHT, HT H, HT T, T HH, T HT, T T H, T T T }

There are 8 equally likely outcomes.


Lecture 3: Conditional Probability 3-3

Define the events

A = exactly 2 heads tossed


B = first and last toss are different parity

Then
2
P (A ∩ B) 8 1
P (A|B) = = 4 =
P (B) 8
2

Notice
2
P (B ∩ A) 8 2
P (B|A) = = 3 =
P (A) 8
3

Not the same as P (B|A). So, in general, P (A|B) 6= P (B|A).


Formula (??) can also be written as:

P (A ∩ B) = P (A|B)P (B)

Also as P (A ∩ B) = P (B|A)P (A).


The above formula is useful to compute the probability of the intersection when the conditional probability
is “easy” to compute (or is known) as the following example shows:
Example 3. Consider an experiment consisting of 2 boxes: Box 1 has 1 red and 1 blue marble. Box 2 has
2 red and 1 blue marble. The experiment has you toss a fair coin, if it comes up heads select one marble
from Box 1 if it comes up tails, select one marble from Box 2.

Let R be the event a red marble is selected. If we let Bi be the event that Box i is selected (i = 1, 2), then
we are told P (B1 ) = 1/2, P (B2 ) = 1/2. But, more importantly, the conditional probabilities P (R|B1 ) = 1/2
and P (R|B2 ) = 2/3 are “easy”.
3-4 Lecture 3: Conditional Probability

Now,
1 1 1
P (R ∩ B1 ) = P (R|B1 )P (B1 ) = · =
2 2 4
and
2 1 1
P (R ∩ B2 ) = P (R|B2 )P (B2 ) = · =
3 2 3

Example 4. Suppose we have a population for which we having the following knowledge:

60% exercise regularly


30% smoke

and among people who exercise regularly 10% smoke.


If we let E be the event a person in this population exercises regularly and S be the event a person in this
population smokes, then we are given the following information

P (E) = 0.6
P (S) = 0.3
P (S|E) = 0.1 ⇒ since P (E ∩ S) = P (S|E)P (E) = 0.1 × 0.6 = 0.06

We can put this information into a Venn diagram now:

ANSWER the following...


What proportion of the population

(a) both exercise regularly and smoke [0.06]

(b) don’t smoke and don’t exercise regularly [0.16]


0.24 0.24
(c) who don’t exercise regularly, smoke [ 0.24+0.16 = 0.40 = 0.6]

You might also like