stat
Syntax
stat(X)
Arguments
X is a vector/matrix.
Details
Return a dictionary about the descriptive statistics of X including avg(mean), max, min, count, median, and stdev.
Examples
x=5 7 4 3 2 1 7 8 9 NULL;
stat(x);
// output
Median->5
Avg->5.111111
Min->1
Stdev->2.803767
Count->9
Size->10
Name->x
Max->9
stats = stat(x);
stats[`Avg];
// output
5.111111