ci.median | R Documentation |
Calculates the upper and lower confidence bounds for the true median, and calculates true coverage of the interval.
ci.median(x, conf = 0.95)
x |
A vector of quantitative data. |
conf |
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:
coverage |
The true coverage of the interval. |
Ken Aho
Ott, R. L., and M. T. Longnecker (2004) A First Course in Statistical Methods. Thompson.
median
x<-rnorm(20)
ci.median(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.