Statistics Workshop Bayes Theorem J-Term 2009 Bert Kritzer.

Slides:



Advertisements
Similar presentations
Research Methods in Politics Chapter 14 1 Research Methods in Politics 14 Understanding Inferential Statistics.
Advertisements

Introduction to TV show Numb3rs Here are the important people: – Don (FBI) and Charlie (Prof.) Eppes – Their dad – Charlies colleagues – Dons agents.
Introductory Mathematics & Statistics for Business
How many people do we need to vaccinate?. Suppose R 0 = 10 How many new infections result from each infected person on average? 10 So how many people.
THE RISKS OF LIFE Video Conference 5 Media & Misinformation.
MATHPOWER TM 12, WESTERN EDITION Conditional Probability If A and B are events from an experiment, the conditional probability of B given.
SADC Course in Statistics Conditional Probabilities and Independence (Session 03)
The Central Limit Theorem
THE CENTRAL LIMIT THEOREM
CHAPTER 40 Probability.
T-Tests For Dummies As in the books, not you personally!
Warm Up Express the indicated degree of likelihood as a probability value: “There is a 40% chance of rain tomorrow.” A bag contains 6 red marbles, 3 blue.
Inferential Statistics
Chapter 13: Sequential Experiments & Bayes’ Theorem 1.(13.1) Partition Theorem 2.(13.2) Bayes’ Theorem 1.(13.1) Partition Theorem 2.(13.2) Bayes’ Theorem.
Genetic Statistics Lectures (5) Multiple testing correction and population structure correction.
MEGN 537 – Probabilistic Biomechanics Ch.2 – Mathematics of Probability Anthony J Petrella, PhD.
A Survey of Probability Concepts
Bayesian analysis with a discrete distribution Source: Stattrek.com.
© 2003 Prentice-Hall, Inc.Chap 4-1 Basic Probability IE 440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee.
COUNTING AND PROBABILITY
Economics 105: Statistics Any questions? Go over GH2 Student Information Sheet.
Foundations of Artificial Intelligence 1 Bayes’ Rule - Example  Medical Diagnosis  suppose we know from statistical data that flu causes fever in 80%
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
INFM 718A / LBSC 705 Information For Decision Making Lecture 7.
Econ 140 Lecture 51 Bivariate Populations Lecture 5.
Chapter 15: Probability Rules!
Chapter 4 Probability Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Machine Learning Queens College Lecture 3: Probability and Statistics.
BUSINESS MATHEMATICS AND STATISTICS THE ADDITION AND THE MULTIPLICATION THEOREM OF PROBABILITY A PRESENTATION ON.
Populations, Samples, and Probability. Populations and Samples Population – Any complete set of observations (or potential observations) may be characterized.
5.3B Conditional Probability and Independence Multiplication Rule for Independent Events AP Statistics.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
BA 201 Lecture 6 Basic Probability Concepts. Topics Basic Probability Concepts Approaches to probability Sample spaces Events and special events Using.
Chapter 4 Probability. Probability Defined A probability is a number between 0 and 1 that measures the chance or likelihood that some event or set of.
Ch Counting Techniques Product Rule If the first element or object of an ordered pair can be used in n 1 ways, and for each of these n1 ways.
Chapter 12 Probability. Chapter 12 The probability of an occurrence is written as P(A) and is equal to.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) 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.
Uncertainty in Expert Systems
METU Informatics Institute Min720 Pattern Classification with Bio-Medical Applications Lecture notes 9 Bayesian Belief Networks.
Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics.
Math 4030 Midterm Exam Review. General Info: Wed. Oct. 26, Lecture Hours & Rooms Duration: 80 min. Close-book 1 page formula sheet (both sides can be.
BIOSTAT 3 Three tradition views of probabilities: Classical approach: make certain assumptions (such as equally likely, independence) about situation.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 4 Introduction to Probability Experiments, Counting Rules, and Assigning Probabilities.
1 Probability: Liklihood of occurrence; we know the population, and we predict the outcome or the sample. Statistics: We observe the sample and use the.
Probability. Rules  0 ≤ P(A) ≤ 1 for any event A.  P(S) = 1  Complement: P(A c ) = 1 – P(A)  Addition: If A and B are disjoint events, P(A or B) =
Chapter 4 Probability, Randomness, and Uncertainty.
Sampling Measures Of Central Tendency SymbolsProbability Random Stuff.
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:
Probability Michael J. Watts
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
BUSA Probability. Probability – the bedrock of randomness Definitions Random experiment – observing the close of the NYSE and the Nasdaq Sample.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Probability – the bedrock of randomness Definitions Random experiment – observing the close of the NYSE and the Nasdaq Sample space = {NYSE+Nasdaq+, NYSE+Nasdaq-,
Statistics for Managers 5th Edition
Multiplication Timed Tests.
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.
Chapter 4 Probability.
Decision Tree Analysis
Psychology 202a Advanced Psychological Statistics
Conditional Probability AGENDA
Probability Probability is the frequency of a particular outcome occurring across a number of trials
Part 3 The Foundation of Statistical Inference: Probability and Sampling Chapter 4 Basic Probability Concepts.
COnDITIONAL Probability
Section 11.7 Probability.
CS639: Data Management for Data Science
Review: Mini-Quiz Combined Events
Presentation transcript:

Statistics Workshop Bayes Theorem J-Term 2009 Bert Kritzer

Bayesian Inference A method of using prior information about the probability of some event combined with conditional probabilities about consequences of that event to obtain post hoc probabilities using the actual observed consequences. We know the percentage of the population having some medical condition and we also know the probabilities of observing a symptom among those who do and those who do not have that condition. What is the probability that someone has the condition if we observe the symptom?

Addition & Multiplication Rules Revisted General case Special case If E and F are statistically independent If E and F are mutually exclusive As a single eventAs two events occurring together

Buses and Pedestrians 95% of buses are Metro Transit (MT) 80% of the time client correctly identify type P(B) = Probability of client identifying as MT P(A) = Prior Probability of bus being MT (.95) P(B|A) = Conditional probability of client saying it was MT give that it was in fact MT (.8) P(A|B) = Post hoc probability that it was in fact MT given that client says it was MT P(AB) = Joint probability that client says it was MT and it was in fact MT

Combined Probabilities ConditionalJoint P(A|B) P(B|A) P(AB) P(AB) A A B B A bus is Metro B client says bus is Metro

Multiplication Rule Probability of saying it was MT:

Summary P(buses that are Metro) P(iding as Metro) Joint P that bus is Metro Was MTP(A)=.95P(B|A)=.8P(AB)=.76 Not MTP(A)=.05P(B|A)=.2P(AB)=.01

Bayes Theorem

P(MT given client says its MT) P(A) =.95P of any bus being MT P(A)=.05P of any bus not MT P(B|A) =.80P of saying MT if it was MT P(B|A)=.20P of saying MT if not MT

Thinking Pictorially P(AB)=.01 P(AB)=.19 P(AB)=.04 P(AB)=.76 A A B B

P(not MT given client says not MT) P(A) =.95P of any bus being MT P(A)=.05P of any bus not MT P(B|A)=.80P of saying not MT if not MT P(B|A)=.20P of saying not MT if it is MT

Client Says It Is Not MT P(AB)=.01 P(AB)=.19 P(AB)=.04 P(AB)=.76 A A B B

Tree Trimming MT ID-MT MT ID-MT.8.04 ID-MT.19.2

Online Bayes Calculator

Diagnosing Sexual Abuse P(B) Probability of a child being diagnosed as having been abused P(A|B) = ? Probability of having been abused given positive diagnosis P(A) =.10 Probability of any random child having been abused P(A) =.90 Probability of any random child not having been abused P(B|A) =.90 Probability of child who was abused being correctly diagnosed as abused P(B|A) =.10 Probability of child who was not abused being incorrectly diagnosed as abused

95% Accurate Diagnosis P(B) Probability of a child being diagnosed as having been abused P(A|B) = ? Probability of having been abused given positive diagnosis P(A) =.10 Probability of any random child having been abused P(A) =.90 Probability of any random child not having been abused P(B|A) =.95 Probability of child who was abused being correctly diagnosed as abused P(B|A) =.05 Probability of child who was not abused being incorrectly diagnosed as abused

20% Abuse Rate P(B) Probability of a child being diagnosed as having been abused P(A|B) = ? Probability of having been abused given positive diagnosis P(A) =.20 Probability of any random child having been abused P(A) =.80 Probability of any random child not having been abused P(B|A) =.95 Probability of child who was abused being correctly diagnosed as abused P(B|A) =.05 Probability of child who was not abused being incorrectly diagnosed as abused

Different Error Rates P(B) Probability of a child being diagnosed as having been abused P(A|B) = ? Probability of having been abused given positive diagnosis P(A) =.10 Probability of any random child having been abused P(A) =.90 Probability of any random child not having been abused P(B|A) =.90 Probability of child who was abused being correctly diagnosed as abused (10% error rate) P(B|A) =.20 Probability of child who was not abused being incorrectly diagnosed as abused (80% accurate)