For reproducibility of results, however, it is best to actually set the initial seed by using
. Then if the program is rerun at a later time or by a different researcher, the same results will be obtained.
Code:
set seed
Code:
set seed 10101 scalar u = runiform() display u
0 Response to Inquire about uniform random-number generation
Post a Comment