- data dsin(drop=i x);
- infile "d:\tst.txt"; /*your file loaction*/
- input;
- g=scan(_infile_,1);
- i=2;
- do while (scan(_infile_,i)^="") ;
- x=scan(_infile_,i);
- y=input(x,best.);
- output;
- i+1;
- end;
- run;
- %macro npar(time) ;
- %do i=1 %to &time;
- proc npar1way data=dsin (where=(g="A&i" or g="B&i") )wilcoxon;
- class g;
- var y;
- run;
- %end;
- %mend npar;
- %npar(2000) ; /*your can change the number if your just need 1000 times*/


雷达卡



京公网安备 11010802022788号







