Learn R Programming

meboot (version 1.4-9.4)

zero.ci: Get Confidence Interval Around Zero

Description

Function to get two sided confidence interval around zero as the true value. Confidence interval is adjusted so that it covers the true zero (1-'confl')*100 times. Symmetry is not assumed.

Usage

zero.ci (x, confl=0.05)

Value

bnlo

count of number of items below lower limit.

bnup

count of number of items above upper limit.

lolim

lower limit of the confidence interval.

uplim

upper limit of the confidence interval.

Arguments

x

a vector of data.

confl

confidence level.

Examples

Run this code
    x <- runif(25, 0, 1)
    zero.ci(x)
  

Run the code above in your browser using DataLab