simple.z.test {UsingR}R Documentation

Implement basic z-test for illustrative purposes

Description

Imlements a z-test similar to the t.test function

Usage

simple.z.test(x, sigma, conf.level=0.95)

Arguments

x

A data vector

sigma

the known variance

conf.level

Confidence level for confidence interval

Value

Returns a confidence interval for the mean

Author(s)

Joh Verzani

See Also

t.test, prop.test

Examples

  x<-rnorm(10,0,5)
  simple.z.test(x,5)

[Package UsingR version 2.0-7 Index]