skewness

get population skewness of given collection of numbers


Parameters

skewness collection :block

Attributes

samplecalculate the sample skewness

Returns

  • :floating

Examples

copy
arr: [1 2 3 4] arr2: [3 120 4 7 87 2 6 34] print skewness arr ; 0.0 print skewness arr2 ; 1.127950016816592 skewness.sample arr ; => 0.0 skewness.sample arr2 ; => 1.40680083744453

Related