Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2012 Pearson Education. Chapter 7 Randomness and Probability.

Similar presentations


Presentation on theme: "Copyright © 2012 Pearson Education. Chapter 7 Randomness and Probability."— Presentation transcript:

1 Copyright © 2012 Pearson Education. Chapter 7 Randomness and Probability

2 Copyright © 2012 Pearson Education. 7-2 7.1 Random Phenomena and Probability With random phenomena, we can’t predict the individual outcomes, but we can hope to understand characteristics of their long-run behavior. For any random phenomenon, each attempt, or trial, generates an outcome. We use the more general term event to refer to outcomes or combinations of outcomes.

3 Copyright © 2012 Pearson Education. 7-3 7.1 Random Phenomena and Probability Sample space is a special event that is the collection of all possible outcomes. We denote the sample space S or sometimes Ω. The probability of an event is its long-run relative frequency. Independence means that the outcome of one trial doesn’t influence or change the outcome of another.

4 Copyright © 2012 Pearson Education. 7-4 7.1 Random Phenomena and Probability The Law of Large Numbers (LLN) states that if the events are independent, then as the number of trials increases, the long- run relative frequency of an event gets closer and closer to a single value. Empirical probability is based on repeatedly observing the event’s outcome.

5 Copyright © 2012 Pearson Education. 7-5 7.2 The Nonexistent Law of Averages Many people confuse the Law of Large numbers with the so- called Law of Averages that would say that things have to even out in the short run. The Law of Averages doesn’t exist.

6 Copyright © 2012 Pearson Education. 7-6 7.3 Different Types of Probability Model-Based (Theoretical) Probability The (theoretical) probability of event A can be computed with the following equation:

7 Copyright © 2012 Pearson Education. 7-7 7.3 Different Types of Probability Personal Probability A subjective, or personal probability expresses your uncertainty about the outcome. Although personal probabilities may be based on experience, they are not based either on long-run relative frequencies or on equally likely events.

8 Copyright © 2012 Pearson Education. 7-8 7.4 Probability Rules Rule 1 If the probability of an event occurring is 0, the event can’t occur. If the probability is 1, the event always occurs. For any event A,.

9 Copyright © 2012 Pearson Education. 7-9 7.4 Probability Rules Rule 2: The Probability Assignment Rule where S represents the set of all possible outcomes and is called the sample space. The probability of the set of all possible outcomes must be 1.

10 Copyright © 2012 Pearson Education. 7-10 7.4 Probability Rules Rule 3: The Complement Rule where the set of outcomes that are not in event A is called the “complement” of A, and is denoted A C. The probability of an event occurring is 1 minus the probability that it doesn’t occur.

11 Copyright © 2012 Pearson Education. 7-11 7.4 Probability Rules For Example: Lee’s Lights sell lighting fixtures. Lee records the behavior of 1000 customers entering the store during one week. Of those, 300 make purchases. What is the probability that a customer doesn’t make a purchase? If P(Purchase) = 0.30 then P(no purchase) = 1 – 0.30 = 0.70

12 Copyright © 2012 Pearson Education. 7-12 7.4 Probability Rules Rule 4: The Multiplication Rule provided that A and B are independent. For two independent events A and B, the probability that both A and B occur is the product of the probabilities of the two events.

13 Copyright © 2012 Pearson Education. 7-13 7.4 Probability Rules For Example: Whether or not a caller qualifies for a platinum credit card is a random outcome. Suppose the probability of qualifying is 0.35. What is the chance that the next two callers qualify? Since the two different callers are independent, then P(customer 1 qualifies and customer 2 qualifies) = P(customer 1 qualifies) x P(customer 2 qualifies) = 0.35 x 0.35 = 0.1225

14 Copyright © 2012 Pearson Education. 7-14 7.4 Probability Rules Rule 5: The Addition Rule Two events are disjoint (or mutually exclusive) if they have no outcomes in common. The Addition Rule allows us to add the probabilities of disjoint events to get the probability that either event occurs. where A and B are disjoint.

15 Copyright © 2012 Pearson Education. 7-15 7.4 Probability Rules For Example: Some customers prefer to see the merchandise but then make their purchase online. Lee determines that there’s an 8% chance of a customer making a purchase in this way. We know that about 30% of customers make purchases when they enter the store. What is the probability that a customer who enters the store makes no purchase at all? P(purchase in the store or online) = P (purchase in store) + P(purchase online) = 0.30 + 0.09 = 0.39 P(no purchase) = 1 – 0.39 = 0.61

16 Copyright © 2012 Pearson Education. 7-16 7.4 Probability Rules Rule 6: The General Addition Rule The General Addition Rule calculates the probability that either of two events occurs. It does not require that the events be disjoint.

17 Copyright © 2012 Pearson Education. 7-17 7.4 Probability Rules For Example: Lee notices that when two customers enter the store together, their behavior isn’t independent. In fact, there’s a 20% they’ll both make a purchase. When two customers enter the store together, what is the probability that at least one of them will make a purchase? P(Both purchase) = P(A purchases or B purchases) = P(A purchases) + P(B purchases) – P(A and B both purchase) = 0.30 + 0.30 – 0.20 = 0.40

18 Copyright © 2012 Pearson Education. 7-18 7.4 Probability Rules Example: Car Inspections You and a friend get your cars inspected. The event of your car’s passing inspection is independent of your friend’s car. If 75% of cars pass inspection what is the probability that Your car passes inspection? Your car doesn’t pass inspection? Both cars pass inspection? At least one of two cars passes? Neither car passes inspection?

19 Copyright © 2012 Pearson Education. 7-19 7.4 Probability Rules Example (continued): Car Inspections You and a friend get your cars inspected. The event of your car’s passing inspection is independent of your friend’s car. If 75% of cars pass inspection what is the probability that Your car passes inspection? P(Pass) = 0.75 Your car doesn’t pass inspection? P(Pass C ) = 1-0.75 = 0.25 Both cars pass inspection? P(Pass)P(Pass) = (0.75)(0.75) = 0.5625

20 Copyright © 2012 Pearson Education. 7-20 7.4 Probability Rules Example (continued): Car Inspections You and a friend get your cars inspected. The event of your car’s passing inspection is independent of your friend’s car. If 75% of cars pass inspection what is the probability that At least one of two cars passes? 1 – (0.25) 2 = 0.9375 OR 0.75 + 0.75 – 0.5625 = 0.9375 Neither car passes inspection? 1 – 0.9375 = 0.0625

21 Copyright © 2012 Pearson Education. 7-21 7.5 Joint Probability and Contingency Tables Events may be placed in a contingency table such as the one in the example below. As part of a Pick Your Prize Promotion, a store invited customers to choose which of three prizes they’d like to win. The responses could be placed in the following contingency table:

22 Copyright © 2012 Pearson Education. 7-22 7.5 Joint Probability and Contingency Tables Marginal probability depends only on totals found in the margins of the table.

23 Copyright © 2012 Pearson Education. 7-23 7.5 Joint Probability and Contingency Tables P (woman) = 251/478 = 0.525. In the table below, the probability that a respondent chosen at random is a woman is a marginal probability.

24 Copyright © 2012 Pearson Education. 7-24 7.5 Joint Probability and Contingency Tables Joint probabilities give the probability of two events occurring together. P (woman and camera) = 91/478 = 0.190.

25 Copyright © 2012 Pearson Education. 7-25 7.5 Joint Probability and Contingency Tables Each row or column shows a conditional distribution given one event. In the table above, the probability that a selected customer wants a bike given that we have selected a woman is: P (bike|woman) = 30/251 = 0.120.

26 Copyright © 2012 Pearson Education. 7-26 7.6 Conditional Probability In general, when we want the probability of an event from a conditional distribution, we write P ( B | A ) and pronounce it “the probability of B given A.” A probability that takes into account a given condition is called a conditional probability.

27 Copyright © 2012 Pearson Education. 7-27 Rule 7: The General Multiplication Rule The General Multiplication Rule calculates the probability that both of two events occurs. It does not require that the events be independent. 7.6 Conditional Probability

28 Copyright © 2012 Pearson Education. 7-28 What is the probability that a randomly selected customer wants a bike if the customer selected is a woman? 7.6 Conditional Probability

29 Copyright © 2012 Pearson Education. 7-29 Are Prize preference and Sex independent? If so, P(bike|woman) will be the same as P(bike). Are they equal? P(bike|woman)= 30/251 = 0.12 P(bike) = 90/478 = 0.265 0.12 ≠ 0.265 Since the two probabilites are not equal, Prize preference and Sex and not independent. 7.6 Conditional Probability

30 Copyright © 2012 Pearson Education. 7-30 Events A and B are independent whenever P ( B | A ) = P ( B ). Independent vs. Disjoint 7.6 Conditional Probability For all practical purposes, disjoint events cannot be independent. Don’t make the mistake of treating disjoint events as if they were independent and applying the Multiplication Rule for independent events.

31 Copyright © 2012 Pearson Education. 7-31 If you’re given probabilities without a contingency table, you can often construct a simple table to correspond to the probabilities and use this table to find other probabilities. 7.7 Constructing Contingency Tables

32 Copyright © 2012 Pearson Education. 7-32 A survey classified homes into two price categories (Low and High). It also noted whether the houses had at least 2 bathrooms or not (True or False). 56% of the houses had at least 2 bathrooms, 62% of the houses were Low priced, and 22% of the houses were both. Translating the percentages to probabilities, we have: 7.7 Constructing Contingency Tables

33 Copyright © 2012 Pearson Education. 7-33 The 0.56 and 0.62 are marginal probabilities, so they go in the margins. The 22% of houses that were both Low priced and had at least 2 bathrooms is a joint probability, so it belongs in the interior of the table. 7.7 Constructing Contingency Tables

34 Copyright © 2012 Pearson Education. 7-34 Because the cells of the table show disjoint events, the probabilities always add to the marginal totals going across rows or down columns. 7.7 Constructing Contingency Tables

35 Copyright © 2012 Pearson Education. 7-35 7.7 Constructing Contingency Tables Example: Online Banking A national survey indicated that 30% of adults conduct their banking online. It also found that 40% are under the age of 50, and that 25% are under the age of 50 and conduct their banking online. What percentage of adults do not conduct their banking online? What type of probability is the 25% mentioned above? Construct a contingency table showing joint and marginal probabilities. What is the probability that an individual who is under the age of 50 conducts banking online? Are Banking online and Age independent?

36 Copyright © 2012 Pearson Education. 7-36 7.7 Constructing Contingency Tables Example (continued): Online Banking A national survey indicated that 30% of adults conduct their banking online. It also found that 40% are under the age of 50, and that 25% are under the age of 50 and conduct their banking online. What percentage of adults do not conduct their banking online? 100% – 30% = 70% What type of probability is the 25% mentioned above? Marginal

37 Copyright © 2012 Pearson Education. 7-37 7.7 Constructing Contingency Tables Example (continued): Online Banking A national survey indicated that 30% of adults conduct their banking online. It also found that 40% are under the age of 50, and that 25% are under the age of 50 and conduct their banking online. Construct a contingency table showing joint and marginal probabilities.

38 Copyright © 2012 Pearson Education. 7-38 7.7 Constructing Contingency Tables Example (continued): Online Banking A national survey indicated that 30% of adults conduct their banking online. It also found that 40% are under the age of 50, and that 25% are under the age of 50 and conduct their banking online. What is the probability that an individual who is under the age of 50 conducts banking online? 0.25/0.40 = 0.625 Are Banking online and Age independent? No. P(banking online|under 50) = 0.625, which is not equal to P(banking online) = 0.30.

39 Copyright © 2012 Pearson Education. 7-39 Beware of probabilities that don’t add up to 1. Don’t add probabilities of events if they’re not disjoint. Don’t multiply probabilities of events if they’re not independent. Don’t confuse disjoint and independent.

40 Copyright © 2012 Pearson Education. 7-40 Apply the facts about probability to determine whether an assignment of probabilities is legitimate. Probability is long-run relative frequency. Individual probabilities must be between 0 and 1. The sum of probabilities assigned to all outcomes must be 1. Understand the Law of Large Numbers and that the common understanding of the “Law of Averages” is false. What Have We Learned?

41 Copyright © 2012 Pearson Education. 7-41 Know the rules of probability and how to apply them. The Complement Rule says that. The Multiplication Rule for independent events says that provided events A and B are independent. The General Multiplication Rule says that The Addition Rule for disjoint events says that provided events A and B are disjoint. The General Addition Rule says that. What Have We Learned?

42 Copyright © 2012 Pearson Education. 7-42 Know how to construct and read a contingency table. Know how to define and use independence. Events A and B are independent if What Have We Learned?


Download ppt "Copyright © 2012 Pearson Education. Chapter 7 Randomness and Probability."

Similar presentations


Ads by Google