Mathematics topic handout: Conditional probability & Bayes Theorem Dr Andrew French. www.eclecticon.info PAGE 1www.eclecticon.info Conditional Probability.

Slides:



Advertisements
Similar presentations
A Survey of Probability Concepts
Advertisements

Psychology 290 Special Topics Study Course: Advanced Meta-analysis April 7, 2014.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Instructor Longin Jan Latecki C3: Conditional Probability And.
FT228/4 Knowledge Based Decision Support Systems
Probability Week 4 GT Probability A value between zero and one, inclusive, describing the relative possibility (chance or likelihood) an event will.
McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited. Adapted by Peter Au, George Brown College.
Intro to Bayesian Learning Exercise Solutions Ata Kaban The University of Birmingham 2005.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Tobias, 2005Econometrics 472 Down’s Syndrome Example.
1 1 Slide 2009 University of Minnesota-Duluth, Econ-2030 (Dr. Tadesse) Chapter 4 __________________________ Introduction to Probability.
Chapter 4 Probability.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Chap 4-1 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 4 Probability.
Probability & Certainty: Intro Probability & Certainty.
Keller: Stats for Mgmt & Econ, 7th Ed
Chapter 4 Probability Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
CSCI 121 Special Topics: Bayesian Network Lecture #1: Reasoning Under Uncertainty.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Hypothesis Testing.
Introduction to Probability n Experiments and the Sample Space n Assigning Probabilities to Experimental Outcomes Experimental Outcomes n Events and Their.
1 Conditional Probability and Bayes’ Theorem Dr. Jerrell T. Stracener, SAE Fellow EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers.
1 NA387 Lecture 6: Bayes’ Theorem, Independence Devore, Sections: 2.4 – 2.5.
Graziella Quattrocchi & Louise Marshall Methods for Dummies 2014
Bayes for Beginners Presenters: Shuman ji & Nick Todd.
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
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.
November 2004CSA4050: Crash Concepts in Probability1 CSA4050: Advanced Topics in NLP Probability I Experiments/Outcomes/Events Independence/Dependence.
 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)
Bayesian vs. frequentist inference frequentist: 1) Deductive hypothesis testing of Popper--ruling out alternative explanations Falsification: can prove.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
AP STATISTICS LESSON 6.3 (DAY 1) GENERAL PROBABILITY RULES.
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
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.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
1 Chapter 12 Probabilistic Reasoning and Bayesian Belief Networks.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
Education as a Signaling Device and Investment in Human Capital Topic 3 Part I.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Psychology 202a Advanced Psychological Statistics September 24, 2015.
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Welcome to MM207 Unit 3 Seminar Dr. Bob Probability and Excel 1.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Bayes for Beginners Anne-Catherine Huys M. Berk Mirza Methods for Dummies 20 th January 2016.
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.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
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.
Intro to Bayesian Learning Exercise Solutions Ata Kaban The University of Birmingham.
Virtual University of Pakistan
Lecture 1.31 Criteria for optimal reception of radio signals.
A Survey of Probability Concepts
Chapter 3 Probability.
Chapter 4 Probability.
Decision Tree Analysis
Bayes for Beginners Stephanie Azzopardi & Hrvoje Stojic
A Survey of Probability Concepts
Natural Language Processing
St. Edward’s University
WARM - UP After an extensive review of weather related accidents an insurance company concluded the following results: An accident has a 70% chance of.
Wellcome Trust Centre for Neuroimaging
St. Edward’s University
Bayes for Beginners Luca Chech and Jolanda Malamud
CS 594: Empirical Methods in HCC Introduction to Bayesian Analysis
Presentation transcript:

Mathematics topic handout: Conditional probability & Bayes Theorem Dr Andrew French. PAGE 1www.eclecticon.info Conditional Probability and Bayes’ Theorem Consider two events A and B. Each can either occur or not occur. Event A not occurring is denoted by A’ and B not occurring is denoted by B’. We can construct TWO tree diagrams to map out the possible permutations of outcomes. The probability of A occurring given B has occurred is P(A|B). Events A and B occurring is P(A,B). Note the order does not matter for the latter. B B’ B A A’ A A B B’ Now P(A,B) = P(B,A), hence This is called Bayes’ Theorem, and allows P(B|A) to be computed from P(A|B), P(A) and P(B)

Mathematics topic handout: Conditional probability & Bayes Theorem Dr Andrew French. PAGE 2www.eclecticon.info Conditional probability example P(A|B) = 1/3, P(A) = 1/4 and P(B) = 1/5 : Find all the other probabilities in both tree diagrams corresponding to events A and B. B B’ B A A’ A A B B’

Mathematics topic handout: Conditional probability & Bayes Theorem Dr Andrew French. PAGE 3www.eclecticon.info Reality (or model thereof). We could work this out from historical statistics Probabilities we are really interested in Obviously these two views are equivalent, hence This is Bayes’ Theorem Consider a medical test (Pass, Y or Fail, N) for a disease. The probability of passing (or indeed failing) is conditional upon whether the patient actually has the disease (true, T) or not (false, F). Unfortunately the latter is what we want to infer from the test, not the other way round. Tests are never perfect, and there will be four possible outcomes: The middle two options are obviously undesirable, and often ignored by medical practitioners. Thomas Bayes Now note: Possible outcomeConditional probability Pass test given person actually has the diseaseP(Y|T) = t Fail test given person actually has the disease (“false negative”)P(N|T) = 1-t Pass test given person doesn’t actually have the disease (“false positive”)P(Y|F) = q Fail test given person doesn’t actually have the diseaseP(N|F) = 1-q Bayes’ Theorem

Mathematics topic handout: Conditional probability & Bayes Theorem Dr Andrew French. PAGE 4www.eclecticon.info Probability of having the disease given a positive test result is: i.e. because of the low probability of actually having the disease in the first place the overall probability of someone having the disease given a positive test result is actually very low! To give a better than 95% accurate result, our test accuracy t must be t = 0.999/(0.001/ ) = 99.8% accurate. Example: Testing a member of the public at random for a disease. The chance of having disease is p = 1/1000 The disease test is 95% accurate. i.e. t = 1 - q = 0.95, and symmetric! (i.e. false positive is equally unlikely as a false negative) Note if q = 1 - t Example from The Signal and the Noise by Nate Silver p247 PRIOR PROBABILITY Initial estimate of how likely it is that terrorists would crash planes into Manhattan skyscrapers p0.005% A NEW EVENT OCCURS: FIRST PLANE HITS WORLD TRADE CENTER Probability of plane hitting if terrorists are attacking Manhattan skyscrapers t100% Probability of plane hitting if terrorists are not attacking Manhattan skyscrapers (i.e. an accident) q0.008% POSTERIOR PROBABILITY Revised estimate of probability of terror attack, given first plane hitting World Trade Center 38% But then probability of terror attack, given second plane hitting the World Trade Center is 99.99% since we re-do the analysis but set p = 38%

PRIOR PROBABILITY Probability of Colonel Mustard being of murderous intentp5% CONDITIONAL PROBABILITIES: LIKELIHOODS Probability of Professor Plum meeting his doom given Colonel Mustard is a potential murderer t50% Probability of Professor Plum dying given Colonel Mustard is not feeling particularly murderous. i.e. he dies via natural causes, or someone else kills him.... q1% POSTERIOR PROBABILITY Probability of Colonel Mustard being the murderer of Professor Plum, given Professor Plum is observed to be dead P? Cluedo example Plum dies (Y) Plum lives (N) Plum dies (Y) C. Mustard is a murderer C. Mustard not a killer Mathematics topic handout: Conditional probability & Bayes Theorem Dr Andrew French. PAGE 5www.eclecticon.info

Pass test (Y) Fail test (N) Pass test (Y) Hypothesis true (T) Hypothesis not true (F) Mathematics topic handout: Conditional probability & Bayes Theorem Dr Andrew French. PAGE 6www.eclecticon.info