2. Conditional Probability

Slides:



Advertisements
Similar presentations
1 Press Ctrl-A ©G Dear2009 – Not to be sold/Free to use Tree Diagrams Stage 6 - Year 12 General Mathematic (HSC)
Advertisements

Bayes Rule for probability. Let A 1, A 2, …, A k denote a set of events such that An generalization of Bayes Rule for all i and j. Then.
Basic Terms of Probability Section 3.2. Definitions Experiment: A process by which an observation or outcome is obtained. Sample Space: The set S of all.
7 Probability Experiments, Sample Spaces, and Events
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Chapter 4 Using Probability and Probability Distributions
Chapter 3 Section 3.3 Basic Rules of Probability.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Conditional probability part two.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Conditional probability part two.
Chapter 3 Section 3.6 Conditional Probability. The interesting questions that probability can answer are how much one event will effect another. Does.
Warm-up  Would it be fair to give a report card grade based on 1 test? or 1 assignment?  Would it be accurate to conclude that a coin will always come.
Chapter 3 Section 3.2 Basic Terms of Probability.
Sample Spaces, Subsets and Basic Probability CCM2 Unit 6: Probability.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Conditional probability.
S.CP.A.1 Probability Basics. Probability - The chance of an event occurring Experiment: Outcome: Sample Space: Event: The process of measuring or observing.
UNIT 6 – PROBABILITY BASIC PROBABILITY. WARM UP Look through your notes to answer the following questions Define Sample Set and describe the sample set.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Chapter 3 Probability Larson/Farber 4th ed. Chapter Outline 3.1 Basic Concepts of Probability 3.2 Conditional Probability and the Multiplication Rule.
3. Conditional probability
Rules of Probability. Recall: Axioms of Probability 1. P[E] ≥ P[S] = 1 3. Property 3 is called the additive rule for probability if E i ∩ E j =
Introduction  Probability Theory was first used to solve problems in gambling  Blaise Pascal ( ) - laid the foundation for the Theory of Probability.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Part 1: Theory Ver Chapter 3 Conditional Probability and Independence.
Binomial Distribution
12.1/12.2 Probability Quick Vocab: Random experiment: “random” act, no way of knowing ahead of time Outcome: results of a random experiment Event: a.
Discrete Math Section 16.3 Use the Binomial Probability theorem to find the probability of a given outcome on repeated independent trials. Flip a coin.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
Math 145 September 18, Terminologies in Probability  Experiment – Any process that produces an outcome that cannot be predicted with certainty.
No Warm-Up today. You have a Quiz Clear your desk of everything but a calculator and something to write with.
Binomial Probability Theorem In a rainy season, there is 60% chance that it will rain on a particular day. What is the probability that there will exactly.
Warm Up 1. Gretchen is making dinner. She has tofu, chicken and beef for an entrée, and French fries, salad and corn for a side. If Ingrid has 6 drinks.
Warm Up 1. Ingrid is making dinner. She has tofu, chicken and beef for an entrée, and French fries, salad and corn for a side. If Ingrid has 6 drinks to.
Chapter 10 PROBABILITY. Probability Terminology  Experiment: take a measurement Like flipping a coin  Outcome: one possible result of an experiment.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Chapter 22 E. Outcomes of Different Events When the outcome of one event affects the outcome of a second event, we say that the events are dependent.
Lesson 10: Using Simulation to Estimate a Probability Simulation is a procedure that will allow you to answer questions about real problems by running.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
CHAPTER 10: Introducing Probability
Terminologies in Probability
2.3 Probability and Odds Objective: Given a description an event, find the probability and/or the odds of the event happening (including replacement and.
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
PROBABILITY AND PROBABILITY RULES
Basic Probability CCM2 Unit 6: Probability.
Math 145 September 25, 2006.
Ronald Hui Tak Sun Secondary School
Warm Up 1. Gretchen is making dinner. She has tofu, chicken and beef for an entrée, and French fries, salad and corn for a side. If Ingrid has 6 drinks.
Basic Probability aft A RAJASEKHAR YADAV.
Sample Spaces, Subsets and Basic Probability
Basic Probability CCM2 Unit 6: Probability.
Chapter 9 Section 1 Probability Review.
Warm Up Which of the following are combinations?
Bayes Rule for probability
Terminologies in Probability
Lesson 10.1 Sample Spaces and Probability
Terminologies in Probability
Terminologies in Probability
Combination and Permutations Quiz!
1. Probabilistic Models.
WARM - UP After an extensive review of weather related accidents an insurance company concluded the following results: An accident has a 70% chance of.
Terminologies in Probability
©G Dear 2009 – Not to be sold/Free to use
Basic Probability Unit 6 – probability.
Sample Spaces, Subsets and Basic Probability
Math 145 June 26, 2007.
Terminologies in Probability
6.2 Probability Models.
Math 145 February 12, 2008.
Terminologies in Probability
Presentation transcript:

2. Conditional Probability

Coins game Toss 3 coins. You win if at least two come out heads. S = { HHH, HHT, HTH, HTT, THH, THT, TTH, TTT } W = { HHH, HHT, HTH, THH }

Coins game The first coin was just tossed and it came out heads. How does this affect your chances? S = { HHH, HHT, HTH, HTT, THH, THT, TTH, TTT } W = { HHH, HHT, HTH, THH }

Conditional probability F The conditional probability P(A | F) represents the probability of event A assuming event F happened. W A Conditional probabilities with respect to the reduced sample space F are given by the formula P(A | F) = P(A ∩ F) P(F)

Toss 2 dice. You win if the sum of the outcomes is 8. The first die toss is a 4. Should you be happy? ?

Now suppose you win if the sum is 7. Your first toss is a 4. Should you be happy?

Properties of conditional probabilities 1. Conditional probabilities are probabilities: P(F | F) = 1 P(A ∪ B | F) = P(A | F) + P(B | F) if disjoint 2. Under equally likely outcomes, P(A | F) = number of outcomes in A ∩ F number of outcomes in F

Toss two dice. The smaller value is a 2 Toss two dice. The smaller value is a 2. What is the probability that the larger value is 1, 2, …, 6? 11 12 13 14 15 16 21 22 23 24 25 26 31 32 33 34 35 36 41 42 43 44 45 46 51 52 53 54 55 56 61 62 63 64 65 66

You draw a random card and see a black side You draw a random card and see a black side. What are the chances the other side is red? A: 1/4 B: 1/3 C: 1/2

🇺🇸 🇨🇳 🇺🇸 🇨🇳 What is the probability 🇨🇳 Serena won her game? 🇺🇸 Williams Qiang Wang Venus Williams Shuai Zhang P(Serena wins) = 2/3 P(Venus wins) = 1/2 P(🇨🇳 2: 🇺🇸 0) = 1/4 🇺🇸 🇨🇳 1 FINAL SCORE What is the probability Serena won her game?

The multiplication rule P(E2|E1) = P(E1∩E2) P(E1) Using the formula We can calculate the probability of intersection P(E1 ∩ E2) = P(E1) P(E2|E1) In general P(E1∩…∩En) = P(E1) P(E2|E1)…P(En|E1∩… ∩ En-1)

An urn has 10 white balls and 20 black balls. You draw two at random An urn has 10 white balls and 20 black balls. You draw two at random. What is the probability that both are white?

12 HK and 4 mainland students are randomly split into four groups of 4 12 HK and 4 mainland students are randomly split into four groups of 4. What is the probability that each group has a mainlander?

Total probability theorem F Fc P(E) = P(EF) + P(EFc) S E = P(E|F)P(F) + P(E|Fc)P(Fc) E F1 F2 F3 F4 F5 More generally, if F1,…, Fn partition W then P(E) = P(E|F1)P(F1) + … + P(E|Fn)P(Fn)

An urn has 10 white balls and 20 black balls. You draw two at random An urn has 10 white balls and 20 black balls. You draw two at random. What is the probability that their colors are different?

🚗

What is the capital of Macedonia? Multiple choice quiz What is the capital of Macedonia? A: Split B: Struga C: Skopje D: Sendai Did you know or were you lucky?

Multiple choice quiz Probability model There are two types of students: Type K: Knows the answer Type Kc: Picks a random answer Event C: Student gives correct answer P(C) = p = fraction of correct answers p = P(C|K)P(K) + P(C|Kc)P(Kc) = 1/4 + 3P(K)/4 1 1/4 1 - P(K) P(K) = (p – ¼) / ¾

Which cup would you guess? 1 2 3 I choose a cup at random and then a random ball from that cup. The ball is red. You need to guess where the ball came from. Which cup would you guess?

Cause and effect 1 2 3 cause: C1 C2 C3 effect: R

Bayes’ rule P(E|C) P(C) P(E|C) P(C) P(C|E) = = P(E) P(E|C) P(C) + P(E|Cc) P(Cc) More generally, if C1,…, Cn partition S then P(Ci|E) = P(E|Ci) P(Ci) P(E|C1) P(C1) + … + P(E|Cn) P(Cn)

P(R|C1) P(C1) + P(R|C2) P(C2) + P(R|C3) P(C3) Cause and effect 1 2 3 cause: C1 C2 C3 effect: R P(R|Ci) P(Ci) P(Ci|R) = P(R|C1) P(C1) + P(R|C2) P(C2) + P(R|C3) P(C3)

Cause and effect 1 2 3 W = P(Ci) = P(R|Ci) =

Two classes take place in Lady Shaw Building. ENGG2430 has 100 students, 20% are girls. NURS2400 has 10 students, 80% are girls. A girl walks out. What are the chances that she is from the engineering class?

Summary of conditional probability Conditional probabilities are used: When there are causes and effects 1 to estimate the probability of a cause when we observe an effect To calculate ordinary probabilities 2 Conditioning on the right event can simplify the description of the sample space