MATH 2421: Lecture 5
Date: 2024-09-16 12:03:51
Reviewed:
Topic / Chapter:
summary
❓Questions
Notes
Conditional Probability (cont.)
-
Theorems
- multiplication rule
- if , then
- general multiplication rule
- for events
- 👨🎓 more like, nested use of multiplication rule
- explanation
- and cancel, cancel
- or, as mentioned above, nested use
- multiplication rule
-
Examples
- bin: with 25 light bulbs
- A: 5: good & functional for more than 30 days
- B: 10: partially defective; fail in the second day of use
- C: rest: totally defective
- if: a random bulb initially lights up ()
- what is the probability of it working after 1 week? ()
- Celine: chance of getting A in French, and chance for chemistry
- is her decision: based on fair coin
- what is the chance that she gets an A in chemistry?
- Celine getting A
- Celine taking chemistry
- suppose: an urn w/ 8 red balls & 4 white balls
- we draw 2 balls, one at a time, without replacement
- assuming fair chance, what is the probability that both balls drawn are red?
- w/ conditional probability
- first ball drawn: red
- second ball drawn: red
- w/ combinatorial analysis
- i.e. counting no. out interested outcomes / all possible outcomes
- no. of choosing 2 red balls / no. of choosing arbitrary balls
- three cards: selected successively at random, without replacement
- 52 playing cards
- calculate probability of receiving in order: K,Q, and J
- conditional probability
- combinatorial analysis
- no. of outcome w/ K-Q-J / no. of total outcomes
- box of fuses w/ 20 fuses
- 5 are defective
- 3 fuses: selected randomly and removed from all
- what's the probability that all 3 are defective?
- conditional probability
- combinatorial analysis
- If six cards are selected at random (without replacement) from a standard deck of 52 cards, what is the probability there will be no pairs?
- conditional probability
- each turn:
- combinatorial analysis
- conditional probability
- bin: with 25 light bulbs
Total Probability
-
Introduction
- how can we compute probability under different conditions / cases?
- e.g. probability of getting 3 on a fair die
- case 1: 4-faced fie is chosen:
- case 2: 6-faced fie is chosen:
- assuming both cases happen with equal chance
-
Theorem
- let be any two event, then
- 👨🏫 or: prob. of occurs = weighted average of the conditional probabilities of
- conditioning on either occurs or does not occur
- proof: w/ Venn diagram
- ,
- partitions the sample space if:
- they are mutually exclusive:
- they are exhaustive:
- law of total probability
- if partitions the sample space and
- let B any event, then
-
- proof:
- because
- because
- proof:
- let be any two event, then
-
Examples
- MCQ exam
- a student: either knows the answer at probability , or guesses at probability
- there are alternatives
- what is the probability that he answered it correctly?
- : student knows;
- : student guesses:
- : student answers correctly
- what is the probability that the student knew the answer, given that he answered it correctly?
- 👨🏫 aka: Bayes formula
- Insurance company: categorizes people into 2 groups: accident-prone and others
- accident-prone person: will have accident in a fixed 1 yr time with probability of 0.4
- 0.2 for others
- if 30% of population is accident prone, what's the change that new policyholder will have an accident within an year?
- : person being accident prone
- : person having accident in 1 year
- accident-prone person: will have accident in a fixed 1 yr time with probability of 0.4
- party support
- 40% of people support party , 30% , 20% , 10%
- : certain policy
- 50% of supporter supports it
- 40% of supporter supports it
- 30% of supporter supports it
- 100% of supporter supports it
- what is the probability that a random citizen supports the policy?
- MCQ exam
Bayes' Theorem
-
Introduction
- if partitions the sample space
- and
- then, for any
- proof:
- and expand the denominator
- if partitions the sample space