Chapter 5 Probability in Our Daily Lives Section
Chapter 5 Probability in Our Daily Lives Section 5. 1 How Probability Quantifies Randomness Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Probability—outline: I Introduction to Probability A Satisfactory outcomes vs. total outcomes B Basic Properties C Terminology II Combinatory Probability A The Addition Rule – “Or” 1. The special addition rule (mutually exclusive events) 2. The general addition rule (non-mutually exclusive events) B The Multiplication Rule – “And” 1. The special multiplication rule (for independent events) 2. The general multiplication rule (for non-independent events) C The Complement Rule – “Not”
Randomness and probability A phenomenon is random if individual outcomes are uncertain, but there is nonetheless a regular distribution of outcomes in a large number of repetitions. Examples: Tossing a coin, rolling a die, choosing a poker card The probability of any outcome of a random phenomenon can be defined as the proportion of times the outcome would occur in a very long series of repetitions – this is known as the relative frequency definition of probability.
Coin toss: Law of Large Numbers The result of any single coin toss is random. But the result over many tosses is predictable, as long as the trials are independent (i. e. , the outcome of a new coin flip is not influenced by the result of the previous flip). The probability of heads is 0. 5 = the proportion of times you get heads in many repeated trials. First series of tosses Second series
Random Phenomena For random phenomena, the outcome is uncertain. § In the short-run, the proportion of times that something happens is highly random. § In the long-run, the proportion of times that something happens becomes very predictable. As we make more observations, the proportion of times that a particular outcome occurs gets closer and closer to a certain number we would expect. Probability quantifies long-run randomness. 5 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Probability With random phenomena, the probability of a particular outcome is the proportion of times that the outcome would occur in a long run of observations. Example: When rolling a die, the outcome of “ 6” has prob = 1/6. In other words, the proportion of times that a 6 would occur in a long run of observations is 1/6. 6 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Independent Trials Different trials of a random phenomenon are independent if the outcome of any one trial is not affected by the outcome of any other trial. Example: If you have 20 flips of a coin in a row that are “heads”, you are not “due” a “tail” - the probability of a tail on your next flip is still 1/2. The trial of flipping a coin is independent of previous flips. 7 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Law of Large Numbers As the number of trials increase, the proportion of occurrences of any given outcome approaches a particular number “in the long run”. Eg: as one tosses a die, in the long run 1/6 of the observations will be a 6. We will interpret the probability of an outcome to represent long-run results. 8 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Probability models describe mathematically the outcomes of random processes and consist of two parts: 1) S = Sample Space: This is a set, or list, of all possible outcomes of the random process. An event is a subset of the sample space. 2) A probability assigned for each possible event in the sample space S – the assignment should make sense in a model meant to describe the real world. . . Example: Probability Model for a Fair Die: S = {1, 2, 3, 4, 5, 6} Probability of odd # = 0. 5 Probability of even # = 0. 5
Sample space p Find the sample space for § 1. Tossing two coins § 2. Rolling two dice This is S: {(1, 1), (1, 2), (1, 3), ……etc. } There are 36 possible outcomes in S, all equally likely (given fair dice).
Probability Notation An event is denoted by A, B, C… Eg: A=getting a heart from a full deck of cards. B=getting a head when flipping a coin. If A is an event, then P(A) stands for the probability that event A occurs. It is read “the probability of A”. Probability for Equally Likely Outcomes Suppose an experiment has N possible outcomes, all equally likely. Probability that event A occurs equals:
Use relative frequency to find Probability (sample point) Eg 1: Find the following probabilities: Pr(Red) Pr(Blue) Pr(Green) Pr(Yellow) Eg 2: Roll a dice labeled 1 to 6. Which of the following is LEAST LIKELY? a) an even number? b) an odd number? c) a number greater than 4? d) a number less than 4?
Probability rules 1) Probabilities range from 0 (no chance of the event) to 1 (the event has to happen). For any event A, 0 ≤ P(A) ≤ 1 Probability of getting a Head = 0. 5 We write this as: P(Head) = 0. 5 P(neither Head nor Tail) = 0 P(getting either a Head or a Tail) = 1 2) Because some outcome must occur on every trial, the sum of the probabilities Coin toss: S = {Head, Tail} for all possible outcomes (the sample space) must be exactly 1. P(head) + P(tail) = 0. 5 + 0. 5 =1 P(sample space) = 1 Property 1: The probability of an event that cannot occur is 0. (An event that cannot occur is called an impossible event. ) Property 2: The probability of an event that must occur is 1. (An event that must occur is called a certain event. )
A deck of playing cards Four Suits: Spade , Heart, Club, Diamond; 13 Ranks: Ace, Deuce, 3 , 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King.
Eg 1: Event A = the king of hearts is selected P(A)=1/52 Eg 2: Event B = a king is selected P(B) = 4/52=1/13
Eg 3: Event C = a heart is selected P(C) = 13/52=1/4 Eg 4: Event D = a face card is selected P(D) =12/52=3/13
Relationships Among Events Venn diagram for event E: (not E): The event that “E does not occur. ” (A & B): The event that “both A and B occur. ” (A or B): The event that “either A or B or both occur” “at least one of two occur”.
Probability rules (cont. ) Venn diagrams: A and B disjoint 3) Addition rule for disjoint events: If events A and B are disjoint, then P(A or B) = “P(A U B)” = P(A) + P(B) Note: Two events A and B are disjoint or mutually exclusive if they have no outcomes in common and can never happen together. The probability that A or B occurs is then the sum of their individual probabilities. A and B not disjoint Example: If you flip two coins, and the first flip does not affect the second flip: S = {HH, HT, TH, TT}. The probability of each of these events is 1/4, or 0. 25. The probability that you obtain “only heads or only tails” is: P(HH or TT) = P(HH) + P(TT) = 0. 25 + 0. 25 = 0. 50
Coin Toss Example: S = {Head, Tail} Probability of heads = 0. 5 Probability of tails = 0. 5 Probability rules (cont. ) 4) Multiplication rule for independent events: If events A and B are independent, then P(A and B) = P(A)*P(B) Note: Two events A and B are independent if knowing that one occurs does not change the probability that the other occurs. Two consecutive coin tosses: P(first Tail and second Tail) = P(first Tail) * P(second Tail) = 0. 5 * 0. 5 = 0. 25 Venn diagram: Event A and event B. The intersection represents the event {A and B} and outcomes common to both A and B.
Probability rules (cont. ) Coin Toss Example: S = {Head, Tail} Probability of heads = 0. 5 Probability of tails = 0. 5 5) Complement rule : the probability of an event not occurring is 1 minus the probability that is does occur. P(not A)=1 -P(A) The complement of any event A is the event that A does not occur, written as Ac. That is: P(not A) = P(Ac) = 1 − P(A) Tailc = not Tail = Head P(Tailc) = 1 − P(Tail) = 0. 5 Venn diagram: Sample space made up of an event A and its complementary Ac, i. e. , everything that is not A.
M&M candies If you draw an M&M candy at random from a bag, the candy will have one of six colors. The probability of drawing each color depends on the proportions manufactured, as described here: Color Probability Brown Red Yellow Green Orange Blue 0. 3 0. 2 0. 1 ? Q 1: What is the probability that an M&M chosen at random is blue? Q 2: What is probability that a random M&M is any of red, yellow, or brown? Q 3: What is probability that a random M&M is neither red, yellow, nor brown? Q 4: If two cadies are drawn with replacement, what is probability that the first M&M is brown, and the second M&M is yellow?
M&M candies If you draw an M&M candy at random from a bag, the candy will have one of six colors. The probability of drawing each color depends on the proportions manufactured, as described here: Color Probability Brown Red Yellow Green Orange Blue 0. 3 0. 2 0. 1 ? What is the probability that an M&M chosen at random is blue? S = {brown, red, yellow, green, orange, blue} P(S) = P(brown) + P(red) + P(yellow) + P(green) + P(orange) + P(blue) = 1 – [P(brown) + P(red) + P(yellow) + P(green) + P(orange)] = 1 – [0. 3 + 0. 2 + 0. 1] = 0. 1 What is the probability that a random M&M is any of red, yellow, or brown? P(red or yellow or orange) = P(red) + P(yellow) + P(brown) = 0. 2 + 0. 3 = 0. 7 What is the probability that a random M&M is neither red, yellow, nor brown?
Chapter 5 Probability in Our Daily Lives Section 5. 2 Finding Probabilities – A deeper look Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Pop Quiz on three True or False questions Students need to take a Pop Quiz with three True/False questions. For each question, the outcome can be Correct or Incorrect (C or I). Question: 1) How many possible outcomes would there be if the quiz had three questions? 2) What is the corresponding probability to each outcome? 24 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Sample Space on True/False 3 -question quiz For a random phenomenon, the sample space is the set of all possible outcomes. Figure 5. 3 Tree Diagram for Student Performance on a Three -Question Pop Quiz. Each path from the first set of two branches to the third set of eight branches determines an outcome in the sample space. Question: How many possible outcomes would there be if the quiz had three questions? From the tree diagram, a student’s performance has eight possible outcomes: {CCC, CCI, CIC, CII, ICC, ICI, IIC, III} 25 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Event An event is a subset of the sample space. An event corresponds to a particular outcome or a group of possible outcomes. Example: For a student taking the three-question pop quiz, some possible events are: § Event A = a student answers all 3 questions correctly § Event B = a student passes (at least 2 correct) § Q: What are Pr(A) and Pr(B)? 26 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Dice You toss two dice. What is the sample space? This is S: {(1, 1), (1, 2), (1, 3), ……etc. } There are 36 possible outcomes in S, all equally likely (given fair dice). Thus, the probability of any one of them is 1/36. Q 1: What is the event that the sum of the numbers is 5? Q 2: What is the event that the sum of the numbers is at least 5? Event A=sum is 5 ={(4&1), (3&2), (2&3), (1&4)} 27 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
SUMMARY: Probability of an Event Rule #1 The probability of an event A, denoted by P(A), is obtained by adding the probabilities of the individual outcomes in the event. When all the possible outcomes are equally likely, 28 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Review: Contingency table Example: Tax Audit Table 5. 2 Contingency Table Cross-Tabulating Tax Forms by Income Level and Whether Audited or Not. There were 138. 2 million returns filed. The frequencies in the table are reported in thousands. For example, 1260 represents 1, 260, 000 tax forms that reported income under $200, 000 and were audited. 29 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Tax Audit 1. What is the sample space for selecting a taxpayer? {(under $200, 000, Yes), (under $200, 000, No), ($200, 000 $1, 000, Yes), . . . , 6. (More than $1, 000, No)} 2. For a randomly selected taxpayer in 2002: What is the probability of an audit? § 1413/138, 242 = 0. 0102 What is the probability of an income of more than $1, 000? § 393/138, 242 = 0. 0028 30 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Basic rules for finding probabilities about a pair of events Some events are expressed as the outcomes that: § are not in some other event (complement of the event), which is P(not A). 31 § are in one event and in another event (intersection of two events), which is P(A and B). § are in one event or in another event or in both events (union of two events), which is P(A or B). Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Intersection of Two Events The intersection of A and B consists of outcomes that are in both A and B. Figure 5. 6 The Intersection and the Union of Two Events. Intersection means A occurs and B occurs, denoted “A and B. ” The intersection consists of the shaded “overlap” part in Figure 5. 6 (a). Union means A occurs or B occurs or both occur, denoted “A or B. ” It consists of all the shaded parts in Figure 5. 6 (b). Question: How could you find P(A or B) if you know P(A), P(B), and P(A and B)? 32 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Union of Two Events The union of A and B consists of outcomes that are in A or in B or in both A and B. Figure 5. 6 The Intersection and the Union of Two Events. Intersection means A occurs and B occurs, denoted “A and B. ” The intersection consists of the shaded “overlap” part in Figure 5. 6 (a). Union means A occurs or B occurs or both occur, denoted “A or B. ” It consists of all the shaded parts in Figure 5. 6 (b). Question: How could you find P(A or B) if you know P(A), P(B), and P(A and B)? 33 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Probability of the Union of Two Events Rule #3 Addition Rule: § For the union of two events, P(A or B) = P(A) + P(B) – P(A and B) § If the events are disjoint(mutually exclusive), P(A and B) = 0, so P(A or B) = P(A) + P(B) Figure 5. 7 The Probability of the Union, Outcomes in A or Both. Add P(A) to P(B) and subtract P(A and B) to adjust for outcomes counted twice. 34 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Probability of the Union of Two Events Consider a family with two children. The sample space possibilities for the genders of the two children are {FF, FM, MF, MM}. Assume the four outcomes in the sample space are equally likely. § Let A = {first child a girl} and B = {second child a girl} Q 1: find P(A), P(B), and P(A and B). Q 2: Are A and B disjoint? Q 3: Are A and B independent? Next, the event A or B is the event that the first child is a girl, or the second child is a girl, or both are girls. In other words, that at least one child is a girl. Q 4: find P(A or B). 35 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Answer to Example: Probability of the Union of Two Events Consider a family with two children. The sample space possibilities for the genders of the two children are {FF, FM, MF, MM}. Assume the four outcomes in the sample space are equally likely. § Let A = {first child a girl} and B = {second child a girl} Q 1: find P(A), P(B), and P(A and B). Q 2: Are A and B disjoint? Q 3: Are A and B independent? § P(A) = P({FF, FM}) = 0. 50, P(B) = P({FF, MF}) = 0. 50, and § P(A and B) = P({FF}) = 0. 25 →This indicates that A and B are not disjoint! The event A or B is the event that the first child is a girl, or the second child is a girl, or both are girls. In other words, that at least one child is a girl. Q 4: find P(A or B). Its probability is: P(A or B) = P(A) + P(B) - P(A and B) = 0. 50 + 0. 50 - 0. 25 = 0. 75. 36 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: The Disjointness Consider a family with two children. The sample space possibilities for the genders of the two children are: {FF, FM, MF, MM}. Assume the four outcomes in the sample space are equally likely. § Let A = {first child a girl} and C = {first child a boy} Q: Are events A and C disjoint? 37 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Answer to Example: The Disjointness Consider a family with two children. The sample space possibilities for the genders of the two children are: {FF, FM, MF, MM}. Assume the four outcomes in the sample space are equally likely. § Let A = {first child a girl} and C = {first child a boy} Q: Are events A and C disjoint? Then event A and C are disjoint, since P(A and C)=P(first child is both a girl and a boy)=0. 38 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: The Disjointness 2. For a student taking the three-question pop quiz with each question has one out of five correct answers. § Let A = {1 st ans is correct } and B = {1 st answer is incorrect} Q 1: Are events A and B disjoint? § Let D = {2 nd answer is incorrect} Q 1: Are events A and D disjoint? Q 2: Are events A and D independent? 39 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Answer to Example: The Disjointness 2. For a student taking the three-question pop quiz with each question has one out of five correct answers. § Let A = {1 st ans is correct } and B = {1 st answer is incorrect} Q 1: Are events A and B disjoint? Then event A and B are disjoint, since P(A and B)=P(1 st ans is both correct and incorrect)=0. § Let C = {2 nd answer is incorrect} Q 1: Are events A and C disjoint? Q 2: Are events A and C independent? Then event A and C are NOT disjoint, since P(A and C)=P(1 st ans is correct and 2 nd answer is correct)≠ 0. 40 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Probability of the Intersection of Two Independent Events. Rule #4. Multiplication Rule: § For the intersection of two independent events, A and B, P(A and B) = P(A) x P(B) For instance, for two rolls of a die, P(6 on roll 1 and 6 on roll 2) = P(6 on roll 1) x P(6 on roll 2) = 1/6 x 1/6 = 1/36 For instance, for the gender of two children, P(1 st is a Girl and 2 nd is a Girl)= P(1 st is a Girl) x P(2 nd is a Girl)=1/2 x 1/2=1/4 This multiplication rule extends to more than two independent events. 41 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Pop Quiz on three multiple-choice questions Students need to take a Pop Quiz with three multiplechoice questions. Each question has five options (a. , b. , c. , d. , e. ). Only one option is correct. For each question, the outcome can be Correct or Incorrect. Question: 1) How many possible outcomes would there be, if the quiz had three questions? 2) What is the corresponding probability to each outcome? 42 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Guessing yet Passing a Pop Quiz What is the probability of getting 3 questions correct by guessing? If each question has five options, then the probability of selecting the correct answer for any given question is 1/5, or 0. 20. Q: The probability that the student answers all three questions correctly is: P(C&C&C) = P(C) * P(C) = 0. 20 * 0. 20 = 0. 008 43 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Guessing yet Passing a Pop Quiz Figure 5. 8 is a tree diagram showing how to multiply probabilities to find the probabilities for all eight possible outcomes. Figure 5. 8 Tree Diagram for Guessing on a Three-Question Pop Quiz. Each path from the first set of branches to the third set determines one sample space outcome. Multiplication of the probabilities along that path gives its probability, when trials are independent. 44 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Guessing yet Passing a Pop Quiz Q: What is the probability that a student answers at least 2 questions correctly? Ans: P(CCC) + P(CCI) + P(CIC) +P(ICC) = 0. 008 + 3(0. 032) =0. 104 In summary, there is only about a 10% chance of passing, when a student randomly guesses the answers. 45 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Events Often Are Not Independent In practice, make sure that assuming independence is realistic. Don’t assume that events are independent unless you have given this assumption careful thought and it seems plausible. 46 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Events Often Are Not Independent A survey asked 100 respondents whether they favored or opposed a new gun law. The responses, categorized by gender, are given in the table below: sex New gun law M F Tota l Favor 30 30 60 oppose 20 20 40 Total 50 50 100 Q 1: Are the two event A={Male} and B={Favor the new gun law} independent? Q 2: How about event A and C={oppose the new gun law}? 47 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Disjointness and Independency The following table shows the political affiliation of voters in a city and their positions on stronger gun control laws: Party affil Stronger gun con Dem Rep Total Favor 60 10 70 oppose 0 30 30 Total 60 40 100 Let A={Dem}, B={oppose} Q 1: Are A and B disjoint? Q 2: Are A and B independent? 48 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Summary to probability rules Rule Key word Key idea/ Key conditions Prob rules Sum OR Disjoint / Mutually exclusive Pr(A or B) = Pr(A)+Pr(B); Pr(A and B) = 0. Not disjoint / mutually exclusive Pr(A or B) = Pr(A)+Pr(B) -P(A and B) multiplication AND (both) (ALL) Independent (with replacement) Pr(A and B) = Pr(A)٠ Pr(B); Pr(B|A) = Pr(B). complement at least / at most NOT Dependent (without Pr(A and B) = Pr(A)٠ Pr(B|A) replacement) Pr( not A) = 1 - Pr(A)
Chapter 5 Probability in Our Daily Lives Section 5. 3 Conditional Probability: The Probability of A Given B Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Review: Chap 3: Contingency Tables A Contingency Table: Displays two categorical variables The rows list the categories of one variable The columns list the categories of the other variable Entries in the table are frequencies 51 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Review: Chap 3: Contingency Tables: Calculate Proportions and Conditional Proportions 1. 2. 3. 4. 5. 29/26698 = 0. 00109 19485/26698 = 0. 73 29/127 = 0. 228 19485/26571 = 0. 733 19514 / 26698 = 0. 731 Questions: 1. What proportion of foods are organic with pesticides? 2. What proportion of foods are conventionally grown with pesticides? 3. What proportion of organic foods contain pesticides? 4. What proportion of conventionally grown foods contain pesticides? 5. What proportion of all sampled items contain pesticides? 52 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Conditional Probability Figure 5. 9 Venn Diagram of Conditional Probability of Event A Given Event B. Of the cases in which B occurred, P(A|B) is the proportion in which A also occurred. Question: Sketch a representation of P(B|A). Is P(A|B) necessarily equal to P(B|A)? 53 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Conditional Probability For events A and B, the conditional probability of event A, given that event B has occurred, is: is read as “the probability of event A, given event B. ” The vertical slash represents the word “given”. Of the times that B occurs, is the proportion of times that A also occurs. Table for blood type and gender Total 0. 578 0. 034 0. 422 1. Find the probability a person’s blood type is A given that they are male. P(A | Male)= 0. 177/0. 422 = 0. 419 2. Find the probability a person’s blood type is O given that they are female. P(O | Female)= 0. 267/0. 578 =0. 462 3. Find the probability a person’s blood type is AB given that they are female. 54 0. 023/0. 578 = 0. 0398 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example 1: Conditional Probability What was the probability of being audited, given that the income was $1, 000? § Event A: Taxpayer is audited § Event B: Taxpayer’s income > $1, 000 § Q: Find Pr(A|B) 55 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example 2: Conditional Probability A study of 5282 women aged 35 or over analyzed the Triple Blood Test to test its accuracy. § A positive test result states that the condition is present. § A negative test result states that the condition is not present. § False Positive: Test states the condition is present, but it is actually absent. § False Negative: Test states the condition is absent, but it is actually present. 56 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example 2: Conditional Probability Q 1: Find the probability of a positive test for a randomly chosen pregnant woman. §P(POS) = 1355/5282 = 0. 257 Q 2: Given that the diagnostic test result is positive, find the estimated probability that Down syndrome truly is present. 57 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Multiplication Rule for Finding P(A and B) Amendment to rule #4 For events A and B, the probability that A and B both occur equals: § also § 58 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Double Faults in Tennis Rafael Nadal – 2010 men’s champion in the Wimbledon tennis tournament. § § § He made 68% of his first serves He faulted on his first serve the other 32% of the time Given that he made a fault with his first serve, he made a fault on his second serve only 9% of the time Q: what is the probability that he makes a double fault when he serves? Solution: Let F 1 be the event that Nadal makes a fault with the first serve, and let F 2 be the event that he makes a fault with the second serve. The event that Nadal makes a double fault is “F 1 and F 2. ” Nadal makes a double fault in just under 3% of his service points. 59 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Independent Events Defined Using Conditional Probabilities Two events A and B are independent if the probability that one occurs is not affected by whether or not the other event occurs. Events A and B are independent if: , or equivalently, If events A and B are independent, 60 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
SUMMARY: Checking for Independence To determine whether events A and B are independent: § Is ? If any one of these is true, the other two are also true, and the events A and B are independent. 61 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Example: Down Syndrome Again The diagnostic blood test for Down syndrome: § POS = positive result NEG = negative result § D = Down Syndrome DC = Unaffected Status POS NEG Total D 0. 009 0. 001 0. 010 Dc 0. 247 0. 742 0. 990 Total 0. 257 0. 743 1. 000 § Are the events POS and D independent or dependent? § Is ? The events POS and D are dependent. 62 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
SUMMARY: Probability of an Event Rule #1 The Complement of an Event: P(Not A) Rule #2 P(Ac) = 1 – P(A). Probability of the Union of Two Events Rule #3 Addition Rule: § For the union of two events, P(A or B) = P(A) + P(B) – P(A and B) § If the events are disjoint P(A and B) = 0, so P(A or B) = P(A) + P(B) Multiplication Rule for Finding P(A and B) Amendment to rule #4 For the intersection of two independent events, A and B, P(A and B) = P(A) x P(B) 63 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Definition/Basic Properties of Probability Example 2. Draw two cards out without replacement from a well shuffled full deck of cards. Find out the chance that (1) The first draw is a King. (2) The first draw is an Ace or a Jack. (3) The first draw is a either a club, a spade, or a heart. (4) The second is a club given the first is a spade. (5) The second draw is a King given the first draw is a Ace. (6) The 1 st draw is a king and the 2 nd draw is a queen. 64 64 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Definition/Basic Properties of Probability Example 2. Draw two cards out without replacement from a well shuffled full deck of cards. Find out the chance that (7) Both draws are kings. (8) The 1 st is a Club and the 2 nd is a Spade. (9) Both draws are spades. (10) The top five cards are all spades, suppose that all cards are drawn without replacement (11) The first draw is a King or a Heart. 65 65 Copyright © 2013, 2009, and 2007, Pearson Education, Inc.
Summary to probability Rule Key idea/ Key rules word conditions Sum OR Disjoint / Mutually exclusive Prob rules Pr(A or B) = Pr(A)+Pr(B); Pr(A and B) = 0. Not disjoint / mutually Pr(A or B) = Pr(A)+Pr(B) -P(A and B) exclusive multiplication AND (both) (ALL) Independent (with replacement) Pr(A and B) = Pr(A)٠ Pr(B); Pr(B|A) = Pr(B). complement NOT at least / at most Pr( not A) = 1 - Pr(A) Conditional Probability Given that N/A Pr(B|A): Let Event A had happened, reconstruct a new sample space S*. Then inside S*, find the prob of B. Dependent Pr(A and B) = Pr(A)٠ Pr(B|A) (without replacement)
- Slides: 66