conf.interval: Confidence Interval for Population Median
Description
Evaluates a confidence interval for population median.
Usage
conf.interval(x,alpha=0.95,verbose=TRUE)
Arguments
x
observed vector/sample.
alpha
confidence level.
verbose
print time elapsed (TRUE).
Value
A list with components:
cint1
A vector with the confidence interval limits, given by the
biggest confidence level lower than or equal to alpha.
cint2
A vector with the confidence interval limits, given by the
lowest confidence level bigger than or equal to alpha. If
there is not interval with confidence level bigger than or
equal to alpha, then cint2 is NULL.
alpha
Desired confidence level.
run.time
Time spent.
call
command evaluated.
Details
Evaluates a confidence interval for population median based in the order
statistics. It is considered the distribution of order statistics to evaluate
the confidence level of the interval. It is not assumed any asymptotic
distribution.