Load kurtosis into result when data is sufficient.

Synopsis

Declared in <bdlsta_moment.h>

int
kurtosisIfValid(double* result) const;

Description

Load into the specified result, the kurtosis of the data set. Return 0 on success, and a non‐zero value otherwise. Specifically, e_INADEQUATE_DATA is returned if 4 > count or the variance is zero.

Return Value

0 on success, or a non‐zero status otherwise

Parameters

Name

Description

result

destination for the kurtosis on success

Created with MrDocs