Programming the statistical procedures from SAS

Getting/outputting test statistic when running the bootstrap option in MULTTEST

Reply
New Contributor
Posts: 2

Getting/outputting test statistic when running the bootstrap option in MULTTEST

Hi everyone. I was successful in running a Fishers Exact test using the bootstrap option in MULTTEST. However, can the SAS output provide a test statistic for each test? I did not get a test statistic with the output, but I'm not sure if that is because I did not indicate in my syntax that I wanted it. If it is possible to get a test statistic when using the bootstrap option in MULTTEST please let me know what I should include in my syntax. If it is not possible, would anyone know if it would then be acceptable to just report the test statistic for the same test but not bootstrapped? I have copied my syntax below for reference. Thank you for any help!

 

proc multtest data=c4 order=data out=p pvals 

bootstrap nsample=20000 seed=41287; 

test fisher(var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 var11 var12 var13 var14 var15 var16 var17 var18 var19 var20 var21 var22 var23 var24 var25 var26 var27 var28 var29 var30 var31 var32 var33 var34 var35 var36 var37); 

class M_C; 

run;

SAS Employee
Posts: 187

Re: Getting/outputting test statistic when running the bootstrap option in MULTTEST

The Fisher exact test does not have a test statistic similar to, say, the t-test.  The p-value results from summing table probabilities. Notice the output of the Fisher exact test from PROC FREQ for example and see the description of that test in the FREQ documentation.

Ask a Question
Discussion stats
  • 1 reply
  • 98 views
  • 0 likes
  • 2 in conversation