View source: R/simple.z.test.R
simple.z.test | R Documentation |
Imlements a z-test similar to the t.test function
simple.z.test(x, sigma, conf.level=0.95)
x |
A data vector |
sigma |
the known variance |
conf.level |
Confidence level for confidence interval |
Returns a confidence interval for the mean
Joh Verzani
t.test, prop.test
x<-rnorm(10,0,5) simple.z.test(x,5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.