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
No comments:
Post a Comment