simple.z.test: Implement basic z-test for illustrative purposes

View source: R/simple.z.test.R

simple.z.testR 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)

UsingR documentation built on March 18, 2022, 7:32 p.m.