fourmoments
Returns the mean, variance, skewness and kurtosis of the sample x.
Syntax
fourmoments(x)Inputs
- x
- Sample
Outputs
- R
- Returns the mean, variance, skewness and kurtosis of the sample x.
Example
Simple fourmoments example:
x = [0.001:0.002:0.999];
fourmoments(v)
R = [ 0.5 ; 0.0835 ; 7.08176e-015 ; -1.20361 ]