z_ci_sigma: A two-sided confidence interval with a known variance

Description Usage Arguments Value

Description

A two-sided confidence interval with a known variance

Usage

1
z_ci_sigma(mu, xbar, confidenceLevel, variance, n)

Arguments

mu

(what we believe to be) the true population mean

xbar

the sample mean of the data

confidenceLevel

the significance level for the CI, i.e., 1 - alpha

variance

the *known* variance of the data

n

the number of data entries

Value

returns a test statistic, a p-value, and a confidence interval consisting of lower and upper bounds


loganbradley/Loganstat documentation built on May 9, 2019, 2:57 p.m.