BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
HappySASUE
Quartz | Level 8

 I use a simple example to illustrate my question.   I want to check the fdr for a raw_palue, say 0.61, using the code below: 

data a;

input Test$ Raw_P @@;
datalines;
test01  0.61
;

proc multtest inpvalues=a bon fdr ;
run;

p-ValuesTest Raw Bonferroni False DiscoveryRate1
0.61000.61000.6100

But if I use another dataset: 

 

data a;
input Test$ Raw_P @@;
datalines;
test01 0.001 test02 0.001 test03 0.001
test04 0.02 test05 0.22 test06 0.59
test07 0.87 test08 0.61
;

proc multtest inpvalues=a bon fdr ;
run;

 

the output is 

p-ValuesTest Raw Bonferroni False DiscoveryRate12345678
0.00100.00800.0027
0.00100.00800.0027
0.00100.00800.0027
0.02000.16000.0400
0.22001.00000.3520
0.59001.00000.6971
0.87001.00000.8700
0.61001.00000.6971

 So the fdr for 0.61 become 0.6971?  

 

Can anyone tell me why different dataset, with the same value, give me the different fdr? 

Did I do something wrong? 

 

Best, 

 

H

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

See "p-value Adjustments" in the Details section of the MULTTEST documentation. The adjusted p-value for a particular test depends on the p-values of all of the other tests. If there is only one test, no adjustment can be done.

View solution in original post

1 REPLY 1
StatDave
SAS Super FREQ

See "p-value Adjustments" in the Details section of the MULTTEST documentation. The adjusted p-value for a particular test depends on the p-values of all of the other tests. If there is only one test, no adjustment can be done.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 548 views
  • 2 likes
  • 2 in conversation