I'm trying to build a simulation model with sequential stages. I only want 
to set the seed for the random number generator once at the very start of 
the simulation comparing different possible strategies. Stage 1 is common 
to all strategies and involves running lots of sims to reach stage 2 . At 
this stage my strategies follow different routes. Ideally I'd like to store 
the state of the random number generator just before starting stage 2 (and 
be able to recall it at a later time). That way I can run my first strategy 
through, then reset to the same state at the start of stage 2 and run the 
next strategy through, etc. All strategies then facing the same random 
conditions (without having to rerun stage 1 or set another seed at stage 
2).. Are there such commands that store and reset the number generator to a 
particular state? Any help much appreciated.

Best,

Steve

Reply via email to