Conditional Probability, Total Probability Theorem and Bayes’ Rule

Slides:



Advertisements
Similar presentations
1 Probability Theory Dr. Deshi Ye
Advertisements

Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
COUNTING AND PROBABILITY
SI485i : NLP Day 2 Probability Review. Introduction to Probability Experiment (trial) Repeatable procedure with well-defined possible outcomes Outcome.
Chapter 7 Probability 7.1 Experiments, Sample Spaces, and Events
Chapter 4: Probability (Cont.) In this handout: Total probability rule Bayes’ rule Random sampling from finite population Rule of combinations.
Today Today: Some more counting examples; Start Chapter 2 Important Sections from Chapter 1: ; Please read Reading: –Assignment #2 is up.
1 Basic Probability Statistics 515 Lecture Importance of Probability Modeling randomness and measuring uncertainty Describing the distributions.
Section 5.1 What is Probability? 5.1 / 1. Probability Probability is a numerical measurement of likelihood of an event. The probability of any event is.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Chapter 1 Basics of Probability.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
1.5 Conditional Probability 1. Conditional Probability 2. The multiplication rule 3. Partition Theorem 4. Bayes’ Rule.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 2 – Conditional probability Farinaz Koushanfar ECE Dept., Rice University Aug 27, 2009.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 3 – Conditional probability Farinaz Koushanfar ECE Dept., Rice University Sept 1, 2009.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Section Conditional Probability Objectives: 1.Understand the meaning of conditional probability. 2.Learn the general Multiplication Rule:
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
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:
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Sullivan Algebra and Trigonometry: Section 14.3 Objectives of this Section Construct Probability Models Compute Probabilities of Equally Likely Outcomes.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
Essential Ideas for The Nature of Probability
Virtual University of Pakistan
Probability.
Natural Language Processing
What is Probability? Quantification of uncertainty.
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
Natural Language Processing
Introduction to Probability
CSCI 5832 Natural Language Processing
Tutorial 2: Sample Space and Probability 2
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
COUNTING AND PROBABILITY
Counting Methods and Probability Theory
Counting Methods and Probability Theory
Sets and Probabilistic Models
Conditional Probability, Total Probability Theorem and Bayes’ Rule
Berlin Chen Department of Computer Science & Information Engineering
Discrete Random Variables: Expectation, Mean and Variance
Further Topics on Random Variables: 1
Further Topics on Random Variables: Derived Distributions
Discrete Random Variables: Basics
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Covariance and Correlation
Sets and Probabilistic Models
Independence and Counting
Conditional Probability, Total Probability Theorem and Bayes’ Rule
Discrete Random Variables: Joint PMFs, Conditioning and Independence
Discrete Random Variables: Basics
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Derived Distributions
Experiments, Outcomes, Events and Random Variables: A Revisit
Discrete Random Variables: Expectation, Mean and Variance
Discrete Random Variables: Expectation, Mean and Variance
Sets and Probabilistic Models
Independence and Counting
Berlin Chen Department of Computer Science & Information Engineering
Independence and Counting
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Covariance and Correlation
Further Topics on Random Variables: Derived Distributions
Discrete Random Variables: Basics
Sets and Probabilistic Models
Conditional Probability, Total Probability Theorem and Bayes’ Rule
Continuous Random Variables: Basics
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

Conditional Probability, Total Probability Theorem and Bayes’ Rule Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: - D. P. Bertsekas, J. N. Tsitsiklis, Introduction to Probability , Sections 1.3-1.4

Conditional Probability (1/2) Conditional probability provides us with a way to reason about the outcome of an experiment, based on partial information Suppose that the outcome is within some given event , we wish to quantify the likelihood that the outcome also belongs some other given event Using a new probability law, we have the conditional probability of given , denoted by , which is defined as: If has zero probability, is undefined We can think of as out of the total probability of the elements of , the fraction that is assigned to possible outcomes that also belong to

Conditional Probability (2/2) When all outcomes of the experiment are equally likely, the conditional probability also can be defined as Some examples having to do with conditional probability In an experiment involving two successive rolls of a die, you are told that the sum of the two rolls is 9. How likely is it that the first roll was a 6? In a word guessing game, the first letter of the word is a “t”. What is the likelihood that the second letter is an “h”? How likely is it that a person has a disease given that a medical test was negative? A spot shows up on a radar screen. How likely is it that it corresponds to an aircraft?

Conditional Probabilities Satisfy the Three Axioms Nonnegative: Normalization: Additivity: If and are two disjoint events distributive disjoint sets

Conditional Probabilities Satisfy General Probability Laws Properties probability laws … Conditional probabilities can also be viewed as a probability law on a new universe , because all of the conditional probability is concentrated on .

Simple Examples using Conditional Probabilities (1/3)

Simple Examples using Conditional Probabilities (2/3)

Simple Examples using Conditional Probabilities (3/3) FS SS SF FF

Using Conditional Probability for Modeling (1/2) It is often natural and convenient to first specify conditional probabilities and then use them to determine unconditional probabilities An alternative way to represent the definition of conditional probability

Using Conditional Probability for Modeling (2/2)

Multiplication (Chain) Rule Assuming that all of the conditioning events have positive probability, we have The above formula can be verified by writing For the case of just two events, the multiplication rule is simply the definition of conditional probability

Multiplication (Chain) Rule: Examples (1/2) Example 1.10. Three cards are drawn from an ordinary 52-card deck without replacement (drawn cards are not placed back in the deck). We wish to find the probability that none of the three cards is a heart.

Multiplication (Chain) Rule: Examples (2/2) Example 1.11. A class consisting of 4 graduate and 12 undergraduate students is randomly divided into 4 groups of 4. What is the probability that each group includes a graduate student? 12 8 4

Total Probability Theorem (1/2) Let be disjoint events that form a partition of the sample space (each possible outcome is included in one and only one of the events ) and assume that , for all . Then, for any event , we have

Total Probability Theorem (2/2) Figure 1.13:

Some Examples Using Total Probability Theorem (1/3)

Some Examples Using Total Probability Theorem (2/3) (1,3),(1,4) (2,2),(2,3),(2,4) (4)

Some Examples Using Total Probability Theorem (3/3) Example 1.15. Alice is taking a probability class and at the end of each week she can be either up-to-date or she may have fallen behind. If she is up-to-date in a given week, the probability that she will be up-to-date (or behind) in the next week is 0.8 (or 0.2, respectively). If she is behind in a given week, the probability that she will be up-to-date (or behind) in the next week is 0.4 (or 0.6, respectively). Alice is (by default) up-to-date when she starts the class. What is the probability that she is up-to-date after three weeks? P(U1)=P(U1|U0)P(U0)+ P(U1|B0)P(B0)=0.8*1.0+0.4*0.0=0.8 P(B1)=P(B1|U0)P(U0)+ P(B1|B0)P(B0)=0.2*1.0+0.6*0.0=0.2

Bayes’ Rule Let be disjoint events that form a partition of the sample space, and assume that , for all . Then, for any event such that we have Multiplication rule Total probability theorem

Inference Using Bayes’ Rule (1/2) 惡性腫瘤 良性腫瘤 Figure 1.14:

Inference Using Bayes’ Rule (2/2) Example 1.18. The False-Positive Puzzle. A test for a certain disease is assumed to be correct 95% of the time: if a person has the disease, the test with are positive with probability 0.95 ( ), and if the person does not have the disease, the test results are negative with probability 0.95 ( ). A random person drawn from a certain population has probability 0.001 ( ) of having the disease. Given that the person just tested positive, what is the probability of having the disease ( ) ? : the event that the person has a disease : the event that the test results are positive

Recitation SECTION 1.3 Conditional Probability Problems 11, 14, 15 SECTION 1.4 Probability Theorem, Bayes’ Rule Problems 17, 23, 24, 25

Homework -1 Chapter 1 : Additional Problems (http://www.athenasc.com/CH1-prob-supp.pdf) Problems 2, 8, 13, 16, 18