# Coefficient of variation

Template:Distinguish {{ safesubst:#invoke:Unsubst||$N=Merge from |date=__DATE__ |$B= Template:MboxTemplate:DMCTemplate:Merge partner }} Template:More footnotes In probability theory and statistics, the coefficient of variation (CV) is a standardized measure of dispersion of a probability distribution or frequency distribution. It is defined as the ratio of the standard deviation ${\displaystyle \ \sigma }$ to the mean ${\displaystyle \ \mu }$. It is also known as unitized risk[1] or the variation coefficient. The absolute value of the CV is sometimes known as relative standard deviation (RSD), which is expressed as a percentage.

## Definition

The coefficient of variation (CV) is defined as the ratio of the standard deviation ${\displaystyle \ \sigma }$ to the mean ${\displaystyle \ \mu }$:

${\displaystyle c_{v}={\frac {\sigma }{\mu }}}$

It shows the extent of variability in relation to the mean of the population.

The coefficient of variation should be computed only for data measured on a ratio scale, as these are measurements that can only take non-negative values. The coefficient of variation may not have any meaning for data on an interval scale.[2] For example, most temperature scales are interval scales (e.g., Celsius, Fahrenheit etc.) that can take both positive and negative values, whereas the Kelvin scale has an absolute null value (i.e., will work in the complete absence of thermal energy), and negative values are nonsensical. Hence, the Kelvin scale is a ratio scale. While the standard deviation (SD) can be derived on both the Kelvin and the Celsius scale (with both leading to the same SDs), the CV is only relevant as a measure of relative variability for the Kelvin scale.

Measurements that are log-normally distributed exhibit stationary CV; in contrast, SD would vary depending on the expected value of measurements. This is the case for laboratory values that are measured based on chromatographic methods.

A nonparametric possibility is the quartile coefficient of dispersion, i.e. interquartile range ${\displaystyle {Q_{3}-Q_{1}}}$ divided by the median ${\displaystyle {Q_{2}}}$.

## Estimation

When only a sample of data from a population is available, the population CV can be estimated using the ratio of the sample standard deviation ${\displaystyle s\,}$ to the sample mean ${\displaystyle {\bar {x}}}$:

${\displaystyle {\widehat {c_{v}}}={\frac {s}{\bar {x}}}}$

But this estimator, when applied to a small or moderately sized sample, tends to be too low: it is a biased estimator. For normally distributed data, an unbiased estimator[3] for a sample of size n is:

${\displaystyle {\widehat {c_{v}}}^{*}={\bigg (}1+{\frac {1}{4n}}{\bigg )}{\widehat {c_{v}}}}$

### Log-normal data

In many applications, it can be assumed that data are log-normally distributed (evidenced by the presence of skewness in the sampled data).[4] In such cases, a more accurate estimate, derived from the properties of the log-normal distribution,[5][6][7] is defined as:

${\displaystyle {\widehat {c_{v}}}_{ln}={\sqrt {e^{{s_{ln}}^{2}}\!\!-1}}}$

where ${\displaystyle {s_{ln}}\,}$ is the sample standard deviation of the data after a natural log transformation. (In the event that measurements are recorded using any other logarithmic base, b, their standard deviation ${\displaystyle s_{b}\,}$ is converted to base e using ${\displaystyle s_{ln}=s_{b}ln(b)\,}$, and the formula for ${\displaystyle {\widehat {c_{v}}}_{ln}\,}$ remains the same.[8]) This estimate is sometimes referred to as the “geometric CV”[9][10] in order to distinguish it from the simple estimate above. However, "geometric coefficient of variation" has also been defined by Kirkwood[11] as:

${\displaystyle GCV_{K}={e^{s_{ln}}\!\!-1}}$

This term was intended to be analogous to the coefficient of variation, for describing multiplicative variation in log-normal data, but this definition of GCV has no theoretical basis as an estimate of ${\displaystyle c_{v}\,}$ itself.

For many practical purposes (such as sample size determination and calculation of confidence intervals) it is ${\displaystyle s_{ln}\,}$ which is of most use in the context of log-normally distributed data. If necessary, this can be derived from an estimate of ${\displaystyle c_{v}\,}$ or GCV by inverting the corresponding formula.

## Comparison to standard deviation

The coefficient of variation is useful because the standard deviation of data must always be understood in the context of the mean of the data. In contrast, the actual value of the CV is independent of the unit in which the measurement has been taken, so it is a dimensionless number. For comparison between data sets with different units or widely different means, one should use the coefficient of variation instead of the standard deviation.

• When the mean value is close to zero, the coefficient of variation will approach infinity and is therefore sensitive to small changes in the mean. This is often the case if the values do not originate from a ratio scale.
• Unlike the standard deviation, it cannot be used directly to construct confidence intervals for the mean.

## Applications

The coefficient of variation is also common in applied probability fields such as renewal theory, queueing theory, and reliability theory. In these fields, the exponential distribution is often more important than the normal distribution. The standard deviation of an exponential distribution is equal to its mean, so its coefficient of variation is equal to 1. Distributions with CV < 1 (such as an Erlang distribution) are considered low-variance, while those with CV > 1 (such as a hyper-exponential distribution) are considered high-variance. Some formulas in these fields are expressed using the squared coefficient of variation, often abbreviated SCV. In modeling, a variation of the CV is the CV(RMSD). Essentially the CV(RMSD) replaces the standard deviation term with the Root Mean Square Deviation (RMSD). While many natural processes indeed show a correlation between the average value and the amount of variation around it, accurate sensor devices need to be designed in such a way that the coefficient of variation is close to zero, i.e., yielding a constant absolute error over their working range.

### Laboratory measures of intra and inter-assay CVs

CV measures are often used as quality controls for quantitative laboratory assays. While intra-assay and inter-assay CVs might be assumed to be calculated by simply averaging CV values across CV values for multiple samples within one assay or by averaging multiple inter-assay CV estimates, it has been suggested that these practices are incorrect and that a more complex computational process is required.[12]

## Distribution

Provided that negative and small positive values of the sample mean occur with negligible frequency, the probability distribution of the coefficient of variation for a sample of size n has been shown by Hendricks and Robey[13] to be

${\displaystyle dF_{c_{v}}={\frac {2}{\pi ^{1/2}\Gamma {\Big (}{\frac {n-1}{2}}{\Big )}}}e^{-{\frac {n}{2({\frac {\sigma }{\mu }})^{2}}}{\frac {{c_{v}}^{2}}{1+{c_{v}}^{2}}}}{\frac {{c_{v}}^{n-2}}{(1+{c_{v}}^{2})^{n/2}}}\sideset {}{^{\prime }}\sum _{i=0}^{n-1}{\frac {(n-1)!\Gamma {\Big (}{\frac {n-i}{2}}{\Big )}}{(n-1-i)!i!}}{\frac {n^{i/2}}{2^{i/2}({\frac {\sigma }{\mu }})^{i}}}{\frac {1}{(1+{c_{v}}^{2})^{i/2}}}dc_{v},}$

where the symbol ${\displaystyle \sideset {}{^{\prime }}\sum }$ indicates that the summation is over only even values of n-1-i, i.e., if n is odd, sum over even values of i and if n is even, sum only over odd values of i.

This is useful, for instance, in the construction of hypothesis tests or confidence intervals. Statistical inference for the coefficient of variation in normally distributed data is often based on McKay's chi-square approximation for the coefficient of variation [14][15][16][17]

### Alternative

According to Liu (2012),[18] Lehmann (1986)[19] "also derived the sample distribution of CV in order to give an exact method for the construction of a confidence interval for CV;" it is based on a non-central t-distribution.

## Similar ratios

Standardized moments are similar ratios, ${\displaystyle {\mu _{k}}/{\sigma ^{k}}}$ where ${\displaystyle \mu _{k}}$ is the kth moment about the mean, which are also dimensionless and scale invariant. The variance-to-mean ratio, ${\displaystyle \sigma ^{2}/\mu }$, is another similar ratio, but is not dimensionless, and hence not scale invariant. See Normalization (statistics) for further ratios.

In signal processing, particularly image processing, the reciprocal ratio ${\displaystyle \mu /\sigma }$ is referred to as the signal to noise ratio.

## References

1. {{#invoke:citation/CS1|citation |CitationClass=book }}
2. Template:Cite web
3. Sokal RR & Rohlf FJ. Biometry (3rd Ed). New York: Freeman, 1995. p. 58. ISBN 0-7167-2411-1
4. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
5. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
6. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
7. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
8. Reed JF, Lynn F, Meade BD. (2002) "Use of Coefficient of Variation in Assessing Variability of Quantitative Assays". Clin Diagn Lab Immunol. 9(6): 1235–1239. Template:Hide in printTemplate:Only in print
9. Sawant,S.; Mohan, N. (2011) "FAQ: Issues with Efficacy Analysis of Clinical Trial Data Using SAS", PharmaSUG2011, Paper PO08
10. Schiff MH, et al. Ann Rheum Dis 2014;0:1–3. Template:Hide in printTemplate:Only in print
11. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
12. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
13. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
14. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
15. Bennett, B. M. (1976). On an approximate test for homogeneity of coefficients of variation. In: Ziegler, W. J. (ed.) Contributions to Applied Statistics Dedicated to A. Linder. Experentia Suppl. 22, 169-171
16. {{#invoke:Citation/CS1|citation |CitationClass=journal }}.
17. Template:Cite web
18. [1], p.3
19. Lehmann, E. L. (1986), Testing Statistical Hypothesis. 2nd ed. New York: Wiley.