View source: R/z.test.onesample.simple.R
z.test.onesample | R Documentation |
Calculate one sample z test for mean.
z.test.onesample(
x,
known.population.variance,
null.hypothesis.mean,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95,
finite.population.N = NA
)
z.test.onesample.simple(
sample.mean,
known.population.variance = 1,
sample.size,
null.hypothesis.mean = 0,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95,
finite.population.N = NA
)
x |
Vector - sample values to be used for mean calculation. |
known.population.variance |
Scalar - population variance. |
null.hypothesis.mean |
Scalar - null hypothesis mean value, sample.mean is tested against this value. |
alternative |
The alternative hypothesis to use for the test computation. |
conf.level |
The confidence level for this test, between 0 and 1. |
finite.population.N |
Scalar - the population size if finite population adjustment needs to be made. |
sample.mean |
Scalar - sample mean to be tested. |
sample.size |
Scalar - sample size. |
The results of the statistical test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.