Learn R Programming

meboot (version 1.4-6)

null.ci: Get Confidence Interval Around Specified NullZero Total

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-'level')*100 times. Symmetry is not assumed.

Usage

null.ci (x, level=0.95, null.value=0, type=8, ...)

Arguments

x
a vector of data.
level
confidence level.
null.value
a specified value of the null, e.g., 0.
type
type of quantile, a number between 1 and 9. See quantile.
...
further arguments passed to or from other methods.

Value

Lower limit and upper limit of the confidence interval.

Examples

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

Run the code above in your browser using DataLab