posterior probability

Slides:



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

Chapter 12: Conditional Probability & Independence 1.(12.1) Conditional Probability 2.(12.2) Independence 1.(12.1) Conditional Probability 2.(12.2) Independence.
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
Expected Value (Mean), Variance, Independence Transformations of Random Variables Last Time:
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.
Bayes for Beginners Presenters: Shuman ji & Nick Todd.
Lecture 5a: Bayes’ Rule Class web site: DEA in Bioinformatics: Statistics Module Box 1Box 2Box 3.
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. Statistical inference is based on a Mathematics branch called probability theory. If a procedure can result in n equally likely outcomes,
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.
Introductory Statistics Lesson 3.2 B Objectives: SSBAT use the multiplication rule to find the probability of 2 events occurring in sequence. SSBAT use.
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.
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
BIOSTAT 3 Three tradition views of probabilities: Classical approach: make certain assumptions (such as equally likely, independence) about situation.
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.
Uncertainty ECE457 Applied Artificial Intelligence Spring 2007 Lecture #8.
1 Probability Chapter Assigning probabilities to Events Random experiment –a random experiment is a process or course of action, whose outcome.
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) =
Fall 2002Biostat Probability Probability - meaning 1) classical 2) frequentist 3) subjective (personal) Sample space, events Mutually exclusive,
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.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
CSE (c) S. Tanimoto, 2007 Bayes Nets 1 Bayes Networks Outline: Why Bayes Nets? Review of Bayes’ Rule Combining independent items of evidence General.
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.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
Chapter 15 Probability Rules!.
Probability and Statistics
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.
ASV Chapters 1 - Sample Spaces and Probabilities
Incorporating New Information to Decision Trees (posterior probabilities) MGS Chapter 6 Part 3.
Elementary Statistics
Advanced Placement Statistics
Week 7 Lecture 2 Chapter 13. Probability Rules.
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 2: Probability CIS Computational Probability and.
Chapter 2 Probability Sample Spaces and Events
WARM – UP The diagnosis for having a certain disease has a probability of being wrong (False Positive). A company has 520 employees that must undergo.
COnDITIONAL Probability
LESSON 5: PROBABILITY Outline Probability Events
Definitions POPULATION
QUANTITATIVE METHODS 1 SAMIR K. SRIVASTAVA.
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.
posterior probability
basic probability and bayes' rule
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… .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… .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… .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 Let A = Overcast, B = Rain Also recall… .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… .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_slides/Chapter_2/More_Bayes'_Examples EXAM 1 ENDS HERE