(5) Exercise 1

#Abundance of two elk herds over 19 consecutive years
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 each herd
sd(GB)/mean(GB)
## [1] 0.3537893
sd(LS)/mean(LS)
## [1] 0.1567394

Herd GB has greater variation due to its larger coefficient of variance.

(7) Exercise 2

Part 1

#Create the population (ex2)
ex2 = runif(852,10,30)

Part 2

par(mar=c(4,4,1,2)+0.1)
hist(ex2, main = NULL)

The distribution is roughly uniform.