<-- Previous || Up || Next -->

Skew Array Function
Math Statistics Class

Public Function SkewArray( _
    ByRef vValues As Variant _
    ) As Variant

Returns the skewness of a distribution, as defined in Numerical Recipes in C, Second Edition.
More efficient version of the Skew Function but with restrictions on the arguments it accepts.
The skewness characterizes the degree of asymmetry of a distribution around its mean.

Examples:
    SkewArray(Array(12, 34, 56)) = 0
    SkewArray(Array(12, 34, 78)) = 0.207826562129516
    SkewArray(SampleData) = 0.358004472742792
See also:
    Skew Function
    SkewExcelArray Function
    KurtosisArray Function
    StandardDeviationArray Function
    StandardDeviationPopulationArray Function
    VarianceArray Function
    VariancePopulationArray Function
    AverageArray Function
vValues: Numeric-type array or Variant array containing only numeric elements. This function is NOT affected by the current setting of the StatVarType Property. It assumes that vValues is an array that contains only numeric elements.
Return value: Function returns the skewness of the numeric values. Function returns Null if there are fewer than two numeric values in the array, or if there is some type of error, such as if the argument is a Variant array which contains an Object reference or String.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.