Kalpana Kalpana (Editor)

Coefficient of variation

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In probability theory and statistics, the coefficient of variation (CV), also known as relative standard deviation (RSD), is a standardized measure of dispersion of a probability distribution or frequency distribution. It is often expressed as a percentage, and is defined as the ratio of the standard deviation   σ to the mean   μ (or its absolute value, | μ | ). The CV or RSD is widely used in analytical chemistry to express the precision and repeatability of an assay. It is also commonly used in fields such as engineering or physics when doing quality assurance studies and ANOVA gauge R&R. In addition, CV is utilized by economists and investors in economic models and in determining the volatility of a security.

Contents

Definition

The coefficient of variation (CV) is defined as the ratio of the standard deviation   σ to the mean   μ :

c v = σ μ

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 the measurements that can only take non-negative values. The coefficient of variation may not have any meaning for data on an interval scale. For example, most temperature scales (e.g., Celsius, Fahrenheit etc.) are interval scales that can take both positive and negative values, whereas the Kelvin temperature can never be less than zero, which is the complete absence of thermal energy. 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 varies depending upon the expected value of measurements.

A more robust possibility is the quartile coefficient of dispersion, i.e. half the interquartile range ( Q 3 Q 1 ) / 2 divided by the average of the quartiles (the midhinge), ( Q 1 + Q 3 ) / 2 .

Examples

A data set of [100, 100, 100] has constant values. Its standard deviation is 0 and average is 100, giving the coefficient of variation as

0 / 100 = 0.

A data set of [90, 100, 110] has more variability. Its standard deviation is 8.165 and its average is 100, giving the coefficient of variation as

8.165 / 100 = 0.08165.

A data set of [1, 5, 6, 8, 10, 40, 65, 88] has still more variability. Its standard deviation is 30.78 and its average is 27.875, giving a coefficient of variation of

30.78 / 27.875 = 1.104.

Examples of misuse

Comparing coefficients of variation between parameters using relative units can result in differences that may not be real. If we compare the same set of temperatures in Celsius and Fahrenheit (both relative units, where kelvin and Rankine are their associated absolute values):

Celsius: [0, 10, 20, 30, 40]

Fahrenheit: [32, 50, 68, 86, 104]

The sample standard deviations are 15.81 and 28.46, respectively. The CV of the first set is 15.81/20 = 0.79. For the second set (which are the same temperatures) it is 28.46/68 = 0.42.

If, for example, the data sets are temperature readings from two different sensors (a Celsius sensor and a Fahrenheit sensor) and you want to know which sensor is better by picking the one with the least variance then you will be misled if you use CV. The problem here is that you have divided by a relative value rather than an absolute.

Comparing the same data set, now in absolute units:

Kelvin: [273.15, 283.15, 293.15, 303.15, 313.15]

Rankine: [491.67, 509.67, 527.67, 545.67, 563.67]

The sample standard deviations are still 15.81 and 28.46, respectively, because the standard deviation is not affected by a constant offset. The coefficients of variation, however, are now both equal to 0.0539.

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 s to the sample mean x ¯ :

c v ^ = s 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 for a sample of size n is:

c v ^ = ( 1 + 1 4 n ) 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). In such cases, a more accurate estimate, derived from the properties of the log-normal distribution, is defined as:

c v ^ l n = e s l n 2 1

where s l n 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 s b is converted to base e using s l n = s b ln ( b ) , and the formula for c v ^ l n remains the same.) This estimate is sometimes referred to as the "geometric CV" in order to distinguish it from the simple estimate above. However, "geometric coefficient of variation" has also been defined by Kirkwood as:

G C V K = e s l n 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 c v itself.

For many practical purposes (such as sample size determination and calculation of confidence intervals) it is s l n which is of most use in the context of log-normally distributed data. If necessary, this can be derived from an estimate of c v or GCV by inverting the corresponding formula.

Advantages

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.

Disadvantages

  • 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.
  • CVs are not an ideal index of the certainty of a measurement when the number of replicates varies across samples because CV is invariant to the number of replicates while certainty of the mean improves with increasing replicates. In this case standard error in percent is suggested to be superior.
  • 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.

    In actuarial science, the CV is known as unitized risk.

    Laboratory measures of intra-assay 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. It has also been noted that CV values are not an ideal index of the certainty of a measurement when the number of replicates varies across samples − in this case standard error in percent is suggested to be superior. If measurements do not have a natural zero point then the CV is not a valid measurement and alternative measures such as the intraclass correlation coefficient are recommended.

    As a measure of economic inequality

    The coefficient of variation fulfills the requirements for a measure of economic inequality. If x (with entries xi) is a list of the values of an economic indicator (e.g. wealth), with xi being the wealth of agent i, then the following requirements are met:

  • Anonymity - cv is independent of the ordering of the list x. This follows from the fact that the variance and mean are independent of the ordering of x.
  • Scale invariance: cv(x)=cvx) where α is a real number.
  • Population independence - If {x,x} is the list x appended to itself, then cv({x,x})=cv(x). This follows from the fact that the variance and mean both obey this principle.
  • Pigou-Dalton transfer principle: when wealth is transferred from a wealthier agent i to a poorer agent j (i.e. xi > xj) without altering their rank, then cv decreases and vice versa.
  • cv assumes its minimum value of zero for complete equality (all xi are equal). Its most notable drawback is that it is not bounded from above, so it cannot be normalized to be within a fixed range (e.g. like the Gini coefficient which is constrained to be between 0 and 1). It is, however, more mathematically tractable than the Gini Coefficient.

    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 to be

    d F c v = 2 π 1 / 2 Γ ( n 1 2 ) e n 2 ( σ μ ) 2 c v 2 1 + c v 2 c v n 2 ( 1 + c v 2 ) n / 2 i = 0 n 1 ( n 1 ) ! Γ ( n i 2 ) ( n 1 i ) ! i ! n i / 2 2 i / 2 ( σ μ ) i 1 ( 1 + c v 2 ) i / 2 d c v ,

    where the symbol 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

    Alternative

    According to Liu (2012), Lehmann (1986). "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, μ k / σ k where μ k is the kth moment about the mean, which are also dimensionless and scale invariant. The variance-to-mean ratio, σ 2 / μ , 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 μ / σ is referred to as the signal to noise ratio in general and signal-to-noise ratio (imaging) in particular.

  • Efficiency, σ 2 / μ 2
  • Standardized moment, μ k / σ k
  • Variance-to-mean ratio (or relative variance), σ 2 / μ
  • Fano factor, σ W 2 / μ W (windowed VMR)
  • Relative Standard Error
  • References

    Coefficient of variation Wikipedia