simple.z.test {UsingR} | 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)