ci.median

0th

Percentile

Confidence interval for the median

Calculates the upper and lower confidence bounds for the true median, and calculates true coverage of the interval.

Keywords
univar
Usage
ci.median(x, conf = 0.95)
Arguments
x

A vector of quantitative data.

conf

The desired level of confidence 1 - P(type I error).

Value

Returns a list of class = "ci". Default printed results are the parameter estimate and confidence bounds. Other invisible objects include:

coverage

The true coverage of the interval.

References

Ott, R. L., and M. T. Longnecker (2004) A First Course in Statistical Methods. Thompson.

See Also

median

Aliases
  • ci.median
Examples
# NOT RUN {
x<-rnorm(20)
ci.median(x)
# }
Documentation reproduced from package asbio, version 1.5-5, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.