myci: My confidence interval generator

Description Usage Arguments Details Value Examples

View source: R/myci.R

Description

Finds a 95 percent confidence interval for the mean

Usage

1
myci(y)

Arguments

y

a vector of data to find a confidence interval on

Details

Given a set of data, computes and returns a 95 percent confidence interval for the mean of that set

Value

ci, a list containing the lower and upper boundaries of the interval

conflevel, the confidence level of the interval

Examples

1
set.seed(12); sam1 = rnorm(20, mean = 5, sd = 3); myci(sam1)

Nat-Geo/math4753 documentation built on April 16, 2020, 12:35 a.m.