Description Usage Arguments Value Examples
Calculate the Bonferroni threshold for n iid tests that results in an overall p-value of p.val. The tests can be distributed as Normal, t or F.
1 | Threshold.Bonferroni(p.val, n, type = c("Normal", "t", "F"), df1 = NULL, df2 = NULL)
|
p.val |
The required overall p-value. |
n |
The number of tests. |
type |
The distribution of the tests. One of "Normal", "t" or "F" |
df1 |
The degrees of freedom of the t-distribution or the first degrees of freedom parameter for the F distribution. |
df2 |
The second degrees of freedom parameter for the F distribution. |
Returns the Bonferroni threshold.
1 2 3 4 5 | Threshold.Bonferroni(0.05, 1000)
Threshold.Bonferroni(0.05, 1000, type = c("t"), df1 = 20)
Threshold.Bonferroni(0.05, 1000, type = c("F"), df1 = 3, df2 = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.