powered by
Calculate nonparametric confidence intervals for quantiles using fractional order statistics,
quantCI(x, q, alpha, method)
vector of data
the quantile
the significance level
the method used for calculate the confidence interval. Options are "exact" or "approximate".
returns a list of 5 values:
the lower confidence limit of the quantile
the upper confidence limit of the quantile
the estimated x value at u1
the estimate x value of at the quantile q
the estimated x value at u2
# NOT RUN { x <- c(3.5,2.4,2.1,1.3,1.2,2.2,2.6,4.2) quantCI(x, q=0.5, alpha=0.05, method = "exact") # }
Run the code above in your browser using DataLab