estimates the p-th moment
M = nan_moment(x, p [,opt] [,DIM]) M = nan_moment(H, p [,opt])
moment of order p
'ac': absolute 'a' and/or central ('c') moment
'' raw moments are estimated
dimension
STATS of columns
STATS of rows
first DIMENSION, with more than 1 element
calculates p-th central moment from data x in dimension DIM of from Histogram H features: - can deal with NaN's (missing values) - dimension argument - compatible to Matlab and Octave
X = rand(6, 5,'normal'); X(1,1)=%nan; m = nan_moment(X,3);
http://mathworld.wolfram.com/Moment.html