power.fisher | R Documentation |
Compute power for Fisher's exact test
power.fisher(p1, p2, n, alpha, alternative)
p1 |
probability in one group (scalar) |
p2 |
probability in other group (scalar) |
n |
per-group sample size (scalar) |
alpha |
p-value threshold (scalar) |
alternative |
one- or two-sided test, must be one of "greater", "less", or "two.sided" |
Power estimate for one- or two-sided tests
power.fisher(p1 = 0.5, p2 = 0.9, n=20, alpha = 0.05, alternative = 'two.sided')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.