/* test macro for group data */
%include "WilcxPowerWties_GroupData.sas";
/* test macro for variables with ties */
data sorb;
px1=2.1; py1=1.7; x1=-2; y1=-2;
px2=7.0; py2=8.8; x2=-1; y2=-1;
px3=34.6; py3=40.8; x3=0; y3=0;
px4=24.3; py4=21.0; x4=1; y4=1;
px5=15.2; py5=9.2; x5=2; y5=2;
px6=7.4; py6=6.7; x6=3; y6=3;
px7=3.7; py7=5.9; x7=4; y7=4;
px8=5.8; py8=5.9; x8=5; y8=5;
run;
%WilcxPowerWties_GroupData(dsn=sorb, prefix1=x, prefix2=y, px=px, py=py, grp=8,m=300,n=300,mu=);
Output:
Power Estimation for Sample1 (300) and Sample2 (300) with mu_est=-0.119214063 1
15:08 Tuesday, March 4, 2008
theta_ var1_ var0_
star ftheta0 dftheta0 theta count thetastar thetastar power
0.46977 -.000001823 1.80576 0.46641 3 .000494033 .000473379 0.28873