Chris Morgan, MATH G160 January 20, 2012 Lecture 5

Slides:



Advertisements
Similar presentations
CHAPTER 40 Probability.
Advertisements

Set theory and Bayes’ Rule Sets and set operations Axioms of probability Probabilities of sets Bayes’ rule Chapter 2 of Haldar and Mahadevan’s Probability,
Law of Total Probability and Bayes’ Rule
BA 452 Lesson C.4 The Value of Information ReadingsReadings Chapter 13 Decision Analysis.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Chris Morgan, MATH G160 January 13, 2012 Lecture 3
Bayes’ Theorem Suppose we have estimated prior probabilities for events we are concerned with, and then obtain new information. We would like to a sound.
Partitions Law of Total Probability Bayes’ Rule
QBM117 Business Statistics Probability Probability Trees.
Chapter 4 Basic Probability
ENM 207 Lecture 7. Example: There are three columns entitled “Art” (A),“Books” (B) and “Cinema” (C) in a new magazine. Reading habits of a randomly selected.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
MA305 Conditional Probability Bayes’ Theorem
Chapter 4 Basic Probability
Incorporating New Information to Decision Trees (posterior probabilities) MGS Chapter 6 Part 3.
Chapter 15: Probability Rules!
Chapter 4 Probability Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Probability and inference General probability rules IPS chapter 4.5 © 2006 W.H. Freeman and Company.
Probability Lesson 1 Aims:
Chapter 7 Sets & Probability
1 NA387 Lecture 6: Bayes’ Theorem, Independence Devore, Sections: 2.4 – 2.5.
Page 79 Exercise 5A Homework - using GCSE notes for review prior to starting this unit.
Math The Multiplication Rule for P(A and B)
Probability and inference General probability rules IPS chapter 4.5 © 2006 W.H. Freeman and Company.
Lecture 5a: Bayes’ Rule Class web site: DEA in Bioinformatics: Statistics Module Box 1Box 2Box 3.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Probability and inference General probability rules IPS chapter 4.5 © 2006 W.H. Freeman and Company.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
Probability & Statistics I IE 254 Exam I - Reminder  Reminder: Test 1 - June 21 (see syllabus) Chapters 1, 2, Appendix BI  HW Chapter 1 due Monday at.
Bayes’ Theorem Susanna Kujanpää OUAS Bayes’ Theorem This is a theorem with two distinct interpretations. 1) Bayesian interpretation: it shows.
 P(A c ∩ B) + P(A ∩ B)=P(B)  P(A c ∩ B) and P(A ∩ B) are called joint probability.  P(A) and P(B) are called marginal probability.  P(A|B) and P(B|A)
Bayes’ Theorem -- Partitions Given two events, R and S, if P(R  S) =1 P(R  S) =0 then we say that R and S partition the sample space. More than 2 events.
Probability 2.0. Independent Events Events can be "Independent", meaning each event is not affected by any other events. Example: Tossing a coin. Each.
Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
Basic Business Statistics Assoc. Prof. Dr. Mustafa Yüzükırmızı
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 2 Probability.
Chapter 6 Review Fr Chris Thiel 13 Dec 2004 What is true about probability? The probability of any event must be a number between 0 and 1 inclusive The.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 3 – Conditional probability Farinaz Koushanfar ECE Dept., Rice University Sept 1, 2009.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
1 Probability Chapter Assigning probabilities to Events Random experiment –a random experiment is a process or course of action, whose outcome.
Chapter 4. Probability 1.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Basic Business Statistics 11 th Edition.
Mental Math – Powers of 10 To schwoop or not to schwoop, that is the question….
Psychology 202a Advanced Psychological Statistics September 24, 2015.
2003/02/19 Chapter 2 1頁1頁 Chapter 2 : Basic Probability Theory Set Theory Axioms of Probability Conditional Probability Sequential Random Experiments Outlines.
P(B)P(B)P(B ) Bayes’ Formula Exactly how does one event A affect the probability of another event B? 1 AP(B)P(B) prior probability posterior probability.
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:
Bell Ringer Employment data at a large company reveal that 72% of the workers are married, 44% are college graduates, and half of the college grads are.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
Sets and Probability Chapter 7. Ch. 7 Sets and Probabilities 4-2 Basic Concepts of Probability 4-3 Addition Rule 4-4 Multiplication Rule 4-5 Multiplication.
HL2 Math - Santowski Lesson 93 – Bayes’ Theorem. Bayes’ Theorem  Main theorem: Suppose we know We would like to use this information to find if possible.
STAT 240 PROBLEM SOLVING SESSION #2. Conditional Probability.
Bayes Theorem. We know that: Given the following Venn Diagram, notice that we can express A as: Therefore: or.
Statistics for Managers 5th Edition
Bayes’ Theorem Suppose we have estimated prior probabilities for events we are concerned with, and then obtain new information. We would like to a sound.
2.8 Bayes’ Rule Theorem of Total Probability(全概率公式)
Copyright © Cengage Learning. All rights reserved.
Chapter 4 Probability.
Chapter 4 Basic Probability.
Presented by: Karen Miller
Decision Tree Analysis
Section 7.6 Bayes’ Theorem.
Incorporating New Information to Decision Trees (posterior probabilities) MGS Chapter 6 Part 3.
Bayes’ Theorem Suppose we have estimated prior probabilities for events we are concerned with, and then obtain new information. We would like to a sound.
STAT 203 Tree Diagrams and Bayes’ Rule
Advanced Artificial Intelligence
Chapter 4 Probability 4.2 Basic Concepts of Probability
Presentation transcript:

Chris Morgan, MATH G160 csmorgan@purdue.edu January 20, 2012 Lecture 5 Chapter 4.5: Bayes’s Theorem Chris Morgan, MATH G160 csmorgan@purdue.edu January 20, 2012 Lecture 5

Bayes Theorem Extension of conditional probability: Usually I am given P(A|B) but what if I want to find the opposite?

Bayes Theorem Patients are tested for a certain disease and diagnosed as positive (having the disease) or negative (not having the disease), however these tests do not always detect the disease and sometimes give a false positive. - 1% of people will get a certain disease - 80% of those with the disease have “+” (positive) test results - 10% of those without the disease will have “+” (positive) test results Event D: a person has a certain disease Event +: a person tests positive Create a tree diagram representing this information.

Bayes Theorem Event D: a person has a certain disease Event +: a person tests positive P(+) = P(-) = P(+ | D) = P(+ | Dc) = P(D | +) =

P(Pass) = 0.9 P(Beach|Pass) = 0.8 Bayes Theorem After the first exam, a student will go to the beach (event B) depending on if they pass (event A): P(Pass) = 0.9 P(Beach|Pass) = 0.8 P(Beach|Not Pass) = 0.4 We can make a Tree Diagram to help us Visualize: Then, it’s easy to find: P(Beach) = P(Pass|Beach) =

Bayes Theorem Law of Total Probability: Bayes’ Rule: if A and AC form a partition of the sample space, then:

Bayes Theorem I’m trying to decide what type of question to put on your quiz. I’m leaning towards it being a conditional probability question with probability 75%, but I know that only 40% of you will get it correct. I know if I give you a question on Bayes Theorem, 80% of you will answer correctly. Draw the tree diagram to represent this data:

Bayes Theorem P(Bayes Question) = P(Correct | Cond Prob) = P(you solve the problem incorrect) = What is the probability I give you a Bayes Thm problem and you do it correctly? A={I give you a Bayes problem} B={you answer correctly} P(A and B) = P(B|A)*P(A) = 0.8 * 0.25 = 0.2

Bayes Theorem If a student solves the problem incorrectly, what is the probability that I gave you a Bayes Theorem problem? P(Bayes | Incorrect) =

Bayes Theorem (two event case)

Bayes Theorem (general case)

Example I Tomato seeds from supplier A have an 85% germination rate and those from supplier B have a 75% germination rate. A seed packaging company purchases 40% of their tomato seeds from supplier A and 60% from supplier B and mixes these seeds together. Draw the tree diagram to represent this data:

Example I (cont.) Find the probability that a seed selected at random from the mixed seeds will germinate. Given that a seed germinates, find the conditional probability that the seed was purchased from supplier A.

Example II A consulting firm submitted a bid for a large research project. The firm’s management initially felt they had a 50-50 chance of getting the project. However, the agency to which the bid was submitted subsequently requested additional information on the bid. Past experience indicates that for 75% of the successful bids and 40% of the unsuccessful bids the agency requested additional information. Draw the tree diagram to represent this data:

Example II (cont.) What is the prior probability of the bid being successful (that is, prior to the request for additional information? What is the conditional probability of a request for additional information given that the bid will ultimately be successful? Compute the posterior probability that the bid will be successful given a request for additional information?