z.conf: Confdidence interval for mean using z-distribution
Description
Compute a confidence interval for the mean of a response variable using the z-distribution.
Usage
z.conf(x, sigma = NULL, conf = 0.95)
Value
A vector with two values: lower and upper confidence limits for the mean of the response variable.
Arguments
x
a (non-empty) numeric vector of data values.
sigma
the population standard deviation. If NULL, the sample standard deviation is used. This is useful when the population standard deviation is known, otherwise it should be left as NULL.