Coefficient of Variation (CV) with Confidence Intervals (CI)
Overview
Provides some easy-to-use functions and classes to calculate variability measures such as coefficient of variation with confidence intervals provided with all available methods. References are 'Panichkitkosolkul' (2013) doi:10.1155/2013/324940, 'Altunkaynak' & 'Gamgam' (2018) doi:10.1080/03610918.2018.1435800, 'Albatineh', 'Kibria', Wilcox & 'Zogheib' (2014) doi:10.1080/02664763.2013.847405.
New features
- Added three Abu-Shawiesh-Akyuz-Kibria (2019) <doi:10.19139/soic.v7i2.630> population-coefficient-of-variation confidence intervals, ported from the companion Python package
pycvcqv: aak_adj_ci/method = "aak_adj"— adjusted-degrees-of-freedom CI (Eq. 21) derived from Hummel et al.'s CI for the variance;r_hat = 2n / (gamma_hat + 2n/(n-1)).aak_ls_ci/method = "aak_ls"— large-sample CI (Eq. 26) derived from the log-transformed CI for the variance;A = (G_2 + 2n/(n-1)) / n.aak_als_ci/method = "aak_als"— augmented-large-sample CI (Eq. 32) derived from Burch's CI for the variance using a three-term Taylor expansion oflog(S^2).
Show all changes in 1.0.4Hide the rest of the changes in 1.0.4
- The three new methods are exposed both through the
CoefVarCIR6 class (as public*_ci()methods and viaall_ci()) and through the proceduralcv_versatile()function (includingmethod = "all"). - Internal kurtosis helpers (
.g2_excess_kurtosis,.g2_bias_corrected,.kappa_e5,.gamma_hat_hummel) live inR/aak_helpers.R. All three CIs require at least 4 observations.
From NEWS.md in the release
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘BootCoefQuartVar.Rd’ ‘BootCoefVar.Rd’ ‘CoefQuartVar.Rd’ ‘CoefQuartVarCI.Rd’ ‘CoefVar.Rd’ ‘CoefVarCI.Rd’ ‘SampleQuantiles.Rd’ ‘cqv_versatile.Rd’ ‘cv_versatile.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTE2026-09-30
- ERROR11 OK, 1 NOTE, 1 ERROR2026-09-29
- NOTE11 OK, 2 NOTE2026-07-21
- ERROR11 OK, 1 NOTE, 1 ERROR2026-07-20
- NOTE12 OK, 1 NOTE2026-07-11
Show 3 earlier changesHide 3 earlier changes
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK5 OK2026-05-22
Documentation
- Help pages
- 9
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- 44%
- Help pages citing references
- 89%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 33
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
14 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/maanibeigy/cvcqv on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: Buy Me a Coffee
Show all practicesHide 4 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-25Pull request it wrote: opened by a project memberCommits: at least 1 crediting it in the message
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.0.4Latest
- unarchivedReturned to CRAN2026-05-21
- 1.0.32026-05-21 · diff ↗
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2022-05-19check issues were not corrected in time noLD
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.02019-08-06
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-08-06
- Total releases
- 3 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 103 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cvcqv")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.