Signature (Visual Basic / VBA)
Public Function KurtosisExcelArray( _
ByRef vValues As Variant _
) As Variant
Code Example
KurtosisExcelArray(Array(12, 34, 56, 78)) = -1.2
KurtosisExcelArray(SampleData) = -0.066025135059001
Parameters
| Parameter | Description |
|---|---|
| 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 kurtosis of the numeric values. Function returns Null if there are fewer than four 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.