powered by
Squared Coefficient of Variation.
CV2(x)
Numeric vector of the squared coefficients of variation.
Numeric vector or matrix.
Compute the squared Coefficient of Variation of one or several samples provided as a numeric vector or matrix.
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