2.8.1 Negative Binomial Flashcards
(9 cards)
what does the negative binomial distribution measure?
The negative binomial distribution is a discrete distribution of the number of independent Bernoulli trials it takes to get a specified number of “successes’’ to occur.
Negative Binomial(r,p) where r is the desired number of successes and p is the probability
which distribution does the negative binomial generalize?
the negative binomial distribution generalizes the geometric distribution; from counting “trials” until the first “success”, we generalize to the r-th “success”. Stated differently, when r=1, the negative binomial distribution becomes a geometric distribution.
what is the relationship between the negative binomial and geometric distributions?
the negative binomial is the sum of r independent geometric distributions
What is the PMF of the negative binomial distribution (trials version)?
p(x) = c(x-1,r-1) * p^r * (1-p)^x-r
What does the argument represent in the trials version?
The trial number on which the r-th success occurs.
Why is ( \binom{x-1}{r-1} ) used in the PMF?
It counts the ways to get ( r-1 ) successes in the first ( x-1 ) trials, before the final success at trial ( x ).
What are the mean and variance of a negative binomial random variable (trials version)?
E(X) = r/p
Var(X) = r((1-p) / (p^2))
What is the alternate version of the negative binomial?
It count failures instead of trails.
p(y) = c(y+r-1,y) * p^r * (1-p)^y
What are the mean and variance for the failure-count version?
E(Y) = r(1/p - 1)
Var(Y) = r((1-p) / p^2)