19.6.5. Coefficient of Variation
The coefficient of variation (CV) is used to compare the variability of two data sets with either the same or different units such as ticket sales to the number of tickets sold or the prices of a commodity to the quantity sold. CV is the percentage equivalent of the standard deviation relative to the mean of the distribution.
To calculate the CV, divide the standard deviation by the mean and multiply the result by 100%. When comparing data sets, a larger CV implies higher variability.
Illustrative Example
Which data set has more variability?
Data set A: 12, 14, 15, 16, 19, 5
Data set B: 5, 6, 7, 8, 12, 15
Solution
Find the mean and standard deviation of each data set.
Data set A Data Set B
Mean = 13.5 Mean = 8.83333333
Standard deviation = 4.76445169 Standard deviation = 3.868677638
Calculate the CV
Data set A: CV = s.d. / mean = 35.2922348%
Data set B: CV = s.d. / mean = 43.7963506%
Because set B has a higher CV, its values have a higher variability than the values in set A.
To calculate the CV, divide the standard deviation by the mean and multiply the result by 100%. When comparing data sets, a larger CV implies higher variability.
Illustrative Example
Which data set has more variability?
Data set A: 12, 14, 15, 16, 19, 5
Data set B: 5, 6, 7, 8, 12, 15
Solution
Find the mean and standard deviation of each data set.
Data set A Data Set B
Mean = 13.5 Mean = 8.83333333
Standard deviation = 4.76445169 Standard deviation = 3.868677638
Calculate the CV
Data set A: CV = s.d. / mean = 35.2922348%
Data set B: CV = s.d. / mean = 43.7963506%
Because set B has a higher CV, its values have a higher variability than the values in set A.
Calculator solution
Enter each data set as matrix.
E.g. A = [12, 14, 15, 16, 19, 5] ; B = [5, 6, 7, 8, 12, 15]
Use the syntax: stdev(A)/avg(A) × 100 to find the CV of data set A and stdev(B)/avg(B) × 100 to find the CV of data set B.
Note: If the data set represents a population of values, use stdevp for the standard deviation.
Examples
1) Samples of 10 math scores were taken from classes A and B respectively. Determine which class's math scores have less variability.
Class A: 6, 8, 9, 5, 12, 15, 9, 13, 14, 6, 3, 2, 0, 4, 6
Class B: 5, 6, 9, 12, 14, 15, 10, 9, 9, 12, 12, 9, 6, 5, 12
2) The weights (in pounds) of all 10 supervisors and managers at two companies are listed below. Which weights have more variability?
Company X: 120, 112, 150, 109, 100, 105, 95, 90, 145, 135
Company Y: 106, 120, 105, 149, 130, 115, 105, 120, 154, 153
Calculator solutions
1) Enter the data sets in matrix form.
E.g. A = [6, 8, 9, 5, 12, 15, 9, 13, 14, 6, 3, 2, 0, 4, 6] , B = [5, 6, 9, 12, 14, 15, 10, 9, 9, 12, 12, 9, 6, 5, 12]
Find the CV for data set A using the syntax: stdev(A)/avg(A) × 100
Compute the CV for data set B using the syntax: stdev(B)/avg(B) × 100
Since the CV for the math scores in class B (32.87%) is less than the CV in class A (60.50%), data set B has less variability.
2) Enter the data sets in matrix form.
E.g. X = [120, 112, 150, 109, 100, 105, 95, 90, 145, 135] , Y = [106, 120, 105, 149, 130, 115, 105, 120, 154, 153]
Find the CV for data set A using the syntax: stdevp(X)/avg(X) × 100
Find the CV for data set B using the syntax: stdevp(Y)/avg(Y) × 100
Since the CV for company X (17.08%) is higher than the CV for company Y (14.95%), company X has more variability in the weights of its supervisors and managers.