Some computing packages allow you to draw both Poisson and Gamma pseudorandom numbers directly. It is also

Question:

Some computing packages allow you to draw both Poisson and Gamma pseudorandom numbers directly. It is also known that the negative binomial distribution can be derived as a mixture of Poisson and gamma random variables (see{Section 20.4).

(a) Write down a procedure for drawing negative binomial-distributed variables using the method of mixtures.

(b) Apply your method by drawing a sample of 10,000 on a Poisson-distributed variable with mean 0.25 .

(c) Draw a corresponding sample from a Gamma distribution with mean 1 and variance α, with α set to produce negative binomial random variables with variance 0.3125 .

image text in transcribed

Step by Step Answer:

Related Book For  book-img-for-question

Microeconometrics Methods And Applications

ISBN: 9780521848053

1st Edition

Authors: A.Colin Cameron, Pravin K. Trivedi

Question Posted: