Part 3 Module 4 Probability of disjunctions, complements, and conditional probability.

Slides:



Advertisements
Similar presentations
The Law of Total Probability
Advertisements

Exercise #1 According to a recent article from the New England Journal of Medical Stuff, 63% of cowboys suffer from saddle sores, 52% of cowboys suffer.
1 Conditional Probability. 2 As we have seen, P(A) refers to the probability that event A will occur. P(A|B) refers to the probability that A will occur.
Probability, Part 1 We’ve looked at several counting techniques to determine the number of possible arrangements or groupings in a given scenario. These.
Part 3 Module 5 The Multiplication Rule Recall the following advice from our study of counting in Part 1 Module 6: Generally: 1. “or” means “add” 2. “and”
Chapter 5: Probability: What are the Chances?
Section 5.2 Probability Rules
1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.
Chapter 3 Section 3.3 Basic Rules of Probability.
Basic Probability Sets, Subsets Sample Space Event, E Probability of an Event, P(E) How Probabilities are assigned Properties of Probabilities.
Chapter 4 Probability.
5.2B TWO-WAY TABLES, GENERAL ADDITION RULE AND VENN DIAGRAMS
Part 3 Module 3 Probability To introduce the classical definition of probability, here is a question that you can probably answer, intuitively, regardless.
Statistics Chapter 3: Probability.
Chapter 5 Probability ( ).
Chapter 4 Probability See.
 The Practice of Statistics, 4 th edition – For AP*  STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules.
5- 1 Chapter Five McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
1  Event - any collection of results or outcomes from some procedure  Simple event - any outcome or event that cannot be broken down into simpler components.
EXIT NEXT Click one of the buttons below or press the enter key BACKTOPICSProbability Mayeen Uddin Khandaker Mayeen Uddin Khandaker Ph.D. Student Ph.D.
11/20/ Probability Rules.
1 Chapters 6-8. UNIT 2 VOCABULARY – Chap 6 2 ( 2) THE NOTATION “P” REPRESENTS THE TRUE PROBABILITY OF AN EVENT HAPPENING, ACCORDING TO AN IDEAL DISTRIBUTION.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Special Topics. General Addition Rule Last time, we learned the Addition Rule for Mutually Exclusive events (Disjoint Events). This was: P(A or B) = P(A)
Probability Theory Pertemuan 4 Matakuliah: F Analisis Kuantitatif Tahun: 2009.
5- 1 Chapter Five McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
IT College Introduction to Computer Statistical Packages Lecture 8 Eng. Heba Hamad.
Lesson 6 – 2b Probability Models Part II. Knowledge Objectives Explain what is meant by random phenomenon. Explain what it means to say that the idea.
Chapter 5 Probability 5.2 The Addition Rule; Complements.
Copyright © 2010 Pearson Education, Inc. Chapter 6 Probability.
1 Probability Definition 1: An experiment is an act or process of observation that leads to a single outcome that cannot be predicted with certainty. Sample.
Chapter 3 Probability  The Concept of Probability  Sample Spaces and Events  Some Elementary Probability Rules  Conditional Probability and Independence.
Part 3 Module 5 The Multiplication Rule Recall the following advice from our study of counting in Part 1 Module 6: Generally: 1. “or” means “add” 2. “and”
Probability. What is probability? Probability discusses the likelihood or chance of something happening. For instance, -- the probability of it raining.
Introduction Remember that probability is a number from 0 to 1 inclusive or a percent from 0% to 100% inclusive that indicates how likely an event is to.
5-Minute Check on Section 6-2a Click the mouse button or press the Space Bar to display the answers. 1.If you have a choice from 6 shirts, 5 pants, 10.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.2 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.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Chapter 4 Some basic Probability Concepts 1-1. Learning Objectives  To learn the concept of the sample space associated with a random experiment.  To.
Essential Ideas for The Nature of Probability
Chapter 3: Probability Topics
Chapter 5: Probability: What are the Chances?
CHAPTER 5 Probability: What Are the Chances?
Applicable Mathematics “Probability”
Part 3 Module 5 The Multiplication Rule
Chapter 5: Probability: What are the Chances?
CHAPTER 5 Probability: What Are the Chances?
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?
Part 3 Module 3 Probability
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?
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?
Presentation transcript:

Part 3 Module 4 Probability of disjunctions, complements, and conditional probability

Exercise #1 According to a recent article from the New England Journal of Medical Stuff, 63% of cowboys suffer from saddle sores, 52% of cowboys suffer from bowed legs, and 40% suffer from both saddle sores and bowed legs. What is the probability that a randomly selected cowboy has saddle sores or bowed legs? Note that these two events are not mutually exclusive. A B..35 C..75D. None of these

Solution #1 According to a recent article from the New England Journal of Medical Stuff, 63% of cowboys suffer from saddle sores, 52% of cowboys suffer from bowed legs, and 40% suffer from both saddle sores and bowed legs. What is the probability that a randomly selected cowboy has saddle sores or bowed legs? When a counting problem or probability problem presents a population in terms of overlapping categories, we use a Venn diagram to organize the information. In this case, the numbers in the diagram are percents. The diagram shows the following: P(SS or BL) = 23% + 12% + 40% = 75% =.75

A special formula An alternative way to answer the previous question is by applying this special formula for the probability of the disjunction of events: For any events E, F, P(E or F) = P(E) + P(F) – P(E and F) Note that in the previous example, P(SS) =.63, P(BL) =.52, P(SS and BL) =.40. This data was presented at the beginning of the problem. So, without having to draw a Venn diagram, we have P(SS or BL) = P(SS) + P(BL) – P(SS and BL) = –.40 =.75

P(E or F) = P(E) + P(F) – P(E and F) There are a couple of things to be said about this special formula. Recall that in Part 3 Module 3 we saw that if E, F are mutually exclusive, then P(E or F) = P(E) + P(F) The new formula contains this formula from Part 3 Module 3 as a special case, because, if the events are mutually exclusive, then the third term, P(E and F), is zero, and so disappears. The advantage to using this formula is that it allows us to avoid having to draw the Venn diagram, if the data is in percent form, and the event is a disjunction. Generally, drawing the Venn diagram is a good activity, because there are other questions for which the diagram is helpful.

Exercise #2 Among a certain group of Vikings, 11 of them like to pillage, 12 of them like to plunder, while 6 of them like to pillage and like to plunder and 18 of them don't like to pillage and don't like to plunder. If one of these Vikings is randomly selected, find the probability that he/she likes to pillage or likes to plunder. Round to four decimal places. A B C D. None of these.

Solution #2 Among a certain group of Vikings, 11 of them like to pillage, 12 of them like to plunder, while 6 of them like to pillage and like to plunder and 18 of them don't like to pillage and don't like to plunder. If one of these Vikings is randomly selected, find the probability that he/she likes to pillage or likes to plunder. We use a Venn diagram to organize the information. In this case, the data is NOT in percent form. The diagram shows that the total number of Vikings is = 35 The number who like to pillage, or plunder, or both, is = 17 So, P(pillage or plunder) = 17/35 =.4857

Follow-up question Referring to the answer to the previous question: If the probably that a randomly selected Viking like to pillage or plunder is.4857, what is the probability that a randomly selected Viking doesn’t like to pillage and doesn’t like to plunder? Solution The Venn diagram shows that the answer is 18/35, or However, there is another way to answer this question, without looking at the diagram. Recall from logic and set mathematics (DeMorgan’s Laws) that “doesn’t plunder and doesn’t pillage” is the opposite (complement) of “plunders or pillages.” This means that we can also get the answer by applying the complements rule to the answer to the previous question: P(doesn’t plunder and doesn’t pillage) = 1 – P(plunders or pillages) = 1 –.4857 =.5143

Exercise #3 At the Forest Folks Gathering there are 39 jolly hobbits, 41 grumpy hobbits, 19 jolly leprechauns and 25 grumpy leprechauns. If one person is randomly selected, find the probability that he/she is a leprechaun or grumpy. A..532 B..202 C..669 D..685

Solution #3 At the Forest Folks Gathering there are 39 jolly hobbits, 41 grumpy hobbits, 19 jolly leprechauns and 25 grumpy leprechauns. If one person is randomly selected, find the probability that he/she is a leprechaun or grumpy. We should understand that a Venn diagram is not needed this time, because the population has been split into four mutually exclusive subcategories; the data is already organized and useable. The total population is = 124. Among the 124 wee folk, the number who are grumpy, or leprechauns, or both, is = 85 So, P(G or L) = 85/124 =.685 We have rounded our answer to the same number of decimal places as the multiple choice listings. The correct choice is D.

Exercise #4 The table below summarizes preferences of diners at the Hearty Guys Breakfast. If one of these hearty guys is randomly selected, find the probability that he is a construction worker or prefers pancakes. pancakes waffles French totals toast lumberjack construction worker totals A. 0.53B. 0.68C. 0.44D. 0.56

Solution #4 If one of these hearty guys is randomly selected, find the probability that he is a construction worker or prefers pancakes. Pa W F totals L C Totals We need to know how many Hearty Guys are in this population, and we need to know how many of them are construction workers, or prefer pancakes, or both.

Solution #4, p. 2 If one of these hearty guys is randomly selected, find the probability that he is a construction worker or prefers pancakes. Pa W F totals L C totals We need to know how many Hearty Guys are in this population, and we need to know how many of them are construction workers, or prefer pancakes, or both. The total in the lower right-hand corners tells us that there are 78 Hearty Guys, so this probability will be something over 78.

Solution #4, p. 3 If one of these hearty guys is randomly selected, find the probability that he is a construction worker or prefers pancakes. Pa W F totals L C totals Now we count any subcategory that shows a construction worker, or somebody who prefers pancakes, or both (highlighted in red) = 44 who are construction workers or prefer pancakes. So, P(C or Pa) = 44/78 =.56 We have rounded to the same number of decimal places as the multiple choice options. The correct answer is D.

Part 3 Module 4 advice Most of the probability questions from Part 3 Module 4 do not require fancy calculations. You just have to think of probability in its most basic sense (a fraction representing “this out of that”), and understand the presentation of data to find the number that goes in the denominator (the total population) and the number that goes in the numerator (those who satisfy the event that you are asked about). Drawing Venn diagrams may be helpful for some problems. You may have to work with percents.

Conditional probability Refer back to the simple example of rolling one die. Let F be the event that the result is a “2.” We know that P(F) = 1/6, because there are 6 equally likely outcomes, one of which is a “2.” Here is a variation on that theme: Suppose that the die roll has already been performed, and we are told that the result was an even number (event E). Would we still say that the P(F) = 1/6? No. Given that we know that an even number was rolled, then there are only three possible outcomes, not six. {2, 4, 6} Of these three possible outcomes, one of them is a “2” so the probability of having rolled a “2,” given that we rolled an even number, is 1/3.

Conditional probability This is an example of conditional probability. Conditional probability arises when we know something about the outcome of an experiment. We must take into account the effect of the given outcome on the probabilities of other events. In the previous case, we say: P(F, given E) = 1/3

Calculating conditional probability Conditional probability questions are questions of the form, “What is the probability of this event, given that this other event has occurred?” There are special formulas that can be used to calculate P(A, given B). P(A, given B) = n(A and B)/n(B) P(A, given B) = P(A and B)/P(B) The first of the two formulas is useful when we are presented with data in the form of raw numbers. The second formula is useful when we are presented with data in percent form.

Example In a box we have a bunch of puppies: 4 brown bulldogs 2 gray bulldogs 5 brown poodles 3 gray poodles If one puppy is selected, what is the probability that the puppy is brown? 2....a poodle? 3....gray or a bulldog? 4....brown and a bulldog? 5....a bulldog, given that it is gray? 6....brown, given that it is a poodle?

Solutions In a box we have a bunch of puppies: 4 brown bulldogs 2 gray bulldogs 5 brown poodles 3 gray poodles If one puppy is selected, what is the probability that the puppy is brown? P(brown) = 9/14 because 9 of the 14 puppies are brown 2....a poodle? P(poodle) = 8/14 because 8 of the 14 puppies are poodles 3....gray or a bulldog? P(gray or bulldog) = 9/14 because 9 of the 14 puppies are gray, or bulldogs, or both 4....brown and a bulldog? P(brown and bulldog) = 5/14 because 5 of the 14 puppies are brown bulldogs 5....a bulldog, given that it is gray? This means that we know we have selected one of the five gray puppies. Among the five gray puppies, two are bulldogs, so P(bd, given g) = 2/5  [this is n(bd and g)/n(g)] 6....brown, given that it is a poodle? This means that we know we have selected one of the eight poodles. Among the eight poodles, five are brown, so P(br, given p) = 5/8  [this is n(br and p)/n(p)]

Exercise #5 At the Annoying Persons Conference there are 22 charming telemarketers, 30 irritating telemarketers, 16 charming life insurance sellers and 21 irritating life insurance sellers. If one person is randomly selected, find the probability that he/she is a life insurance seller given that he/she is charming. A..42 B..18 C..58 D E..25

Solution #5 At the Annoying Persons Conference there are 22 charming telemarketers, 30 irritating telemarketers, 16 charming life insurance sellers and 21 irritating life insurance sellers. If one person is randomly selected, find the probability that he/she is a life insurance seller (L) given that he/she is charming (C). We want to find P(L, given C). This means that we know we have selected somebody who is charming, so the baseline for our probability fraction is not 89. The number of people who are charming is = 38. That is, n(C) = 38 The among these, the number who are life insurance sellers is 16. That is, n(L and C) = 16. So, P(L, given C) = n(L and C)/n(C) = 16/38 =.42

Exercise #6 A survey of Gators indicates that 7% are charming, 4% are modest, and 3% are both charming and modest. Find the probability that a Gator is modest, given that he/she is charming. A..75 B..03 C..43 D..25

Solution #6 A survey of Gators indicates that 7% are charming (C ), 4% are modest (M), and 3% are both charming and modest (M and C). Find the probability that a Gator is modest, given that he/she is charming. The data tells us that P(M and C) =.03 and P(C ) =.07, so P(M, given C) = P(M and C)/P(C ) =.03/.07 =.43

Exercise #7 A survey of Gators indicates that 7% are charming, 4% are modest, and 3% are both charming and modest. Find the probability that a Gator is charming, given that he/she is not modest. A.0417 B C D..0437

Solution #7 A survey of Gators indicates that 7% are charming, 4% are modest, and 3% are both charming and modest. Find the probability that a Gator is charming, given that he/she is not modest. We want to find P(C, given M’). P(C, given M’) = P(C and M’)/P(M’) The data tells us that 4% are modest. This means that 96% are not modest, so P(M’) =.96 The Venn diagram at right shows that another 4% are charming but not Modest, so P(C and M’) =.04. Thus, P(C, given M’) = P(C and M’)/P(M’) =.04/.96 =.0417

Exercise #8 The table below summarizes preferences of diners at the Hearty Guys Breakfast. (This is the same table that we used in in earlier question.) If one of these hearty guys is randomly selected, find the probability that he prefers waffles, given that he is a lumberjack. Pa WFtotals L C totals A. 0.18B. 0.67C. 0.30D. 0.14

Solution #8 If one of these hearty guys is randomly selected, find the probability that he prefers waffles, given that he is a lumberjack. Pa WFtotals L C totals We want to use the numbers in the table to form the probability fraction for P(W, given L). Since we are working with raw data, rather than percent data, we use this version of the conditional probability formula: P(W, given L) = n(W and L)/n(L) The table shows that there are 46 lumberjacks, so n(L) = 46. Of the 46 lumbers, 14 of them also prefer waffles, so n(W and L) = 14 Thus, P(W, given L) = n(W and L)/n(L) = 14/46 =.30 (rounded).

Exercise #9 The table below shows the distribution according to annual household income of households in the town of Boonies. incomepercent $0 - $9,999 4% $10,000 - $19,999 10% $20,000 - $29,999 13% $30,000 - $39,999 24% $40,000 - $49,999 21% $50,000 - $59,999 12% $60,000 or more 16% If one household is randomly selected, what is the probability that it has an income less than $40,000, given that its income is greater than $19,999? A B C D

Solution #9 If one household is randomly selected, what is the probability that it has an income less than $40,000, given that its income is greater than $19,999? Let E be the event that a household’s income is less than $40,000, and let F be the event that a household’s income is greater than $19,999. We want to use the numbers in the table to form the fraction for P(E, given F). income percent $0 - $9,999 4% $10,000 - $19,999 10% $20,000 - $29,999 13% $30,000 - $39,999 24% $40,000 - $49,999 21% $50,000 - $59,999 12% $60,000 or more16% P(E, given F) = P(E and F)/P(F). The table shows that 86% of the population have income greater that $19,999, so P(F) =.86 The table shows that 37% of the population have income that is greater that $19,999 and also less than $40,000, so P(E and F) =.37 So, P(E, given F) = P(E and F)/P(F) =.37/.86 =.4306 (rounded)

Solution #9, p. 2 Let E be the event that a household’s income is less than $40,000, and let F be the event that a household’s income is greater than $19,999. We want to use the numbers in the table to form the fraction for P(E, given F). income percent $20,000 - $29, $30,000 - $39, $40,000 - $49, $50,000 - $59, $60,000 or more16 N = 86 (not 100) So, the denominator for P(E, given F) will be 86, not 100.

Solution #9, p. 3 Let E be the event that a household’s income is less than $40,000, and let F be the event that a household’s income is greater than $9,999. We want to use the numbers in the table to form the fraction for P(E, given F). income percent $20,000 - $29, $30,000 - $39, $40,000 - $49, $50,000 - $59, $60,000 or more 16 N = 86 (not 100) Among the 86 households with income greater than $19,999, those in the two rows highlighted in red have income less than $40,000. The two numbers sum to 37, so P(E, given F) = 37/96 =.3854

Exercise #10 At the Annoying Persons Conference there are 22 charming telemarketers, 30 irritating telemarketers, 16 charming life insurance sellers and 21 irritating life insurance sellers. If one person is randomly selected, find the probability that he/she is a life insurance seller given that he/she is charming. A..42 B..18 C..58 D E..25

Solution #10 At the Annoying Persons Conference there are 22 charming telemarketers, 30 irritating telemarketers, 16 charming life insurance sellers and 21 irritating life insurance sellers. If one person is randomly selected, find the probability that he/she is a life insurance seller (L) given that he/she is charming (C). We want to find P(L, given C). This means that we know we have selected somebody who is charming, so the baseline for our probability fraction is not 89. The number of people who are charming is = 38. The among these, the number who are life insurance sellers is 16. So, P(L, given C) = 16/38 =.42