| compensateAlpha | R Documentation |
compensateAlpha compensates statistical significance level
(alpha) for multiple comparisons/tests.
compensateAlpha(alpha,
n, method = c("bonferroni",
"sidak"), r = 0)
alpha |
significance level to be compensated |
n |
comparison count |
method |
compensation |
r |
optional mean "correlation between the tests made", the extreme value of 0 leads to full compensation, the extreme value of 1 leads to no compensation (as all the tests are considered equal). See the SISA help for explanation. |
Compensated significance level. It equals alpha/n for the
'bonferroni' method, and 1-(1-alpha)^(1/n)) for the 'sidak'
method.
Tomas Sieger
SISA, http://www.quantitativeskills.com/sisa/calculations/bonhlp.htm
compensatePValue, p.adjust
compensateAlpha(.05,2,method='sidak')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.