powered by
Imlements a z-test similar to the t.test function
simple.z.test(x, sigma, conf.level=0.95)
Returns a confidence interval for the mean
A data vector
the known variance
Confidence level for confidence interval
Joh Verzani
t.test, prop.test
x<-rnorm(10,0,5) simple.z.test(x,5)
Run the code above in your browser using DataLab