powered by
Calculates the upper and lower confidence bounds for the true median, and calculates true coverage of the interval.
ci.median(x, conf = 0.95)
A vector of quantitative data.
The desired level of confidence 1 - P(type I error).
Returns a list of class = "ci". Default printed results are the parameter estimate and confidence bounds. Other invisible objects include:
class = "ci"
invisible
The true coverage of the interval.
Ott, R. L., and M. T. Longnecker (2004) A First Course in Statistical Methods. Thompson.
median
# NOT RUN { x<-rnorm(20) ci.median(x) # }
Run the code above in your browser using DataLab