Calculate lower and upper confidence intervals given a mean,
standard deviation, sample size, and confidence level. You may
want to use ci_var()
to calculate all values quickly.
ci_lower(mean, ssd, n, conf = 0.95)ci_upper(mean, ssd, n, conf = 0.95)
Numeric. Mean: mean(var, na.rm = TRUE)
Numeric. Standard deviation: sd(var, na.rm = TRUE)
Integer. Amount of observations: n()
Numeric (0-1). Confidence level.
Vector with confidence limit value.
Other Confidence:
ci_var()
# NOT RUN {
ci_lower(100, 5, 10)
ci_upper(100, 5, 10)
# }
Run the code above in your browser using DataLab