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

st: re: random number generation

From   Kit Baum <>
Subject   st: re: random number generation
Date   Wed, 6 Apr 2005 20:49:59 -0400

Thuy said
That's impossible and against the so-called "randomn". If even when you try
to repeat the same command in STATA, you get different sequence each time.

Absolutely untrue. The whole purpose of Stata's "set seed #" command is to generate the IDENTICAL sequence of random numbers on demand. The pseudo-random-number generators are deterministic functions of the seed value. If you start with the same seed, you get the same sequence of PRNs.

Kit Baum, Boston College Economics

* For searches and help try:

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