Description Usage Arguments Value
Constructs a 100(1-alpha) percent confidence interval for a single population mean
1 2 | Mean.1Pop.CI(xbar, variance, n, popVarKnown = F, alpha = 0.05,
one.sided = F)
|
xbar |
the mean of the sample |
variance |
either the sample or population variance (the latter only if it is known) |
n |
the size of the sample |
popVarKnown |
boolean denoting whether the population variance is known. False by default. |
alpha |
the significance level. Set to 0.05 by default. |
one.sided |
boolean denoting whether the function should return one-sided confidence intervals. False by default. |
The confidence interval(s): one-sided lower and upper bounds (in a list) or just the two-sided confidence interval (as a simple vector).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.