Description Usage Arguments Examples
This function calculates a one proportion z-test and/or interval.
1 2 | iscam_onepropztest(observed, n, hypothesized = NULL,
alternative = "two.sided", conf.level = NULL)
|
observed |
number of success or sample proportion (assumed if value is less than 1) |
n |
sample size |
hypothesized |
hypothesized probability of success |
alternative |
form of alternative hypothesis "less", "greater", or "two.sided" |
conf.level |
confidence level(s) for a two-sided confidence interval |
1 2 3 4 | iscam_onepropztest(12, 15, .70, "less")
iscam_onepropztest(12, 15, .6, "greater")
iscam_onepropztest(12, 15, .5, "two.sided", 0.95)
iscam_onepropztest(12, 15, conf.level = c(.9, .95))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.