syntax for calling macro and sample output
/* test macro for continuous data with ties */
%include "WilcxPowerWties_RawData.sas";
options formdlim=']';
filename vlmr '/udd/nhron/macrodevelopment/WilcxRank/data/vlmrccrp.dat';
data vlmrccrp;
infile vlmr firstobs=4;
input trt 1-2 @4 crpchg 7.4;
crpchg1=round(crpchg,0.01);
run;
%WilcxPowerWties_RawData(dsn=vlmrccrp, mainvar=crpchg1, refgrp=trt,m=100,n=100,alpha=0.05, mu=);
Output:
Power Estimation for Sample1 (100) and Sample2 (100) with mu_est=0.2935532798 1
15:25 Tuesday, March 4, 2008
theta_ var1_ var0_
star ftheta0 dftheta0 theta count thetastar thetastar power
0.57355 -3.1523E-10 1.75433 0.58222 4 .001368541 .001467690 0.48341