Versatile function for the coefficient of quartile variation (cqv)
a logical value indicating whether
integer indicating the number of decimal places to be used.
a scalar representing the type of confidence intervals required. The value should be any of the values "bonett", "norm", "basic", "perc", "bca" or "all".
integer indicating the number of bootstrap replicates.
cqv is a measure of relative dispersion that is based on
interquartile range (iqr). Since cqv is unitless, it is useful
for comparison of variables with different units. It is also a measure of
An object of type "list" which contains the estimate, the intervals, and the computation method. It has two components:
A description of statistical method used for the computations.
A data frame representing three
vectors: est, lower and upper limits of 95% confidence interval
Bonett 95% CI: It uses a centering adjustment which helps to equalize the tail error probabilities
Normal approximation 95% CI: The intervals calculated by the normal approximation
4], using boot.ci.
Basic bootstrap 95% CI: The intervals calculated by the basic bootstrap method
Bootstrap percentile 95% CI: The intervals calculated by the bootstrap percentile method
4], using boot.ci.
Adjusted bootstrap percentile (BCa) 95% CI: The intervals calculated by the adjusted bootstrap percentile (BCa) method
[3, 4], using
 Bonett, DG., 2006, Confidence interval for a
coefficient of quartile variation, Computational Statistics & Data
Analysis, 50(11), 2953-7, DOI:
 Altunkaynak, B., Gamgam, H., 2018, Bootstrap
confidence intervals for the coefficient of quartile variation, Simulation
and Computation, 1-9, DOI:
 Canty, A., & Ripley, B, 2017, boot: Bootstrap R
(S-Plus) Functions. R package version 1.3-20.
 Davison, AC., & Hinkley, DV., 1997, Bootstrap Methods
and Their Applications. Cambridge University Press, Cambridge. ISBN
1 2 3 4 5 6 7
Loading required package: dplyr Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union $method  "cqv = (q3-q1)/(q3+q1)" $statistics est 45.6 $method  "cqv = (q3-q1)/(q3+q1)" $statistics est 45.62 $method  "cqv with Bonett 95% CI" $statistics est lower upper 45.62 24.78 77.33
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.