Tags:
create new tag
, view all tags, tagging instructions
-- YinglinXia - 06 Aug 2009

  • FDR.sas: False Discovery Rate Program

MacroHeaderForm edit

Macro Name

FDR

Description The false discovery rate (FDR) enjoys a straightforward interpretation when used to control for false significant findings in multiple comparisons problems. Suppose that n tests out of m are declared significant at an FDR of .05, then on average 5% of these declarations can be expected to be false positives. This is in contrast to the classic type I error rate, which controls the chance of at least one false positive under the null hypothesis. This FDR macro carries out the computation to estimates the false discovery rate within the context of multiple comparisons.
Macro Parameters dsn = name of SAS data set
group = name of subset of p-values to be used for FDR
inputs = names of variables of p-values
pvalues = name of p-values for each variables
alpha = significant level to be used to calculate FDR
ResultsFormat = html format of the results file (the format can be updated based on user' choice)

Usage: Specify the data set, group, inputs, pvalues, alpha.
If FDR is applied to the entire data, then specify group=.

Programmer Dr. Yinglin Xia and Dr. Rui Chen
Revision July 10, 2009
Disclaimer This SAS macro is developed by Dr. Yinglin Xia and Dr. Rui Chen, along with other members in the Department of Biostatistics and Computational Biology at the University of Rochester under the auspice of the CTSI BERD with the intent to facilitate data analyses and reporting in clinical and related research. It is copyrighted by Dr. Yinglin Xia and Dr. Rui Chen, July, 2009 and distributed for free public access.
Example(s) ExampleRun.sas: An example to execute the FDR macro.
FdrOutput.htm: The output file produced by the example program.
Special Features

Called Macros

Notes

See Also

Topic attachments
I Attachment Action Size Date Who Comment
elsesas ExampleRun.sas manage 1.0 K 06 Aug 2009 - 10:24 Main.YinglinXia Sample for runing the FDR macro
elsesas FDR.sas manage 2.4 K 06 Aug 2009 - 10:22 Main.YinglinXia False Discovery Rate Program
htmlhtm FdrOutput.htm manage 30.5 K 06 Aug 2009 - 10:26 Main.YinglinXia Sample Output
txttxt data.txt manage 0.6 K 06 Aug 2009 - 10:27 Main.YinglinXia Sample data
Topic revision: r1 - 06 Aug 2009 - 10:27:20 - Main.YinglinXia
 

Copyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CTSPedia? Send feedback