Continuous Random Variables
- 28Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the story (narrative) that defines a geometric random variable?
It counts the number of independent trials until the first success, where each trial has the same probability p of success.
Or swipe the card
28 cards
What is the story (narrative) that defines a geometric random variable?
It counts the number of independent trials until the first success, where each trial has the same probability p of success.
What are the possible values (support) of a geometric random variable?
Positive integers: 1,2,3,… (cannot be zero because you need at least one trial to get a success).
What is the probability mass function (PMF) of a geometric random variable with success probability p?
P(X=n)=(1−p)n−1p for n=1,2,3,…
What are the expectation and variance of a geometric random variable with parameter p?
Expectation: E[X]=p1; Variance: Var(X)=p21−p.
In the dating example, what is the average number of people one must date until finding 'the one' if each date has a 0.2 probability of being the one?
E[X]=0.21=5What is the story (narrative) that defines a negative binomial random variable?
It counts the number of independent trials needed to obtain a fixed number r of successes, where each trial has success probability p.
What are the possible values (support) of a negative binomial random variable with r successes?
Integers n=r,r+1,r+2,… (at least r trials are needed to get r successes).
What is the relationship between the negative binomial and geometric distributions?
A negative binomial with r=1 is a geometric. More generally, a negative binomial is the sum of r independent geometric random variables (each with the same p).
What are the expectation and variance of a negative binomial random variable with parameters r and p?
Expectation: E[Y]=pr; Variance: Var(Y)=p2r(1−p).
In the Bitcoin mining problem, explain how to model 'number of attempts needed to mine 2 Bitcoins' as a random variable.
Let X be the number of attempts until 2 successes. Then X follows a negative binomial distribution with r=2 and p=2−G, where G is the number of leading zeros required.
Why can't a probability mass function (PMF) be used for continuous random variables?
Because continuous random variables can take on infinitely many values with infinite precision; the probability of any exact value is zero.
What is a probability density function (PDF), and what is its key property?
A PDF f(x) describes the relative likelihood of a continuous random variable. The area under the curve between two points gives the probability that the variable falls in that interval. The total area under the PDF equals 1.
Can the value of a probability density function (PDF) be greater than 1? Why?
Yes, because the PDF is not a probability; it is a density. For a narrow interval, the height can be >1 as long as the area (probability) over any interval does not exceed 1.
What is the cumulative distribution function (CDF), and how is it related to the PDF?
The CDF F(x)=P(X≤x) gives the probability that the random variable is less than or equal to x. It is the integral of the PDF from −∞ to x: F(x)=∫−∞xf(t)dt.
How do you compute P(X>a) and P(a<X<b) using the CDF?
P(X>a)=1−F(a);P(a<X<b)=F(b)−F(a)
What is the story and PDF of a uniform random variable on [α,β]?
Story: any value between α and β is equally likely. PDF: f(x)={β−α10α≤x≤βotherwise
What are the expectation and variance of a uniform random variable on [α,β]?
Expectation: E[X]=2α+β; Variance: Var(X)=12(β−α)2.
If a bus arrives uniformly between 0 and 30 minutes after 2 PM, and you arrive at 2:15, what is the probability you wait less than 5 minutes?
P(15<X<20)=30−020−15=305=61
What is the story and PDF of an exponential random variable with rate λ?
Story: models the time until the next event in a Poisson process with average rate λ events per unit time. PDF: f(x)=λe−λx,x≥0
What are the expectation and variance of an exponential random variable with rate λ?
Expectation: E[X]=λ1; Variance: Var(X)=λ21.
What is the CDF of an exponential random variable?
F(x)=P(X≤x)=1−e−λx,x≥0
If earthquakes occur at a rate of 0.002 per year, what is the probability that the next major earthquake occurs within 30 years?
P(T<30)=1−e−0.002⋅30=1−e−0.06≈0.0582
How is the exponential distribution related to the Poisson distribution?
If the number of events in a fixed time follows a Poisson distribution with rate λ, then the time between events follows an exponential distribution with the same rate λ.
In the jury selection example, what distribution did Justice Breyer incorrectly use to model the number of minority jurors?
He used a binomial distribution with n=12 and p=60/1000=0.06.
What is the hypergeometric distribution and why is it more accurate than the binomial for the jury problem?
The hypergeometric models the number of successes when sampling without replacement from a finite population. It accounts for changing probabilities after each draw.
In the dating example, how is the standard deviation of the number of dates until success calculated for a geometric distribution?
Standard deviation = p21−p=0.040.8=20≈4.47.
What is the probability that the first attempt in Bitcoin mining produces a hash starting with G zeros?
P(success on first try)=(21)G=2−G
Using a Poisson distribution, what is the probability of zero major earthquakes next year if the rate is 0.002 per year?
P(X=0)=0!e−0.002(0.002)0=e−0.002≈0.998

Ask anything
We've read this whole study set, so questions about it get the best answers.