Transcript No Slide Title
.
Chapter 15
Probability Rules!
The General Addition Rule
When two events
A
and
B
are disjoint, we can use the addition rule for disjoint events –Chap 14: However, when our events are not disjoint, this earlier addition rule will double count the probability of both A and
B
occurring. Thus, we need the
Slide 15- 2
The General Addition Rule (cont.)
The following Venn diagram shows a situation in which we would use the general addition rule: For any two events
A
and
B
,
Slide 15- 3
It Depends…
Back in Chap 3, we looked at contingency tables and talked about conditional distributions When we want the probability of an event from a
conditional
distribution, we write pronounce it “the probability of B given A .” and A probability that takes into account a given condition is called a
Slide 15- 4
It Depends… (cont.)
To find the probability of the event B given the event
A
, we restrict our attention to the outcomes in
A
. We then find in what fraction of
those
outcomes
B
also occurred Note:
P
(
A
) cannot equal 0, since we know that
A
has occurred
Slide 15- 5
The General Multiplication Rule
When two events
A
and
B
are independent, we can use the multiplication rule for independent events from Chap 14: However, when our events are not independent, this earlier multiplication rule does not work. Thus, we need the
Slide 15- 6
The General Multiplication Rule (cont.)
We encountered the general multiplication rule in the form of conditional probability Rearranging the equation in the definition for conditional probability, we get the - For any two events
A
and
B
,
or Slide 15- 7
Independence
Independence of two events means that the outcome of one event does not influence the probability of the other With our new notation for conditional probabilities, we can now formalize this definition: - Events
A
and
B
are whenever . (Equivalently, events
A
and
B
are independent whenever
P
(
A
|
B
) =
P
(
A
).)
Slide 15- 8
Independent ≠ Disjoint
Disjoint events
cannot
be independent! Why not?
- Since we know that disjoint events have no outcomes in common, knowing that one occurred means the other didn’t - Thus, the probability of the second occurring changed based on our knowledge that the first occurred - It follows, then, that the two events are
not
independent A common error is to treat disjoint events as if they were independent
Slide 15- 9
Depending on Independence
It’s much easier to think about independent events than to deal with conditional probabilities It seems that most people’s natural intuition for probabilities breaks down when it comes to conditional probabilities Don’t fall into this trap: whenever you see probabilities multiplied together, stop and ask whether you think they are really independent
Slide 15- 10
What Can Go Wrong?
Don’t use a simple probability rule where a general rule is appropriate: Don’t assume that two events are independent or disjoint without checking that they are Don’t confuse “disjoint” with “independent.”
Slide 15- 11
What have we learned?
The probability rules from Chapter 14 only work in special cases —when events are disjoint or independent We now know the General Addition Rule and General Multiplication Rule We also know about conditional probabilities Venn diagrams and tables help organize our thinking about probabilities We now know more about independence
Slide 15- 12
Example
Gender\Goals Grades Popular Sports Total
Boy 117 50 60 227 Girl Total 130 247 91 141 30 90 251 478
Slide 15- 13
Example
If we choose a student at random, what’s the probability of choosing a girl?
P
(
girl
) #
girls total
#
P
(
girl
) 251 0 .
525 478
Slide 15- 14
Example
If we choose a student at random, what’s the probability of choosing a student who is a girl and has a goal of being a popular?
P
( girl and popular ) # girls with popular goal total #
P
( girl and popular ) 91 478 0 .
190
Slide 15- 15
Example
If we choose a student at random, what’s the probability of choosing a student who has sports as a goal?
P
(
sports
) #
sports total
#
P
(
sports
) 90 478 0 .
188
Slide 15- 16
Example
If we choose a student at random, what’s the probability of choosing a student who’s goal is getting good grades or being good at sports?
Grades and sports are disjoint!!
P
( grades or sports )
P
(
grades
)
P
(
sports
)
P
( grades or sports)
P
( grades or sports) 0 247 478 .
517 90 478 0 .
188 0 .
705
Slide 15- 17
Example
If we choose a student at random, what’s the probability of choosing a student who’s goal is being good at sports or a female?
Grades and female are NOT disjoint!!
P
( sports or female) P(sports) P(female) P(sports and female) P(sports or female) 90 478 251 478 30 478
P
( sports or female) 0.188
0.525
0.063
0.65
Slide 15- 18
Example
If we choose a student at random, what’s the probability of choosing a girl who is interested in sports?
P
(
sports
|
girl
)
# sports and girls # girls
P
(
sports
|
girl
) 30 251 0 .
120
Slide 15- 19
Example
Is the probability of having good grades as a goal independent of the sex of the responding student?
P
(
grades
|
girl
)
P
(
grades
)
P
(
grades
|
girl
) 130 251 0 .
52
P
(
grades
) 247 478 0 .
52
P
(
grades
|
girl
) We can consider choosing good grades as a goal to be independent of sex.
Slide 15- 20