powered by
CV2(x)
n <- 30; nSamp <- 500 X <- matrix(rexp(n * nSamp), nrow= nSamp, ncol = n) W <- CV2(X) plot(density(W), main = "CV2 of exponential samples")
Run the code above in your browser using DataLab