Learn R Programming

wrMisc (version 1.15.3.1)

confInt: Confidence Interval To Given Alpha

Description

This little function returns the confidence interval associated to a given significance level alpha under the hypothesis of the Normal distribution is valid.

Usage

confInt(x, alpha = 0.05, distrib = "Normal", silent = FALSE, callFrom = NULL)

Value

This function returns the confidence interval to a given alpha under the hypothesis of the Normal distribution.

Arguments

x

(numeric) main input

alpha

(numeric) significance level, accepted type I error

distrib

(character) distribution, so far only Normal is implemented

silent

(logical) suppress messages

callFrom

(character) allow easier tracking of message(s) produced

See Also

Examples

Run this code

confInt(c(5,2:6))

Run the code above in your browser using DataLab