Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata vs. SAS (random number generation)

From   Joseph Coveney <>
To   Statalist <>
Subject   Re: st: Stata vs. SAS (random number generation)
Date   Thu, 07 Apr 2005 10:05:02 +0900

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 

Joseph Coveney

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index