P-value correction: Difference between revisions
Content deleted Content added
m added link to Benjamini Hochberg to task description |
m added link to Benjamini Yekutieli to task description |
||
Line 16: | Line 16: | ||
2.177831e-04, 9.693054e-04, 6.610250e-05, 2.900813e-02, 5.735490e-03} |
2.177831e-04, 9.693054e-04, 6.610250e-05, 2.900813e-02, 5.735490e-03} |
||
There are numerous implementations of how to do this, namely [http://www.math.tau.ac.il/~ybenja/MyPapers/benjamini_hochberg1995.pdf Benjamini-Hochberg], Holm, Hochberg, Hommel, Bonferroni. Each of which has its own advantages and disadvantages. This work is a translation of the R source code. In order to confirm that the new function is working correctly, each value is compared to R's output and a cumulative absolute error is returned. |
There are numerous implementations of how to do this, namely [http://www.math.tau.ac.il/~ybenja/MyPapers/benjamini_hochberg1995.pdf Benjamini-Hochberg], [http://www.math.tau.ac.il/~ybenja/MyPapers/benjamini_yekutieli_ANNSTAT2001.pdf Benjamini-Yekutieli], Holm, Hochberg, Hommel, Bonferroni. Each of which has its own advantages and disadvantages. This work is a translation of the R source code. In order to confirm that the new function is working correctly, each value is compared to R's output and a cumulative absolute error is returned. |
||
The C function `p_adjust` is designed to work as similarly to the R function as possible, and is able to do any one of the methods. |
The C function `p_adjust` is designed to work as similarly to the R function as possible, and is able to do any one of the methods. |
||