View source: R/Partial_Moments.R
NNS.moments | R Documentation |
This function returns the first 4 moments of the distribution.
NNS.moments(x, population = TRUE)
x |
a numeric vector. |
population |
logical; |
Returns:
"$mean"
mean of the distribution.
"$variance"
variance of the distribution.
"$skewness"
skewness of the distribution.
"$kurtosis"
excess kurtosis of the distribution.
Fred Viole, OVVO Financial Systems
Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" (ISBN: 1490523995)
## Not run:
set.seed(123)
x <- rnorm(100)
NNS.moments(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.