Kurt

Description

Kurtosis is used for measuring the relative peakedness or flatness of a distribution by comparing with a normal distribution. A positive kurtosis indicates a relatively peaked distribution, and a negative one indicates a relatively flat distribution. This function is used for calculating the kurtosis of a dataset.

Syntax

double Kurt(dataset ds)

Parameters

ds

The dataset for calculating the kurtosis.

Return

Return the kurtosis of the specified dataset.

Example

double dKurtosis = kurt(col(a));
dKurtosis = ;

range rr = col(a);
kurt(rr) = ;

dataset ds = {1, 2, 3, 2, 3, 4, 5, 6, 4, 8};
kurt(ds) = ;  // 0.39502164502164