Implement basic z-test for illustrative purposes
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.