Question: 4. Develop a method for generating values from a negative binomial distribution with parameters p and k. Generate 3 values when p=0.8 and k=2. [Hint:
4. Develop a method for generating values from a negative binomial distribution with parameters p and k. Generate 3 values when p=0.8 and k=2. [Hint: Think about the definition of the negative binomial as the number of Bernoulli trials until the k th success.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
