Presentation on theme: "Conditional Probability"— Presentation transcript:
1 Conditional Probability P(A) represents the probability assigned to A, it is the original or unconditional probabilitySometimes there may be conditions “an event B has occurred” that affects the probability assigned to AThe conditional probability of an event, A, given that an event B has happened is denoted P(AB)P(AB) is read “the probability that A occurs given that B has occurred”
2 Conditional Probability, con’t Given that B has occurred, the relevant sample space has changed, it is no longer S but consists only of the outcomes in BA has occurred if and only if one of the outcomes in their intersection have occurredFor any events A and B with P(B)>0,
4 Conditional Probability, con’t We can solve these problems using several methods: Use the formula Venn Diagrams Frequency Tables Tree Diagrams
5 Example-using definition The probability that event A occurs is .63. The probability that event B occurs is .45. The probability that both events occur is Find by using the definition: P(AB) P(BA)
6 Example-Using Venn Diagram Suppose that A and B are events with probabilities: P(A)=1/3, P(B)=1/4, P(AB)=1/10Find each of the following using a Venn Diagram: 1. P(AB) 2. P(BA) 3. P(ACB) 4. P(BCA) 5. P(ACBC)
7 Example Consider the experiment of rolling a fair die twice All outcomes in S are equally likely
8 Example, Using Table Let E=the sum of the faces is even Let S2=the second die is a 2Find P(S2E) P(ES2)
9 Example, Using TableOne way of doing this is to construct a table of frequencies:Event AEvent AcTOTALSEvent BTotal BEvent BcTotal BcTotal ATotal AcGrand Total
10 Example, con’t Let’s try it to find P(S2E) and P(ES2) Event E Event EcTOTALSEvent S2Event S2cRemember:
12 ExampleIf a fair coin is flipped three times, what is the probability that it comes up tails at least once given:1. No information at all 2. All three coins produce the same side 3. It comes up tails at most once 4. The third flip is heads
13 Example-Tree DiagramThree manufacturing plants A, B, and C supply 20, 30 and 50%, respectively of all shock absorbers used by a certain automobile manufacturer. Records show that the percentage of defective items produced by A, B and C is 3, 2 and 1%, respectively. What is the probability that a randomly chosen shock absorber installed by the manufacturer will be defective?What is the probability that the part came from manufacturer A, given that the part was defective?What is the probability that the part came from B, given that the part was not defective?
14 Independent EventsIf two events are independent, the occurrence of one event has no effect on the probability of the other.E and F are independent events if P(EF)=P(E)P(F) Similarly, P(EF G)=P(E) P(F) P(G), etcIndependence of E and F implies that P(EF)=P(E) and P(F)= P(FE)If the events are not independent, then they are dependent.
15 Independent EventsConsider flipping a coin and recording the outcome each time. Are these events independent?Let Hn=the event that a head comes up on the nth tossWhat is the P(H1 H2)?What is the probability P(H1 H2 H3)?
16 Independent EventsYou throw two fair die, one is green and the other is red, and observe the outcomes. Let A be the event that their sum is 7 Let B be the event that the red die shows an even #Are these events independent? Explain.Are these events mutually exclusive? Explain
17 Independent Events, con’t You throw two fair die, one green and one red and observe the numbers. Decide which pairs of events, A and B, are independent: 1. A: the sum is 5 B: the red die shows a 2 2. A: the sum is 5 B: the sum is less than A: the sum is even B: the red die is evenNo, no, yes
18 Conditional Probability and Independence If E, F and G are three events, then E and F are independent, given that G has happened, if P(EFG)=P(EG) P(FG)Likewise, events E, F and G are independent, given that H has happened, given that G has happened, if P(EFGH)=P(EH) P(FH) P(GH)
19 IndependenceIn the manufacture of light bulbs, filaments, glass casings and bases are manufactured separately and then assembled into the final product. Past records show: 2% of filaments are defective, 3% of casings are defective and 1% of bases are defective.What is the probability that one bulb chosen at random will have no defects?