Joao Pedro Wagner de Azevedo Wrote (excerpted):
I would like to know if it is possible, and if so how, to have Stata and SAS
generating the same sequence of random numbers.
--------------------------------------------------------------------------------
Given a seed, if you know the package's algorithm, shouldn't it be possible to
reproduce its sequence of pseudorandom numbers?
Stata reveals its algorithm in its manuals. SAS probably does the same in
sufficient detail somewhere in its documentation to be able to reproduce its
sequences.
Joseph Coveney
*
* 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/