moment

From DavinciWiki
Jump to: navigation, search


Description

Compute standard statistics (min, max, mean, adev, sdev, var, skew, kurt). Similar to moments, but return value is an array rather than structure.

Arguments and Return Values

Arguments: A numeric array

Return Value: A 8x1x1 float numeric array containing statistics

Usage

Syntax: moment(object = VAL)

Computes the following statistics for the input value, and returns them (in the specified order) in a 8x1x1 FLOAT array:

  • minimum value
  • maximum value
  • mean
  • average deviation
  • standard deviation
  • variance
  • skewness
  • kurtosis

Examples

dv> a
3x3x1 array of float, bsq format [36 bytes]
0.558329        0.100168        0.899324
0.805147        0.930234        0.535199
0.938504        0.0242239       0.597536

dv> moment(a)
8x1x1 array of float, bsq format [32 bytes]
0.0242239   0.938504   0.598740   0.261833   0.343256   0.117825   -0.555733   -1.35019

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 12-08-2007

Personal tools