Seyed Masoud Hosseini · Overview · Study log · Ideas · Transcript · RSS feed
Probability · Lecture 21 of 76 · 8:43
Flipping a Coin a Random Number of Times
Study guide
What this lecture covers
This is a worked recitation problem, not a formal lecture: it applies the ideas of joint PMFs and conditional probability from MIT 6.041 to a two-stage random experiment. A fair four-sided die is rolled to pick a number of coin tosses, and then that many fair coin tosses are performed to count heads.
You'll see how to build a joint probability mass function from a chain of conditional probabilities, read a joint PMF table both ways (fixing the die roll or fixing the coin count), and recover conditional and marginal distributions from that table. It's a good check of whether you can combine the multiplication rule with the binomial distribution.
Key ideas
- Two-stage experiment: the die roll
Npicks how many times a fair coin is tossed; the coin toss countKthen depends onN. - Law of conditional probability: the joint PMF is built as
P(N=n, K=k) = P(K=k | N=n) * P(N=n). - Conditional independence: once
Nis known, each of theNcoin tosses is conditionally independent, soKgivenN=nis binomial with parametersnand1/2. - Special case
N=0: no coin tosses happen, soKis forced to be0with probability 1. - Reading a joint table by row: fixing
N=nand dividing byP(N=n)recovers the conditional PMF ofKgivenN. - Reading a joint table by column: fixing
K=kand summing that column gives the marginalP(K=k), needed to getP(N=n | K=k).
Before you watch
- Know the definition of a joint PMF and the multiplication rule for conditional probabilities.
- Be comfortable with the binomial distribution and its formula for a given number of trials and success probability.
- This drill assumes you've already seen discrete random variables and conditioning on an earlier lecture in the course.
Check your understanding
- Why is
Kconditionally binomial givenN=n, rather than unconditionally binomial? - How would the joint PMF table change if the die had a different number of faces?
- Starting from the joint PMF table, how do you compute
P(K=2)? - Why must
kbe no greater thannin every nonzero entry of the joint PMF?
Chapters
From the YouTube description
MIT 6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013
View the complete course: http://ocw.mit.edu/6-041SCF13
Instructor: Kuang Xu
License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu
← Lecture 6: Discrete Random Variables II · Joint Probability Mass Function (PMF) Drill 1 →
