1 / 31

Dependent Events

Explore how the general rule for "AND" events, dependence, and conditions impact probabilities in various scenarios.

gpeel
Download Presentation

Dependent Events

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Dependent Events Conditional Probability General rule for “AND” events

  2. Conditional Probability Roll a die • What is the probability of a 6? • What is the probability of a 6 if I know, before looking at the result, that an even number showed up?

  3. Dependence • A says something about B • P(B|A) = conditional probability of B given A P(2nd card is K | 1st card is K ) = 3/51 = 1/17 P(2nd card is K | 1st card is Q ) = 4/51 • If A and B are independent, P(B|A) = P(B)

  4. Conditions Change the Sample Space • Probability of Event B given Event A TexPoint Display

  5. B given A B A ∩ B A

  6. A given B A A ∩ B B

  7. Choose a number between 1 and 10 • A={your number is even} • B={your number is ≤ 5} • P(A) = • P(B) = • P(A and B) = • P(A|B) = 5/10 = 1/2 5/10 = 1/2 2/10 = 0.2 P( A and B) = (0.2)/(0.5) = 0.4 P(A) = 2/5

  8. Cast a die S = {1,2,3,4,5,6} A={6}, B={2,4,6}, C={1,3,5}, D={1,3} =1/3 P(A|B) = 0 P(A|C) P(D|C) = 2/3

  9. General events In a sample space S have: P(A) = 1/3 , P(B)= ¼ , P(A and B) =1/6

  10. Seenext slide

  11. P(B) = P(Ac and B) + P( A and B) Sincethey are mutuallyexclusive S A B AC and B A Then P(Ac and B) = P(B) – P(A and B)

  12. Two children • S = { (B,B); (B,G); (G,B); (G,G)} • Assuming babies’ sexes are equally probable and independent. • P( 2nd is Girl) = ½ • P( 2nd is Girl | 1st is a Girl) = ½ • P(2nd is Girl | one is a Girl)=?? • P(one is a Girl)= • P(2nd is Girl andone is a Girl)= 2/3 3/4 1/2

  13. 200 people are interviewed on their breakfast preference Joint distribution P(Male) = 93/200 = 0.465 = 46.5% P(Male AND Cereal) = 47/200 = 0.235 = 23.5%

  14. Joint and Marginaldistributions P(Cereal) = 45% Shorternotation for AND P(Female, Cereal) = 21.5%

  15. Conditional Probabilities P(BB|Female) = P(Female, BB) / P(Female)

  16. Conditioning on the choice

  17. General AND Rule

  18. General AND Rule • New Multiplication Rule • Also • P(Drawing 2 K’s) = (4/52)(3/51) = 0.0045

  19. Drawingcards Draw two cards (in sequence) from a deck of 52. 1. Determine the probability that the first card is hearts (A1) and the second is a flower (A2) We look for P(A1 and A2) P(A1) = 13/52, P(A2 |A1) = 13/51, P(A1and A2) = P(A2 |A1) P(A1) = 132/(52∙51)

  20. Determine the probability that the second is a flower (A2) Seenext slide

  21. A1 A2

  22. Sampling without Replacement • Jar has 6 black olives and 6 green olives. • You pull out 3 • P(1st is black) = 6/12 = 0.5 • P(2nd is black | 1st is black) = 5/11 = 0.45 • P(3rd is black | 1st two were black) = 4/10=0.4 • P(1st two are black) = 0.5(.45) = .227

  23. Independence • A and B are independent • P(A | B) = P(A) • P(A | Bc) = P(A) • P(B | A) = P(B) • P(B | Ac) = P(B) • P(A and B) = P(A) P(B |A) = P(A) P(B)

  24. P(A |B) ≠ P(B|A) • Think: P(A |B) = probability of A (with information about B) • P(2nd is Girl | one is a Girl)= 2/3 • P(one is a Girl | 2nd is a Girl) = 1

  25. Example A student has to sit an exam. The night before the exam: if he studies passes with probability 99% if he goes to a dance party his chance of promotion is reduced to 50% . He decides to go to the party if heads tossing a fair coin . The day after he passes the exam. What is the probability that he went to dance ?

  26. Consider the events: E = pass the exam, A = go to party Whatweknow: P( E | AC)= 0.99, P( E | A) = 0.50, P(A) = P(AC)= 0.5 Look for

  27. Note that P(E) = P(E and A) + P(E and AC) = P(E|A)∙P(A) + P(E| AC)∙P(AC) From which

  28. Drug Test • 1% of students use cocaine. • Drug test is 99% accurate. • Pat tests positive for cocaine. • What is the probability that Pat uses cocaine? ≠ P( Test + | Pat uses) = .99 P( Pat uses | Test + ) = ???

  29. An event and itscomplement Available information • P(Pat uses) = 0.01 • P( Pat doesn’t use ) = 0.99 • P(Test + | Pat doesn’t use ) = 0.01 • P(Test + | Pat does use) = 0.99 Looking for • P( Pat does use | Test +) P(Test + AND Pat doesn’t use) = P(Test +)

  30. P(Test + AND Pat doesn’t use) =P( Pat doesn’t use ) P(Test + | Pat doesn’t use) = 0.99(0.01) = 0.0099 • P(Test + AND Pat does use) = =P( Pat does use ) P(Test + | Pat does use) =(0.01)(0.99) = 0.0099 Finally • P( Pat does use | Test +) = 0.0099/0.0198 = 0.5 P(Test + )= P(Test + AND Pat does use) + P(Test + AND Pat doesn’t use) = 0.0099 + 0.0099 = 0.0198

  31. Patuses Patdoesn’t use Test + S

More Related