moments
From DavinciWiki
|
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Compute standard statistics (min, max, mean, adev, sdev, var, skew, kurt, sum, count). Similar to moment, but return value is an structure rather than array.
Arguments and Return Values Arguments: A numeric array Return Value: A structure containing statistics
Usage Syntax: moments(object = VAL) Computes the following statistics for the input value, and returns them (in the specified order) in a structure containing the following elements:
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> moments(a)
struct, 10 elements
min: 0.0242239
max: 0.938504
avg: 0.598740
avgdev: 0.261833
stddev: 0.343256
variance: 0.117825
skewness: -0.555733
kurtosis: -1.35019
sum: 5.38866
count: 9.00000
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 12-08-2007 |