posterior probability

Slides:



Advertisements
Similar presentations
CHAPTER 3 Probability Theory Basic Definitions and Properties Conditional Probability and Independence Bayes’ Formula Applications.
Advertisements

Probability Theory and Statistics
Chapter 12: Conditional Probability & Independence 1.(12.1) Conditional Probability 2.(12.2) Independence 1.(12.1) Conditional Probability 2.(12.2) Independence.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Chapter 4 Probability.
Bayes Theorem Mutually exclusive events A collection of events (B1, B2, …, Bk) is said to be mutually exclusive if no two of them overlap. If mutually.
Lecture 6. Bayes Rule David R. Merrell Intermediate Empirical Methods for Public Policy and Management.
CSE (c) S. Tanimoto, 2008 Bayes Nets 1 Probabilistic Reasoning With Bayes’ Rule Outline: Motivation Generalizing Modus Ponens Bayes’ Rule Applying.
P robability Sample Space 郭俊利 2009/02/27. Probability 2 Outline Sample space Probability axioms Conditional probability Independence 1.1 ~ 1.5.
Chap 4-1 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 4 Probability.
Key Concepts of the Probability Unit
Probability and inference General probability rules IPS chapter 4.5 © 2006 W.H. Freeman and Company.
6 Probability Chapter6 p Operations on events and probability An event is the basic element to which probability can be applied. Notations Event:
1 NA387 Lecture 6: Bayes’ Theorem, Independence Devore, Sections: 2.4 – 2.5.
AP Statistics Notes Chapter 14 and 15.
Lecture 5a: Bayes’ Rule Class web site: DEA in Bioinformatics: Statistics Module Box 1Box 2Box 3.
CHAPTER 5 Probability: Review of Basic Concepts
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
CHAPTER 3 Probability Theory Basic Definitions and Properties Conditional Probability and Independence Bayes’ Formula Applications.
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.
Bayes’ Theorem Bayes’ Theorem allows us to calculate the conditional probability one way (e.g., P(B|A) when we know the conditional probability the other.
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.
CDA6530: Performance Models of Computers and Networks Chapter 1: Review of Practical Probability TexPoint fonts used in EMF. Read the TexPoint manual before.
Statistics for Management and Economics Chapter 6
Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics.
P(A) = 0.4 P(B) = 0.75 P(A  B) = 0.35 Draw a venn diagram to show this information (3) Calculate P(A  B)
Conditional Probability Notes from Stat 391. Conditional Events We want to know P(A) for an experiment Can event B influence P(A)? –Definitely! Assume.
CHAPTER 3 Probability Theory (Abridged Version)  B asic Definitions and Properties  C onditional Probability and Independence  B ayes’ Formula.
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.
Conditional Probability: the likelihood that an event will occur GIVEN that another event has already occurred. A two way table & tree diagrams can represent.
Fall 2002Biostat Probability Probability - meaning 1) classical 2) frequentist 3) subjective (personal) Sample space, events Mutually exclusive,
AP Statistics Notes Chapter 14 and 15.
Psychology 202a Advanced Psychological Statistics September 24, 2015.
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.
Probability. Probability Probability is fundamental to scientific inference Probability is fundamental to scientific inference Deterministic vs. Probabilistic.
CDA6530: Performance Models of Computers and Networks Chapter 1: Review of Practical Probability TexPoint fonts used in EMF. Read the TexPoint manual before.
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
© 2013 Pearson Education, Inc. Reading Quiz For use with Classroom Response Systems Introductory Statistics: Exploring the World through Data, 1e by Gould.
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.
Statistics for Managers 5th Edition
B1B1 B 2 (= B 1 c ) A AcAc Example: Two similar bat species, B 1 and B 2, occupy both highland (A) and lowland (A c ) areas. Species B 1 makes.
MM207 Statistics Welcome to the Unit 9 Seminar With Ms. Hannahs Final Project is due Tuesday, August 7 at 11:59 pm ET. No late projects will be accepted.
Key Concepts of the Probability Unit Simulation Probability rules Counting and tree diagrams Intersection (“and”): the multiplication rule, and independent.
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.
Biostatistics Class 2 Probability 2/1/2000.
Chapter 15 Probability Rules!.
Independent events Two events are independent if knowing that one event is true or has happened does not change the probability of the other event. “male”
Chapter 4 Probability.
Chapter 4 Basic Probability.
ASV Chapters 1 - Sample Spaces and Probabilities
Incorporating New Information to Decision Trees (posterior probabilities) MGS Chapter 6 Part 3.
Elementary Statistics
Statistics for 8th Edition Chapter 3 Probability
Learn to let go. That is the key to happiness. ~Jack Kornfield
Advanced Placement Statistics
posterior probability
Chapter 2 Probability Sample Spaces and Events
COnDITIONAL Probability
LESSON 5: PROBABILITY Outline Probability Events
Definitions POPULATION
Homework: pg.440 A B ) ) A. Household is prosperous and educated=0.082 B. Household is prosperous but not educated=0.056.
General Probability Rules
Probability Multiplication law for dependent events
posterior probability
Chapter 3 & 4 Notes.
Chapter 1 Probability Spaces
Presentation transcript:

posterior probability Bayes’ Formula Exactly how does one event A affect the probability of another event B? P(B) P(B) P(B ) A prior probability posterior probability P(B ∩ A) P(A) ??? ???

Consider the following scenario… Weather Forecast: P(Rain) = .50 prior probability Track Record: P(Overcast | Rain) = .60 P(Overcast | No Rain) = .20 Want: P(Rain | Overcast) = ??? posterior probability By def, P(Rain | Overcast) = Recall… .75 B Bc A Ac 1 Let A = Overcast, B = Rain Also recall (tree diagram) .75

Consider the following scenario… 1st column marginal Weather Forecast: P(Rain) = .50 prior probability Track Record: P(Overcast | Rain) = .60 P(Overcast | No Rain) = .20 Want: P(Rain | Overcast) = ??? posterior probability By def, P(Rain | Overcast) = Recall… .75 B Bc A Ac .5 1 Let A = Overcast, B = Rain Also recall (tree diagram) .75

Consider the following scenario… 1st column marginal Weather Forecast: P(Rain) = .50 prior probability Track Record: P(Overcast | Rain) = .60 P(Overcast | No Rain) = .20 Want: P(Rain | Overcast) = posterior probability By def, P(Rain | Overcast) = Recall… .75 B Bc A .3 .1 .4 Ac .5 1 Let A = Overcast, B = Rain Also recall (tree diagram) .75

Consider the following scenario… 1st column marginal Weather Forecast: P(Rain) = .50 prior probability Track Record: P(Overcast | Rain) = .60 P(Overcast | No Rain) = .20 Want: P(Rain | Not Overcast) = ??? posterior probability By def, P(Rain | Overcast) = Recall… Exercise B Bc A .3 .1 .4 Ac .2 .6 .5 1 Hint: Use probability table Also recall… Also recall (tree diagram) .75

Consider the following scenario… 1st column marginal Weather Forecast: P(Rain) = .70 prior probability Track Record: P(Overcast | Rain) = .60 P(Overcast | No Rain) = .20 Want: P(Rain | Overcast) = ??? posterior probability By def, P(Rain | Overcast) = Recall… B Bc A .42 .06 .48 Ac .28 .24 .52 .70 .30 1 Let A = Overcast, B = Rain Also recall (tree diagram) .75 .875

posterior probability Bayes’ Formula Exactly how does one event A affect the probability of another event B? P(B) P(B) P(B ) A prior probability posterior probability P(B ∩ A) P(A) Recall…… P(B | A) = P(A | B) P(B) P(A) Bayes’ Law (short form)

“LAW OF TOTAL PROBABILITY” Bayes’ Law (full form, n = 2) Bayes’ Law (short form) P(A | B) P(B) P(A) P(B | A) = ??? Recall… “LAW OF TOTAL PROBABILITY” Also recall…… For any two events A and B, there are 4 disjoint intersections: A ⋂ B A ⋂ Bc Ac ⋂ B “A only” “B only” Ac ⋂ Bc “Neither A nor B” “A and B” A B Bc Probability Table B BC A P(A ⋂ B) P(A⋂ BC) P(A) AC P(AC ⋂ B) P(AC ⋂ BC) P(AC) P(B) P(BC) 1.0

“LAW OF TOTAL PROBABILITY” BAYES’ FORMULA Assume B1, B2, …, Bn “partition” the population, i.e., they are disjoint and exhaustive. B1 B2 B3 ……etc……. Bn A Ac ……etc……. P(A) P(A ∩ B1) P(A ∩ B2) P(A ∩ B3) P(A ∩ Bn) Given… P(Ac ∩ B1) P(Ac ∩B2) P(Ac ∩ B3) ……etc……. P(Ac ∩ Bn) P(Ac) Prior probabilities: 1 P(B1) P(B2) P(B3) ……etc……. P(Bn) Conditional probabilities: P(A|B1) P(A|B2) P(A|B3) ……etc……. P(A|Bn) Then… Posterior probabilities: P(B1|A) P(B2|A) P(B3|A) ……etc……. P(Bn|A) are computed via P(Bi ∩ A) P(A) P(A | Bi) P(Bi) P(A | B1) P(B1) + P(A | B2) P(B2) + …+ P(A | Bn) P(Bn) = P(Bi | A) = P(A) = P(A | B1) P(B1) + P(A | B2) P(B2) + …+ P(A | Bn) P(Bn) for i = 1, 2, 3,…, n “LAW OF TOTAL PROBABILITY”

P(A | B1) P(B1) + P(A | B2) P(B2) + …+ P(A | Bn) P(Bn) BAYES’ FORMULA Assume B1, B2, …, Bn “partition” the population, i.e., they are disjoint and exhaustive. B1 B2 B3 ……etc……. Bn A Ac ……etc……. P(A) P(A ∩ B1) P(A ∩ B2) P(A ∩ B3) P(A ∩ Bn) Given… P(Ac ∩ B1) P(Ac ∩B2) P(Ac ∩ B3) ……etc……. P(Ac ∩ Bn) P(Ac) Prior probabilities: 1 P(B1) P(B2) P(B3) ……etc……. P(Bn) ? ? ? ? ……etc…… INTERPRET! Then… Posterior probabilities: P(B1|A) P(B2|A) P(B3|A) ……etc……. P(Bn|A) are computed via P(Bi ∩ A) P(A) P(A | Bi) P(Bi) P(A | B1) P(B1) + P(A | B2) P(B2) + …+ P(A | Bn) P(Bn) = P(Bi | A) = NOTE: If any prior P(Bi) = its posterior P(Bi | A), then that Bi and A are statistically independent! for i = 1, 2, 3,…, n

Example: Screening Tests: D = Disease (+ or –), T = Test (+ or –) “prevalence” prior probabilities P(D+) = .10 P(D–) = .90 T– T+ Ex: Colorectal Cancer T+ ∩ D+ T+ ∩ D– Gold Standard T– ∩ D+ T– ∩ D– D can be determined via a “gold standard” test… True Positive rate, “sensitivity” P(T+ | D+) = .85 False Positive rate P(T+ | D–) = .02 True Negative rate, “specificity” P(T– | D–) = .98 False Negative rate P(T– | D+) = .15 Highly sensitive and highly specific, but expensive. Cost-effective for adults 50+

Fecal Occult Blood Test (FOBT) Example: Screening Tests: D = Disease (+ or –), T = Test (+ or –) “prevalence” prior probabilities P(D+) = .10 P(D–) = .90 T– T+ Ex: Colorectal Cancer T+ ∩ D+ T+ ∩ D– T– ∩ D+ T– ∩ D– Fecal Occult Blood Test (FOBT) D can be determined via a “gold standard” test… True Positive rate, “sensitivity” P(T+ | D+) = .85 False Positive rate P(T+ | D–) = .02 True Negative rate, “specificity” P(T– | D–) = .98 False Negative rate P(T– | D+) = .15 Cheap, fast, easy Easy insurance coverage

posterior probabilities Example: Screening Tests: D = Disease (+ or –), T = Test (+ or –) “prevalence” prior probabilities P(D+) = .10 P(D–) = .90 T– posterior probabilities T+ Ex: Colorectal Cancer T+ ∩ D+ T+ ∩ D– T– ∩ D+ T– ∩ D– D can be determined via a “gold standard” test… True Positive rate, “sensitivity” P(T+ | D+) = .95 False Positive rate P(T+ | D–) = .45 True Negative rate, “specificity” P(T– | D–) = .55 True Negative rate, “specificity” P(T– | D–) = ??? False Negative rate P(T– | D+) = .05 False Negative rate P(T– | D+) = ???

Example: Screening Tests: D = Disease (+ or –), T = Test (+ or –) ??????????? “prevalence” prior probabilities P(D+) = .10 P(D–) = .90 T– posterior probabilities T+ “Predictive Value” (PV) Ex: Colorectal Cancer P(D+ | T+) T+ ∩ D+ T+ ∩ D– of a positive test: .19 T– ∩ D+ T– ∩ D– ??? P(D– | T–) of a negative test: .99 True Positive rate, “sensitivity” P(T+ | D+) = .95 False Positive rate P(T+ | D–) = .45 True Negative rate, “specificity” P(T– | D–) = .55 False Negative rate P(T– | D+) = .05

The Debate Continues… Frequentists Forever Bayes’ Rules!

See... http://pages.stat.wisc.edu/~ifischer/Intro_Stat/stat311/PowerPoint/Chapter_2/More_Bayes'_Examples EXAM 1 ENDS HERE