| ci_z | R Documentation | 
Calculates the confidence interval for the mean with known standard deviation, using the Z-statistic (normal distribution).
ci_z(x, sig, n, conf.level = 0.95, digits = 2)
| x | Sample mean | 
| sig | Population standard deviation | 
| n | Sample size | 
| conf.level | Confidence level to use for the confidence interval (Default is 0.95) | 
| digits | Number of digits to round to (Default is 2) | 
A tibble with the mean, and lower and upper ends of the confidence interval
x <- 80 sig <- 15 n <- 20 ci_z(x, sig, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.