powered by
This function evaluates the mean, variance, skewness and kurtosis of a numerical vector. Missing values are automatically removed.
fun.moments.r(x, normalise = "N")
A vector of mean, variance, skewness and kurtosis.
A numeric vector
"Y" if you want kurtosis to be calculated with reference to kurtosis = 0 under Normal distribution. Default is "N".
Steve Su
fun.theo.mv.gld
fun.moments.r(rnorm(1000)) fun.moments.r(rnorm(1000),normalise="Y")
Run the code above in your browser using DataLab