Scott Merryman replied to Benoit Dulong
> > 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.
A similar issue was also raised by Gwen Allardice on 12 August.
For amplification of Scott's reply, see replies to Gwen
in the archives.
Nick
[email protected]
*
* 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/