1617 %include "C:\Documents and Settings\pkraft\My Documents\webpage\softetc\wandel.sas"; 1746 1747 /* Input data set contains variables zsnp1-zsnp10 that are counts of SNP minor alleles */ 1748 proc freq data=UseMe; 1749 tables d*(zsnp1 zsnp2); /* d is case-control indicator */ 1750 run; NOTE: There were 1680 observations read from the data set WORK.USEME. NOTE: PROCEDURE FREQ used (Total process time): real time 0.34 seconds cpu time 0.01 seconds 1751 1752 %wandel(in=UseMe,vars=zsnp1 zsnp2 zsnp3 zsnp4 zsnp5 zsnp6 zsnp7 zsnp8 zsnp9 1752 ! zsnp10,nrep=1000,k=3,caco=d); ****************************************************************** wandel macro Calculates rank truncated product test for multiple marginal tests Created and maintained by Peter Kraft (pkraft@hsph.harvard.edu) Last modified 28 February 2006 ******************************************************************