Hi Rick,

I have a SAS proc MI as below:

proc mi data=wide_data2 out=data3 nimpute=5 seed=12345
MIN=. . . . . . . . . 0 0 0 0 0 0
MAX=. . . . . . . . . 7 7 7 7 7 7
MINMAXITER=1000;
class &STRATACAT;
FCS;
by TRT01PN;
var &STRATA WEEK_2 WEEK_4 WEEK_8 WEEK_12 WEEK_14;
RUN;

We want to specify random seed to reproduce the results for future. But we have ‘by’ statement in the program, which means the MI is separately processed by group of ‘TRT01PN’. We found the first ‘TRT01PN’ group used random seed: 12345 as specified, but the second ‘TRT01PN’ group used ‘random’ random seed. Is there a way to specify multiple random seeds for ‘by’ group so the MI results are completely reproducible? Many thanks,

Sherry