Function Math Statistics Class

Kurtosis

Returns the kurtosis of a distribution, as defined in Numerical Recipes in C, Second Edition. Measures the relative peakedness or flatness of a distribution.

Signature (Visual Basic / VBA)

Public Function Kurtosis( _
    ParamArray vValues() As Variant _
    ) As Variant

Code Example

    Kurtosis(12, 34, 56) = -2.33333333333333
    Kurtosis(12, 34, 78) = -2.33333333333333
    Kurtosis(SampleData) = -0.18912405888044

Parameters

Parameter Description
vValues The values that are to be processed. Can be numbers, one-dimensional numeric arrays, one-dimensional Variant arrays, one-dimensional Variant arrays with embedded arrays, or any combination of these. The current setting of the StatVarType Property determines which numeric data types are recognized by this function.

Return Value

Function returns the kurtosis of the numeric values. Function returns Null if there are fewer than two numeric values.