----- Original Message -----
From: "Benoit Dulong" <[email protected]>
To: "statalist" <[email protected]>
Sent: Saturday, August 30, 2003 7:34 AM
Subject: st: set seed & rndpoi
> **********************************************************************
> set seed 261754006
> rndpoi 10 25
>
> and
>
> set seed 261754006
> rndpoi 10 25
>
> do not produce the same numbers ?
>
> Is this normal ?
>
I suspect it is due to the fact that -rndpoi- is in Stata version 3.1.
If you remove version 3.1 line after the program define statement (and save it
as rndpoi2) it produces the same results given the same seed.
Or you could use -genpoisson- which produces the same numbers given the same
seed.
Hope this helps,
Scott
*
* 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/