Description Usage Arguments Examples
This function determines the rejection region corresponding to the level of significance and the first probability. A second, optional probability can be specified to determine the power of the test.
1 2 | iscam_binompower(LOS, n, prob1, alternative, prob2 = NULL,
explain = FALSE)
|
LOS |
level of significance |
n |
number of trials (zero or more) |
prob1 |
probability of success on each trial |
alternative |
allows you to specify whether you want to find the probability "less" or "greater" or a symmetric "two.sided" probability |
prob2 |
NULL or a second probability |
explain |
logical, default = FALSE. Set to TRUE to see type I and II error and power on the graph |
1 2 3 4 | iscam_binompower(.05, 30, 0.5, alternative = "greater")
iscam_binompower(.10, 55, 0.10, alternative = "less")
iscam_binompower(.05, 20, 0.5, "two.sided", 0.6)
iscam_binompower(.05, 20, 0.25, alternative = "greater", 0.333, explain = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.