[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: seed command with rndbin
I have recently found a problem in stata v7 . I have been using the rndbin
program extensively in some simulations I am running.
I would like to be able to replicate my results and find that the seed
command does not seem to work; I keep getting different results.
e.g. a simple example should illustrate my problem. the following three
lines of stata will generate and show me an appropriate random number but
repeating the three commands then gives me a different number. I want it to
give me the same number.
set seed 2
rndbin 1 0.33 6
Can someone show me how to run the rndin command more than once and get the
same result each time.
Dr Gwen Allardice,
Common Services Agency Disclaimer
The information contained in this message may be confidential or legally privileged and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden.
* For searches and help try: