[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Poisson random number generator
I'd suggest Bobby Gutierrez's -genpoisson-, part of his excellent -gendist-
package. Type -findit genpoisson- or -findit gendist- for details and to
download. This uses plug-ins so is a lot faster than Hilbe & Linde-Zwirble's
-rndpoi- and -rndpoix- from STB-28, though it only starts to matter if you're
doing extensive simulations. Plug-ins require Stata version 8.1 or higher.
Interestingly, -findit random poisson generate- or -findit random poisson
generator- fails to bring up gendist, perhaps because the package description
contains "generation" and "generating" but not "generate"? But -findit random
poisson generat- works. The lesson seems to be to omit word-endings that
might change when using -findit- (or -search-, presumably).
--On 07 April 2005 17:18 +0200 Andrea Vezzulli
i would like to know if STATA v8 can generate pseudo-random numbers from a
Poisson distribution having a user-defined parameter lambda (the mean of
* For searches and help try: