power.f | R Documentation |
Calculates power for the generic F-Test with (optional) Type 1 and Type 2 error plots.
power.f.test(ncp, null.ncp = 0, df1, df2, alpha = 0.05,
plot = TRUE, verbose = TRUE, pretty = FALSE)
ncp |
non-centrality parameter for the alternative. |
null.ncp |
non-centrality parameter for the null. |
alpha |
type 1 error rate, defined as the probability of incorrectly rejecting a true null hypothesis, denoted as |
df1 |
integer; numerator degrees of freedom. |
df2 |
integer; denominator degrees of freedom. |
plot |
logical; |
verbose |
logical; whether the output should be printed on the console. |
pretty |
logical; whether the output should show Unicode characters (if encoding allows for it). |
df1 |
numerator degrees of freedom. |
df2 |
denominator degrees of freedom. |
ncp |
non-centrality parameter under alternative. |
ncp.null |
non-centrality parameter under null. |
f.alpha |
critical value(s). |
power |
statistical power |
# power is defined as the probability of observing F-statistics
# greater than the critical value
power.f.test(ncp = 1, df1 = 4, df2 = 100, alpha = 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.