hdpbci | R Documentation |
Compute a percentile bootstrap confidence interval for the qth quantile via the Harrell–Davis estimator. Appears to be best method when there are tied values.
hdpbci(x, q = 0.5, alpha = 0.05, nboot = 2000, nv = 0)
x |
A vector of continuous observations. |
q |
A quantile between 0 and 1 - default = 0.5, meaning a confidence interval for the median is computed. |
alpha |
Alpha level - default = 0.05, such that a 95 interval is computed. |
nboot |
Number of bootstrap samples - default = 2000. |
nv |
Null value when computing a p-value. |
A list with variables: q
estimate
, ci
, n
,
p.value
Adaptation of qcipb
from Rallfun-v33.txt. See
https://github.com/nicebread/WRS/
hd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.