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

Average Deviation Array Function
Math Statistics Class

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

Average deviation of numeric values from the mean.
More efficient version of the AverageDeviation Function but with restrictions on the arguments it accepts.

    AverageDeviationArray(Array(12, 34, 56)) = 14.6666666666667
    AverageDeviationArray(SampleData) = 18.9163516068053
See also:
    MedianDeviation Function
    AverageArray Function
    StandardDeviationArray Function
    StandardDeviationPopulationArray Function
    VarianceArray Function
    VariancePopulationArray Function
    DeviationsSquaredArray Function
    AVEDEV Function (Microsoft Excel)
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 average deviation of the numeric values. Function returns Null 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.