Bayes’ Theorem.

Slides:



Advertisements
Similar presentations
Probability u Tree Diagrams. Tree Diagrams u Shows all possible outcomes – Total amount of choices from a group of items – How many of a particular item.
Advertisements

Example for calculating your final grade for this course
Chapter 2 Probability. 2.1 Sample Spaces and Events.
Complimentary Events The complement of event E is the set of all outcomes in a sample space that are not included in event E. The complement of event.
Bayes’ Theorem.  An insurance company divides its clients into two categories: those who are accident prone and those who are not. Statistics show there.
For Thursday, Feb. 20 Bring Conditional Probability Worksheet to class Exam #1:March 4 Project Presentations Start March 6 Team Homework #4 due Feb. 25.
13-1 Experimental and Theoretical Probability. Outcome: the possible result of a situation or experiment Even: may be a single outcome or a group of outcomes.
Partitions Law of Total Probability Bayes’ Rule
Conditional Probability
Bayes’ Theorem.
Applicable Mathematics “Probability”
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
Bayes’ Theorem -- Partitions Given two events, R and S, if P(R  S) =1 P(R  S) =0 then we say that R and S partition the sample space. More than 2 events.
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.
Probability 2.0. Independent Events Events can be "Independent", meaning each event is not affected by any other events. Example: Tossing a coin. Each.
Mathematics Conditional Probability Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund
Chapter 4 Probability. Definitions A probability experiment is a chance process that leads to well-defined results called outcomes. An outcome is the.
Probability u Tree Diagrams. Tree Diagrams u Shows all possible outcomes – Total amount of choices from a group of items – How many of a particular item.
Unit VI Discrete Structures Permutations and Combinations SE (Comp.Engg.)
Probability of Simple Events
Pre-Algebra 9-7 Independent and Dependent Events Learn to find the probabilities of independent and dependent events.
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:
Experiments, Outcomes and Events. Experiment Describes a process that generates a set of data – Tossing of a Coin – Launching of a Missile and observing.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 8.4 Bayes’ Formula The student will be able to solve problems involving.
STAT 240 PROBLEM SOLVING SESSION #2. Conditional Probability.
Probability GPS Algebra. Let’s work on some definitions Experiment- is a situation involving chance that leads to results called outcomes. An outcome.
: Probability = chance = odds An event is one or more outcomes of an experiment An outcome is the result of a single trial of an experiment.
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?
Section 7.6 Bayes’ Theorem.
5.2 Probability
Probability Tree Diagrams.
Applicable Mathematics “Probability”
Chapter 3.1 Probability Students will learn several ways to model situations involving probability, such as tree diagrams and area models. They will.
Chapter 3.1 Probability Students will learn several ways to model situations involving probability, such as tree diagrams and area models. They will.
Chapter 5: Probability: What are the Chances?
CHAPTER 5 Probability: What Are the Chances?
Probability And Expected Value ————————————
Warmup The chance of winning a prize from Herff- Jones is 1/22. How would you set up a simulation using the random number table to determine the probability.
Chapter 5: Probability: What are the Chances?
CHAPTER 5 Probability: What Are the Chances?
Chapter 5: Probability: What are the Chances?
Probability And Expected Value ————————————
CHAPTER 5 Probability: What Are the Chances?
Chapter 5: Probability: What are the Chances?
Probability Tree Diagrams.
1.7 Addition Rule - Tree Diagrams (1/3)
Probability.
Chapter 5: Probability: What are the Chances?
CHAPTER 5 Probability: What Are the Chances?
CHAPTER 5 Probability: What Are the Chances?
Probability Tree Diagrams.
Chapter 5: Probability: What are the Chances?
Chapter 5: Probability: What are the Chances?
CHAPTER 5 Probability: What Are the Chances?
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?
Unit 6: Probability: What are the Chances?
Tree Diagrams Monday, October 15, 2012 Mr. Pearson
You pick a marble at random. What is the probability:
Probability Tree Diagrams.
Presentation transcript:

Bayes’ Theorem

Example Jar # Red White Blue 1 3 4 2 Three jars contain colored balls as described in the table below. One jar is chosen at random and a ball is selected. If the ball is red, what is the probability that it came from the 2nd jar? Jar # Red White Blue 1 3 4 2

Example We will define the following events: J1 is the event that first jar is chosen J2 is the event that second jar is chosen J3 is the event that third jar is chosen R is the event that a red ball is selected

Example The events J1 , J2 , and J3 mutually exclusive Why? You can’t chose two different jars at the same time Because of this, our sample space has been divided or partitioned along these three events

Venn Diagram Let’s look at the Venn Diagram

Venn Diagram All of the red balls are in the first, second, and third jar so their set overlaps all three sets of our partition

Finding Probabilities What are the probabilities for each of the events in our sample space? How do we find them?

Computing Probabilities Similar calculations show:

Venn Diagram Updating our Venn Diagram with these probabilities:

Where are we going with this? Our original problem was: One jar is chosen at random and a ball is selected. If the ball is red, what is the probability that it came from the 2nd jar? In terms of the events we’ve defined we want:

Finding our Probability We already know what the numerator portion is from our Venn Diagram What is the denominator portion?

Arithmetic! Plugging in the appropriate values:

Another Example—Tree Diagrams All tractors made by a company are produced on one of three assembly lines, named Red, White, and Blue. The chances that a tractor will not start when it rolls off of a line are 6%, 11%, and 8% for lines Red, White, and Blue, respectively. 48% of the company’s tractors are made on the Red line and 31% are made on the Blue line. What fraction of the company’s tractors do not start when they roll off of an assembly line?

Define Events Let R be the event that the tractor was made by the red company Let W be the event that the tractor was made by the white company Let B be the event that the tractor was made by the blue company Let D be the event that the tractor won’t start

Extracting the Information In terms of probabilities for the events we’ve defined, this what we know:

What are we trying to find? Our problem asked for us to find: The fraction of the company’s tractors that do not start when rolled off the assembly line? In other words:

Tree Diagram Because there are three companies producing tractors we will divide or partition our sample space along those events only this time we’ll be using a tree diagram

Tree Diagram

Follow the Branch? There are three ways for a tractor to be defective: It was made by the Red Company It was made by the White Company It was made by the Blue Company To find all the defective ones, we need to know how many were: Defective and made by the Red Company? Defective and made by the White Company? Defective and made by the Blue Company?

The Path Less Traveled? In terms of probabilities, we want:

Computing Probabilities To find each of these probabilities we simply need to multiply the probabilities along each branch Doing this we find

Putting It All Together Because each of these events represents an instance where a tractor is defective to find the total probability that a tractor is defective, we simply add up all our probabilities:

Bonus Question: What is the probability that a tractor came from the red company given that it was defective?

I thought this was called Bayes’ Theorem? Suppose that B1, B2, B3,. . . , Bn partition the outcomes of an experiment and that A is another event. For any number, k, with 1  k  n, we have the formula:

In English Please? What does Bayes’ Formula helps to find? Helps us to find: By having already known: