In: Statistics and Probability
Below are abundances of 2 pronghorn antelope herds over 19 consecutive years. Calculate the coefficient of variation for each herd and determine which herd, if any, has greater variation in population abundance. Report all R code used
GB: 40,27,32,33,39,24,18,17,13,13,19,21,19,25,33,34,23,17,15
LS: 50,57,62,54,53,47,34,43,46,49,41,36,45,44,48,50,47,59,60
Solutions:
The coefficient of variation (CV) is a statistical measure of the dispersion of data points in a data series around the mean. The coefficient of variation is defined as the ratio of standard deviation and the population mean.
After calculating the Coefficient of variation the output is shown below.
coefficient of variation for GB is 0.3537893
coefficient of variation for LS is 0.1567394
So, it is clear the coefficient of variation for GB is around 35% and coefficient of variation for LS is around 16%. Therefore, the Coefficient of variation is high for GB as compared to LS.
R code to measure the Coefficient of variation:
GB<-c(40,27,32,33,39,24,18,17,13,13,19,21,19,25,33,34,23,17,15)
LS<-c(50,57,62,54,53,47,34,43,46,49,41,36,45,44,48,50,47,59,60)
#coefficient of variation for GB
cv_GB=sd(GB)/mean(GB)
cv_GB
#coefficient of variation for LS
cv_LS=sd(LS)/mean(LS)
cv_LS