Dear Statalist,
I have a variable and I would like to test whether its distribution
can be assumed to be negative binomial.
The one way I thought to do this, is to generate a true negative
binomial distribution and to compare then the two distributions
through a chi-squared test. However, I wasn't able to find a random
number generator that gives a negative binomial distribution (the
-rnd- that I found doesn't have this option). Does anyone have any
suggestions?
Thanks a lot for this,
Radu Ban
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/