Bayes’ Theorem Thomas Bayes was a British mathematician (1702-1761).

Slides:



Advertisements
Similar presentations
Mutually Exclusive Events and Venn Diagrams
Advertisements

Chapter 6: Probability : The Study of Randomness “We figured the odds as best we could, and then we rolled the dice.” US President Jimmy Carter June 10,
Section 3 Conditional Probability, Intersection, and Independence
Chapter 4 Probability.
2-1 Sample Spaces and Events Conducting an experiment, in day-to-day repetitions of the measurement the results can differ slightly because of small.
Bayes’ Theorem.
Key Concepts of the Probability Unit
AP STATISTICS.   Theoretical: true mathematical probability  Empirical: the relative frequency with which an event occurs in a given experiment  Subjective:
Conditional Probability. Conditional Probability of an Event Illustrating Example (1): Consider the experiment of guessing the answer to a multiple choice.
Probability Lesson 1 Aims:
1 Conditional Probability and Bayes’ Theorem Dr. Jerrell T. Stracener, SAE Fellow EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers.
“PROBABILITY” Some important terms Event: An event is one or more of the possible outcomes of an activity. When we toss a coin there are two possibilities,
CHAPTER 5 Probability: Review of Basic Concepts
Probability Notes Math 309. Sample spaces, events, axioms Math 309 Chapter 1.
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
Samuel Chukwuemeka (Samdom For Peace) Bayes’ Theorem.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
Topic 4A: Independent and Dependent Events Using the Product Rule
Let’s consider this problem… The table below gives the proportion of time that the gerbil spends in each compartment. Compartment Proportion A 0.25 B 0.20.
Let’s talk about conditional probability by considering a specific example: –suppose we roll a pair of dice and are interested in the probability of getting.
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.
Mathematics Conditional Probability Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
1 Chapter 12 Probabilistic Reasoning and Bayesian Belief Networks.
Probability The Language of Sets
Unit VI Discrete Structures Permutations and Combinations SE (Comp.Engg.)
Chapter three Conditional Probability and Independence
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:
Copyright © Cengage Learning. All rights reserved. 2 Probability.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
2.5 Additive Rules: Theorem 2.10: If A and B are any two events, then: P(A  B)= P(A) + P(B)  P(A  B) Corollary 1: If A and B are mutually exclusive.
Independent and Dependent events. What is the difference between independent and dependent events?  You have three marbles in a bag. There are two blue.
16.2 Probability of Events Occurring Together
Chapter 8 Probability Section 3 Conditional Probability, Intersection, and Independence.
Probability (2) Outcomes and Events. Let C mean “the Event a Court Card (Jack, Queen, King) is chosen” Let D mean “the Event a Diamond is chosen” Probability.
Introduction to probability (3) Definition: - The probability of an event A is the sum of the weights of all sample point in A therefore If A1,A2,…..,An.
1. 2 LECTURE 6 OF 6 CONDITIONAL PROBABILITY & BAYES’ THEOREM.
Copyright © Cengage Learning. All rights reserved.
Probability Lesson 1 Aims:
Virtual University of Pakistan
Chapter 5: Probability: What are the Chances?
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
STAT 203 Tree Diagrams and Bayes’ Rule
Chapter 5: Probability: What are the Chances?
Probability.
Chapter 2 Notes Math 309 Probability.
Chapter 5: Probability: What are the Chances?
Lecture 2: Probability.
Chapter 5: Probability: What are the Chances?
Probability Notes Math 309.
Chapter 5: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
If A and B are any two events, then: P(AB)= P(A) + P(B)  P(AB)
Chapter 5: Probability: What are the Chances?
the addition law for events that are not mutually exclusive
Chapter 6: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
An Introduction to….
Probability Notes Math 309.
Probability Notes Math 309 August 20.
Presentation transcript:

Bayes’ Theorem Thomas Bayes was a British mathematician ( ).

Introduction  Bayes theorem is essentially an expression of conditional probabilities. More or less, conditional probabilities represent the probability of an event occurring given evidence. To better understand, Bayes Theorem can be derived from the joint probability of A and B (i.e. P(A,B)) as follows:

Bayes’ Rule: Derivation  Definition: Let A and B be two events with P(B)  0. The conditional probability of A given B is: The idea: if we are given that the event B occurred, the relevant sample space is reduced to B {P(B)=1 because we know B is true} and conditional probability becomes a probability measure on B.

Bayes’ Rule: Derivation can be re-arranged to: and, since also: The formula looks very complicated, but in fact it is easy to use if you remember that the denominator is the total probability of B.

Bayes’ Rule:  Why do we care??  Why is Bayes Rule useful??  It turns out that sometimes it is very useful to be able to “flip” conditional probabilities. That is, we may know the probability of A given B, but the probability of B given A may not be obvious. An example will help…

Three girls, Aileen, Barbara and Cathy, pack biscuits in a factory. From the batch allotted to them Aileen packs 55%, Barbara 30% and Cathy 15%. The probability that Aileen breaks some biscuits in a packet is 0.7 and the respective probabilities for Barbara and Cathy are 0.2 and 0.1. What is the probability that a packet with broken biscuits found by the checker was packed by Aileen? Example 1:

Solution1: Let A be the event ‘the packet was packed by Aileen’,B be the event ‘the packet was packet was packed by Barbara’,C be the event ‘the packet was packed by Cathy’,D be the event ‘the packet contains broken biscuits’. We are given P(A) = 0.55, P(B)= 0.3, P(C)=0.15 and P(D/A) =0.7, P(D/B) =0.2, P(D/C)= 0.1. We need to find P(A/D), so we use Bayes` theorem to ‘reverse the conditions’:

 Now P(D) is the ‘total’ probability of D, that is the probability that a packet contains broken biscuits. This can be found very easily from the tree diagram. The outcomes resulting in a packet with broken biscuits are shown with an asterisk.

packet

 P(D)= P(D/A) P(A)+P(D/B) P(B)+P(D/C) P(C) =(0.7)(0.55)+(0.2)(0.3)+(0.1)(0.15) =0.46  As shown in the tree diagram P(D/A) P(A)= (0.7)(0.55)  Therefore P(A/D)= (0.7)(0.55)/0.46 =0.837  The probability that a packet with broken biscuits was packed by Aileen is 0.837

Example 2: TThree children,Catherine,Michael and David, have equal plots in a circular patch of garden. The boundaries are marked out by pebbles. Catherine has 80 red and 20 white flowers in her patch, Michael has 30 red and 40 white flowers and David has 10 red and 60 white flowers. Their young sister, Mary, wants to pick a flower for her teacher. QQuestion (a): Find the probability that she picks a red flower if she chooses a flower at random from the garden,ignoring the boundaries.

Solution: (a)  if the boundaries are ignored : The possibility space S= (flowers in the garden) and n(S)= =240 Let R be the event ‘a red flower is chosen’,then n(R)= =120 P(R)= n(R)/ n(S) = 120/240= ½ The probability that Mary picks a red flower if she ignores the boundaries is 1/2

Question (b): Find the probability that she picks a red flower if she first chooses a plot at random. Solution (b): A plot is chosen first: Each of the three plots is equally likely to be chosen. Let C be the event ‘Catherine's plot is chosen’, then P(C) =1/3 With similar notation P(M) =1/3 and P(D) =1/3

The outcomes resulting in the event R are shown with an asterisk on the tree diagram

Now P(R) =P(R/C) P(C)+P(R/M) P(M)+P(R/D) P(D) =(80/100)(1/3)+(30/70)(1/3)+(10/70)(1/3) =16/35 The probability that Mary picks a red flower if she chooses a plot at random is 16/35 Note: the two different results for part (a) and part (b) are slightly surprising. In the first case, there is one group of flowers and each flower is equally likely to be chosen. In the second case, even though each plot is equally likely to be chosen,the proportions of red and white flowers within these plots are different.

Question (c): If she picks a red flower by the method described in (b), find the probability that it comes from Michael's plot.

Solution (c): Using Bayes` theorem: Now P(R/M) P(M) = (30/70) (1/3) = 1/7 (from tree diagram) And P(R) = 16/35 (from part (b) ) Therefore P(M/R) = 1/7/16/35 =5/16 Given that Mary picks a red flower, the probability that it came from Michael's plot is 5/16

Reference from : Website:   Book:  Fundamentals Methods of Mathematical Economics 4 th Edition (Page )

THE END