null.ci: Get Confidence Interval Around Specified NullZero Total

View source: R/null.ci.R

null.ciR Documentation

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

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

meboot documentation built on Aug. 23, 2023, 1:07 a.m.