Chapter Contents |
Previous |
Next |
The MULTTEST Procedure |
This example illustrates how to use PROC MULTTEST to multiplicity-adjust a collection of raw p-values obtained from some other source. This is a valuable option for those cases where PROC MULTTEST cannot compute the raw p-values directly.
data a; input Test$ Raw_P; datalines; test1 .09108 test2 .69122 test3 .00177 test4 .57181 test5 .03121 test6 .01413 ; proc multtest pdata=a holm hoc fdr out=new; run; proc print data=new; run;
Note that there are no statements other than the PROC MULTTEST statement using the p-value input mode. In this example, the raw p-values are adjusted using the Holm, Hochberg, and Benjamini and Hocherg (FDR) methods. The OUT= data set specification is required. PROC MULTTEST produces no output other than this output data set in this case, and resampling-based adjusted p-values cannot be computed.
The OUT= data set from this analysis is listed in Output 43.5.1.
Output 43.5.1: Inputting Raw p-Values
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.