2 probability
play

2. Probability Intro to Discrete Probability Anna Karlin With many - PowerPoint PPT Presentation

2. Probability Intro to Discrete Probability Anna Karlin With many slides by Alex Tsun and CS70 at berkeley Agenda Definitions Axioms Equally Likely Outcomes Beyond equally likely outcomes Conditional Probability Definitions


  1. 2. Probability Intro to Discrete Probability Anna Karlin With many slides by Alex Tsun and CS70 at berkeley

  2. Agenda ● Definitions ● Axioms ● Equally Likely Outcomes ● Beyond equally likely outcomes ● Conditional Probability

  3. Definitions

  4. Definitions

  5. Definitions

  6. Example:weird dice (Sample Space) Suppose i roll two 4-sided dice. Here is the sample space (set of possible outcomes) Die 2 (red) 1 2 3 4 1 (1, 1) (1, 2) (1, 3) (1, 4) 2 (2, 1) (2, 2) (2, 3) (2, 4) Die 1 (blue) 3 (3, 1) (3, 2) (3, 3) (3, 4) 4 (4, 1) (4, 2) (4, 3) (4, 4)

  7. Example:weird dice (Events) Let D1 be the value of the blue die, and D2 the value of the red die. What outcomes match these events? Die 2 (red) A. D1 = 1 1 2 3 4 B. D1 + D2 = 6 1 (1, 1) (1, 2) (1, 3) (1, 4) C. D1 = 2 * D2 2 (2, 1) (2, 2) (2, 3) (2, 4) Die 1 (blue) 3 (3, 1) (3, 2) (3, 3) (3, 4) 4 (4, 1) (4, 2) (4, 3) (4, 4)

  8. Example:weird dice (Events) Are A and B mutually exclusive? Are B And C mutually exclusive? Die 2 (red) A. D1 = 1 1 2 3 4 B. D1 + D2 = 6 A A A A 1 (1, 1) (1, 2) (1, 3) (1, 4) C. D1 = 2 * D2 2 (2, 1) (2, 2) (2, 3) (2, 4) B C Die 1 (blue) B 3 (3, 1) (3, 2) (3, 3) (3, 4) 4 (4, 1) (4, 2) B (4, 3) (4, 4) C

  9. Example:weird dice (mutually exclusive) Are A and B mutually exclusive? YES. A ∩ B = ∅ (no overlap) Die 2 (red) 1 2 3 4 A A A A 1 (1, 1) (1, 2) (1, 3) (1, 4) 2 (2, 1) (2, 2) (2, 3) (2, 4) B C Die 1 (blue) B 3 (3, 1) (3, 2) (3, 3) (3, 4) 4 (4, 1) (4, 2) B (4, 3) (4, 4) C

  10. Example:weird dice (mutually exclusive) Are B And C mutually exclusive? NO. B and C could happen at the Die 2 (red) same time (4, 2) 1 2 3 4 A A A A 1 (1, 1) (1, 2) (1, 3) (1, 4) 2 (2, 1) (2, 2) (2, 3) (2, 4) B C Die 1 (blue) B 3 (3, 1) (3, 2) (3, 3) (3, 4) 4 (4, 1) (4, 2) B (4, 3) (4, 4) C

  11. Random Picture

  12. Axioms of Probability & Their Consequences E F

  13. Axioms of Probability & Their Consequences E C E

  14. Axioms of Probability & Their Consequences F E

  15. Axioms of Probability & Their Consequences

  16. Example:weird dice (Events) Think back to the 4-sided dice. Suppose each die is fair. Intuitively, What is the probability that the Die 2 (red) Two dice sum to 6? (D1 + D2 = 6) 1 2 3 4 1 (1, 1) (1, 2) (1, 3) (1, 4) 2 (2, 1) (2, 2) (2, 3) (2, 4) Die 1 (blue) 3 (3, 1) (3, 2) (3, 3) (3, 4) 4 (4, 1) (4, 2) (4, 3) (4, 4)

  17. Example:weird dice (Events) Think back to the 4-sided dice. Suppose each die is fair. Intuitively, What is the probability that the Die 2 (red) Two dice sum to 6? (D1 + D2 = 6) 1 2 3 4 1 (1, 1) (1, 2) (1, 3) (1, 4) Each of the 16 outcomes is 2 (2, 1) (2, 2) (2, 3) (2, 4) B Equally likely. Die 1 (blue) B 3 (3, 1) (3, 2) (3, 3) (3, 4) 3/16. 4 (4, 1) (4, 2) B (4, 3) (4, 4)

  18. Equally Likely Outcomes

  19. Coin tossing Toss a coin 100 times. Each outcome is equally likely. What is the probability of seeing 50 heads?

  20. Non-equally Likely outcomes

  21. More examples – uniform probability spaces

  22. Nonuniform probability spaces

  23. Axioms of Probability & Their Consequences

  24. Probability Alex Tsun Joshua Fan

  25. Conditional Probability slides mostly by Alex Tsun

  26. Conditional Probability (idea) 36 7 13 14 What’s the probability that someone likes ice cream given they like donuts?

  27. Conditional Probability (idea) 36 7 13 14 What’s the probability that someone likes ice cream given they like donuts?

  28. Conditional Probability

  29. Conditional Probability (Reversal)

  30. Conditional Probability (intuition)

  31. Fun with conditional probability ● Toss a red die and a blue die. All outcomes equally likely. What is Pr(B | A)? What is Pr(B)?

  32. Fun with conditional probability ● Toss a red die and a blue die. All outcomes equally likely. What is Pr(B | A)?

  33. 33 Gambler’s fallacy ● Flip a fair coin 51 times. All outcomes equally likely. ● A = “first 50 flips are heads” B = “the 51 st flip is heads” ● ● Pr (B | A) = ?

Recommend


More recommend