Tree Diagrams By Henry Mesa Use your keyboard’s arrow keys to move the slides forward ( ▬►) or backward ( ◄▬) Use the (Esc) key to exit.

Slides:



Advertisements
Similar presentations
The Meaning of Independence in Probability and Statistics Henry Mesa Use your keyboard’s arrow keys to move the slides forward (▬►) or backward (◄▬)
Advertisements

Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 15 Probability Rules!
Copyright © 2010 Pearson Education, Inc. Chapter 15 Probability Rules!
Probability.
Mutually Exclusive Events and Venn Diagrams
Chapter 4 Probability and Probability Distributions
STAT Section 5 Lecture 23 Professor Hao Wang University of South Carolina Spring 2012 TexPoint fonts used in EMF. Read the TexPoint manual before.
Section 5.2 Probability Rules
Chapter 5: Probability: What are the Chances?
Chapter 12: General Rules of Probability STAT 1450.
Chapter 3 Section 3.3 Basic Rules of Probability.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Probability Rules!
Chapter 15: Probability Rules
The Marriage Problem Finding an Optimal Stopping Procedure.
11/20/ Probability Rules.
Venn Diagram Example By Henry Mesa. In a population of people, during flu season, 25% of that population got the flu. It turns out that 80% of that population.
Probability Part2 ( ) Chapter 5 Probability Part2 ( )
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
Slide 15-1 Copyright © 2004 Pearson Education, Inc.
Probability Rules!! Chapter 15.
Copyright © 2010 Pearson Education, Inc. Chapter 15 Probability Rules!
Mathematics Conditional Probability Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund
Relate skip-counting by fives on the clock and telling time to a continuous measurement model, the number line Lesson 2.2.
Copyright © 2010 Pearson Education, Inc. Chapter 6 Probability.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules.
Vocabulary Two events in which either one or the other must take place, but they cannot both happen at the same time. The sum of their probabilities.
How To Do NPV’s ©2007 Dr. B. C. Paul Note – The principles covered in these slides were developed by people other than the author, but are generally recognized.
Discrete Probability Distribution Henry Mesa Use your keyboard’s arrow keys to move the slides forward (▬►) or backward (◄▬) Hit the Esc key to end show.
Copyright © 2010 Pearson Education, Inc. Slide
YMS Chapter 6 Probability: Foundations for Inference 6.1 – The Idea of Probability.
Reading The “Given That” Versus The “AND” Statement By Henry Mesa.
1 Chapter 15 Probability Rules. 2 Recall That… For any random phenomenon, each trial generates an outcome. An event is any set or collection of outcomes.
+ Unit 5: Probability: What are the Chances? Lesson 2 Probability Rules.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 15 Probability Rules!
SLIDE SHOW INSTRUCTIONS This presentation is completely under your control. This lesson will show only one step at a time, to see the next step you must.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Probability Rules!
+ Section 5.2 Probability Rules After this section, you should be able to… DESCRIBE chance behavior with a probability model DEFINE and APPLY basic rules.
Chapter 14 Probability Rules!. Do Now: According to the 2010 US Census, 6.7% of the population is aged 10 to 14 years, and 7.1% of the population is aged.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 15 Probability Rules!
Chapter 15 Probability Rules!
Reading The “Given That” Versus The “AND” Statement
Venn Diagram Example By Henry Mesa.
Discrete Probability Distribution
Chapter 5: Probability: What are the Chances?
Applicable Mathematics “Probability”
Chapter 5: Probability: What are the Chances?
Probability.
Venn Diagram Example By Henry Mesa.
Chapter 14 Probability Rules!.
Chapter 5: Probability: What are the Chances?
Chapter 15 Probability Rules! Copyright © 2010 Pearson Education, Inc.
Chapter 5: Probability: What are the Chances?
Chapter 15 Probability Rules!.
Chapter 5: Probability: What are the Chances?
Section 3.3: The Addition Rule
Venn Diagram Example By Henry Mesa.
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 Use your keyboard’s arrow keys to move the slides
Venn Diagram Example By Henry Mesa.
Presentation transcript:

Tree Diagrams By Henry Mesa Use your keyboard’s arrow keys to move the slides forward ( ▬►) or backward ( ◄▬) Use the (Esc) key to exit

Tree Diagrams are another tool that we can use to help us visualize the interaction between probability statements, just like a Venn Diagram. The difference is that the Venn Diagram can not illustrate the probability P(A | B) while the Tree Diagram is made to do just that. Here is an excerpt of what type of probabilities the Venn diagram can illustrate

The Venn diagram represents the “whole” (100%) by creating a rectangle and then it illustrates how that rectangle gets subdivided by the events.

The Tree Diagram represents the “whole” (100%) by creating a node ( a single dot). The tree I am going to draw is the simplest one I can draw based on the previous Venn Diagram.

The Tree Diagram represents the “whole” (100%) by creating a node ( a single dot). Next, you start with one of the events, and either the event occurs or it does not. The lines (branches of the tree) represent either the event occurring or the event does not occur. I write at the end of the branch the name of the event. A Not A

Notice, that a tree has subdivided the entire whole into disjoint parts. I personally call this first part of the tree “stage 1”, where the whole is subdivided into disjoint parts. The next slide gives a different subdivision. A Not A

Here I subdivided the entire whole into three disjoint parts. I am showing you this slide to make clear what my intent was in the previous slide. A B C Now I will continue with my original subdivision (previous slide).

Next, the subdivisions, get subdivided themselves. A Not A B Not B Event A has been subdivided into two parts by introducing event B. So the end labeled B is really…

Next, the subdivisions, get subdivided themselves. A Not A B Not B Event A has been subdivided into two parts by introducing event B. So the end labeled B is really… P(B | A)

Warning!!! The B you see is not P(B), but rather the P(B | A): given that we are only looking at the subdivision (sample space) that contains A, find all the items within A that meet event B. A Not A B Not B Now, to complete the picture. I will insert the corresponding probability notation into each branch.

So you can see now that the next stage of the tree, stage 2, is based on the condition of what occurred in stage 1 of the tree. Thus, B can only occur in the upper branch is A occurs. Now B can still occur, if A does not occur. This like saying I pass the first exam or I do not. How does that affect “passing the course.” Any branch beyond stage 1 is always conditional. A Not A B Not B P(A) P(B | A) P(Not B | A) B Not B P(B | Not A) P(Not B | Not A) P(Not A) Notice, I have color coded the Venn diagram. I want to make an association between each region of the Venn and its location on the tree.

One way a tree can be read is to start at the node then, follow the paths until you are out. So If I follow the path described below, what is the probability notation that describes the output of that path? The color coding now does correspond to the Venn. A Not A B Not B P(A) P(B | A) P(Not B | A) B Not B P(B | Not A) P(Not B | Not A) P(Not A) As a formula P(A AND B) = P(A)P(B |A) Now lets finish the rest of the tree output. In Out P(A AND B)

So how can the tree help me answer probability questions? A Not A B Not B P(A) P(B | A) P(Not B | A) B Not B P(B | Not A) P(Not B | Not A) P(Not A) Suppose that I want to answer the question P(A and B)? Think of it as what is the chance I enter into the tree path and come out a the desired result? In Out P(A AND B) P(A AND Not B) P(Not A AND B) P(Not A AND Not B) First you must go down the path that ends at A, a probability of P(A). But afterward you must go through the path labeled B which you have a probability of P(B | A). This means that P(A AND B) is P(A)P(B |A)

An Example

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. What percentage of the population will not receive the drug and will get ill? Here is the question using function notation P(NOT drug AND ill)? I want the person to not get the drug and become ill. Notice, the question itself looks like what I asked when you had Venn diagrams, but what is changed is the “tools/probabilities” you have to work with. The first step as always is to write the given probabilities using function notation.

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. What percentage of the population will not receive the drug and will get ill? Here is the question using function notation P(NOT drug AND ill)? I want the person to not get the drug and become ill. The first step as always is to write the given probabilities using function notation. P(drug) = 0.45 P(Not ill | drug) = 0.79 P(Not ill | Not drug) = 0.55 I see that the two other probabilities are conditional and I also notice that I have the probability of the given event by itself, P(drug). To me that signals TREE DIAGRAM. So just like in the Venn situations I create my graph.

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. What percentage of the population will not receive the drug and will get ill? Here is the question using function notation P(NOT drug AND ill)? I want the person to not get the drug and become ill. The first step as always is to write the given probabilities using function notation. P(drug) = 0.45 P(Not ill | drug) = 0.79 P(Not ill | Not drug) = 0.55 I will now place the rest of the probabilities along the corresponding branches.

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. What percentage of the population will not receive the drug and will get ill? Here is the question using function notation P(NOT drug AND ill)? I want the person to not get the drug and become ill. The first step as always is to write the given probabilities using function notation. P(drug) = 0.45 P(Not ill | drug) = 0.79 P(Not ill | Not drug) = 0.55 So, now I can answer the question. P(Not drug AND ill) = 0.55(0.45) = InOut

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. Here is another question: What is percentage of the population will get the drug and get ill? The first step as always is to write the given probabilities using function notation. P(drug) = 0.45 P(Not ill | drug) = 0.79 P(Not ill | Not drug) = 0.55 All I have to do know is read the tree to get the appropriate numbers. P(drug AND ill) = 0.45(0.21) = In Out P(drug AND ill) =?

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. Here is another question: What percentage of the population will not take the drug and does not become ill? The first step as always is to write the given probabilities using function notation. P(drug) = 0.45 P(Not ill | drug) = 0.79 P(Not ill | Not drug) = 0.55 All I have to do know is read the tree to get the appropriate numbers. P(NOT drug AND NOT ill) = 0.55(0.55) = In Out P(NOT drug AND NOT ill) =?

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. Here is another question: What percentage of the population will become ill? The first step as always is to write the given probabilities using function notation. P(drug) = 0.45 P(Not ill | drug) = 0.79 P(Not ill | Not drug) = 0.55 Notice the answer is not 0.21 nor is it 0.45, nor is the sum of the two You must truly understand the structure of a tree to answer this question. There are two possible ways to get ill; one involves taking the drug, the other not taking the drug, thus… In Out P(ill) = ? Out P(ill) = P(ill AND drug OR ill AND NOT drug) = 0.45(0.21) + (0.55)(0.45) = 0.342

Bayes’s Rule

You now see how we can read the tree diagram to answer some questions. But there is another question that can be answered using the tree diagram, and this type of question can be answered using Bayes’s Rule. I could get very technical here, but this is not the point of this presentation. Consider the direction we have answered the previous questions. We started at the node then worked our way forward toward the ending of the tree. What makes this question different is that, to me, it appears that we are looking at the tree backwards. I will tell you what path I came out of, now you tell me, what path I actually took, or more to the point, give me the probability that my path was….

A town has an illness that is expected to affect a population. There is a drug that, if taken before hand may stop the illness. A public announcement is sent out and 45% of the population takes this drug. If you take the drug there is a 79% chance you will not get ill. If you do not take the drug there is a 55% you will not get ill. Here is another question: A person becomes ill. What is the probability that this person did not take the drug? Notice how this question has already assumed the person is ill; a given. P(drug) = 0.45 P(Not ill | drug) = 0.79 P(Not ill | Not drug) = 0.55 I am going to use the formula for conditional probabilities to help answer the question. P(Not Drug | ill) In Out P(Not Drug | ill) = ? Out =

View this presentation as often as you need. As always don’t be discouraged if this concept does not sit well with you yet. The more exposure you have to this material the easier and more natural this will become.