1 / 40

Conditional probability

Conditional probability. Ordinary Probability. You are dealt two cards from a deck. What is the probability the second card dealt is a Jack ?

gudrun
Télécharger la présentation

Conditional probability

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. Conditional probability

  2. Ordinary Probability You are dealt two cards from a deck. What is the probability the second card dealt is a Jack? We reason that if the two cards have been delt, the probabiity that the first is a jacek and the probabiity that the second is a jack are identical. Since there are 4 jacks in the deck, we compute P(second is jack) = 4/52 = 1/13.

  3. Conditional Probability You are dealt two cards from a deck. What is the probability of the second card was a jack given the first card was not a jack is called card dealt is a Jack?

  4. Conditional Probability You are dealt two cards from a deck. What is the probability that the second card was a jack given the first card was not a jack.

  5. Conditional Probability You are dealt two cards from a deck. What is the probability of the second card was a jack given the first card was not a jack is called card dealt is a Jack?

  6. Reasoning Once the first card has been delt, there are 51 cards remaining, and, since the first was NOT a jack, there are 4 jacks in the set of 51 cards.

  7. Conditional Probability The probability of drawing jack given the first card was not a jack is called conditional probability. A key words to look for is “given that.” We will use the notation: P(second a jack | first not a jack) = 4/51

  8. General Conditional Probability The probability that the event A occurs, given that B occurs is denoted: This is read the probability of A given B.

  9. Conditional Probability How would we draw the event A given B? A B A and B

  10. Conditional Probability How would we draw the event A given B? Since we know B has occurred, we ignore everything else. A B A and B

  11. Conditional Probability How would we draw the event A given B? Since we know B has occurred, we ignore everything else. A B A and B

  12. Conditional Probability How would we draw the event A given B? Since we know B has occurred, we ignore everything else. With some thought this tells us: B A and B

  13. Additional notes In the case of a equi-probability space, we can reason that, since we know the outcome is in B, we can use the set B as our reduced sample space. The probability P(A|B) can then be computed as the number of points in A∩B as a fraction of the number of points in B.

  14. Continuing… This gives Dividing top and bottom by the numbers of points in the original sample space S:

  15. Example from well contamination

  16. Of private wells, 21% are contaminated. Therefore P(C|Private)=0.21 Of public wells, 40% are contaminated. Therefore P(C|Public)=0.40

  17. Law of conditional probability

  18. Multiplication Rule

  19. Example A local union has 8 members, 2 of whom are women. Two are chosen by a lottery to represent the union.

  20. Example A local union has 8 members, 2 of whom are women. Two are chosen by a lottery to represent the union. a) What is the probability they are both male?

  21. Example A local union has 8 members, 2 of whom are women. Two are chosen by a lottery to represent the union. a) What is the probability they are both male?

  22. Example A local union has 8 members, 2 of whom are women. Two are chosen by a lottery to represent the union. a) What is the probability they are both male?

  23. Example A local union has 8 members, 2 of whom are women. Two are chosen by a lottery to represent the union. b) What is the probability they are both female?

  24. Example A local union has 8 members, 2 of whom are women. Two are chosen by a lottery to represent the union. b) What is the probability they are both female?

  25. Example Find the probability of selecting an all male jury from a group of 30 jurors, 21 of whom are men.

  26. Example Find the probability of selecting an all male jury from a group of 30 jurors, 21 of whom are men. Solution: P(12 M) =P(M)*P(M|M)*P(M|MM) * …. = 21/30 * 20/29 * 19/28 * 18/27 * … 10/19 = 0.00340

  27. Independent Events Two events A and B are independent if the occurrence of one does not affect the probability of the other.

  28. Independent Events Two events A and B are independent if the occurrence of one does not affect the probability of the other. Two events A and B are independent then P(A|B) = P(A).

  29. Independent Events Two events A and B are independent if the occurrence of one does not affect the probability of the other. Two events A and B are independent then P(A|B) = P(A). Two events which are not independent are dependent.

  30. Multiplication Rule Multiplication Rule: For any pair of events: P(A and B) = P(A) * P(B|A)

  31. Multiplication Rule Multiplication Rule: For any pair of events: P(A and B) = P(A) * P(B|A) For any pair of independent events: P(A and B) = P(A) * P(B)

  32. Multiplication Rule For any pair of events: P(A and B) = P(A) * P(B|A) For any pair of independent events: P(A and B) = P(A) * P(B) If P(A and B) = P(A) * P(B), then A and B are independent.

  33. Multiplication Rule Multiplication Rule: P(A and B) = P(A) * P(B) if A and B are independent. P(A and B) = P(B) * P(A|B) if A and B are dependent. Note: The multiplication rule extends to several events: P(A and B and C) =P(C)*P(B|C)*P(A|BC)

  34. Example A study of 24 mice has classified the mice by two categories Fur Colour

  35. Fur Colour A study of 24 mice has classified the mice by two categories a) What is the probability that a randomly selected mouse has white fur? b) What is the probability it has black eyes given that it has black fur? c) Find pairs of mutually exclusive and independent events.

  36. Fur Colour A study of 24 mice has classified the mice by two categories a) What is the probability that a randomly selected mouse has white fur? 12/24=0.5 b) What is the probability it has black eyes given that it has black fur? c) Find pairs of mutually exclusive and independent events.

  37. Fur Colour A study of 24 mice has classified the mice by two categories a) What is the probability that a randomly selected mouse has white fur? 12/24=0.5 b) What is the probability it has black eyes given that it has black fur? 1/4=0.25 c) Find pairs of independent events.

  38. Fur Colour b) What is the probability it has black eyes given that it has black fur? 1/4=0.25 c) Find pairs of mutually exclusive and independent events. IND: White Fur and Red Eyes; Black Fur and Red Eyes

  39. Descriptive Phrases Descriptive Phrases require special care! • At most • At least • No more than • No less than

  40. Review • Conditional Probabilities • Independent events • Multiplication Rule • Tree Diagrams

More Related