Kurt(Values: Array): Double;
Values. Data series.
The Kurt method returns data set kurtosis.
Kurtosis indicates whether a distribution is cusped or smoothed compared to the normal distribution. A positive kurtosis indicates a relative cusped distribution. A negative kurtosis indicates a relative smoothed distribution.
To correctly calculate data series, Values must be non-constant and contain more than three points.
To execute the example, add a link to the Stat system assembly.
Sub UserProc;
Var
st: Statistics;
d0: Double;
y: Array Of Double;
Begin
y := New Double[10];
y[00] := 1.6;
y[01] := 1.7;
y[02] := 1.8;
y[03] := 1.9;
y[04] := 2;
y[05] := 2.1;
y[06] := 2.2;
y[07] := 2.3;
y[08] := 2.4;
y[09] := 2.8;
st := New Statistics.Create;
d0 := st.kurt(y);
Debug.WriteLine("Kurtosis: " + d0.ToString);
End Sub UserProc;
After executing the example the console window displays kurtosis.
See also: