Home > NaN > moment.m

moment

PURPOSE ^

MOMENT estimates the p-th moment

SYNOPSIS ^

function M=moment(i,p,opt,DIM)

DESCRIPTION ^

 MOMENT estimates the p-th moment 
 
 M = moment(x, p [,opt] [,DIM])
 M = moment(H, p [,opt])
   calculates p-th central moment from data x in dimension DIM
    of from Histogram H

 p    moment of order p
 opt   'ac': absolute 'a' and/or central ('c') moment
    DEFAULT: '' raw moments are estimated
 DIM    dimension
    1: STATS of columns
    2: STATS of rows
    default or []: first DIMENSION, with more than 1 element

 features:
 - can deal with NaN's (missing values)
 - dimension argument 
 - compatible to Matlab and Octave

 see also: STD, VAR, SKEWNESS, KURTOSIS, STATISTIC,

 REFERENCE(S):
 http://mathworld.wolfram.com/Moment.html

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:02:45 by m2html © 2003