powered by
This function returns the first 4 moments of the distribution.
NNS.moments(x, population = TRUE)
Returns:
"$mean" mean of the distribution.
"$mean"
"$variance" variance of the distribution.
"$variance"
"$skewness" skewness of the distribution.
"$skewness"
"$kurtosis" excess kurtosis of the distribution.
"$kurtosis"
a numeric vector.
logical; TRUE (default) Performs the population adjustment. Otherwise returns the sample statistic.
TRUE
Fred Viole, OVVO Financial Systems
Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" (ISBN: 1490523995)
if (FALSE) { set.seed(123) x <- rnorm(100) NNS.moments(x) }
Run the code above in your browser using DataLab