Hi ballardw, thank you! I was trying to avoid using the replicate options because I would have to change some of my other logic, but this worked out great......I used the reps=200.....and then in a do...loop over 200 replications create the 200 datasets I needed to output..... data TestA; set Factor1; proc surveyselect data=TestA out=subsetA method=srs reps=200 seed=1257 sampsize=25 noprint; PROC MEANS N MEAN STD SKEWNESS KURTOSIS; VAR T A;/*PROC CORR; VAR T A;*/ run; %do s=1 %to 200; /*START 200 SIMULATIONS*/ data simA&s; set subsetA; where Replicate=&s; run; end;
... View more