Lecture 14
Chance
DATA 8
Fall 2017
Slides created by John DeNero (denero@berkeley.edu) and Ani Adhikari (adhikari@berkeley.edu)
Announcements
The Monty Hall Problem
Monty Hall Problem
Attendance
Probability
Probability
(Demo)
Equally Likely Outcomes
Assuming all outcomes are equally likely, the chance of an event A is:
number of outcomes that make A happen
P(A) = ---------------------------------------------------------------
total number of outcomes
Fraction of a Fraction
(Demo)
Multiplication Rule
Chance that two events A and B both happen
= P(A happens) x P(B happens given that A has happened)
(Demo)
Addition Rule
If event A can happen in exactly one of two ways, then
P(A) = P(first way) + P(second way)
Example: At Least One Head
(Demo)