IStatistics.KurtDcml

Fore Syntax

KurtDcml(Values: Array): Decimal;

Fore.NET Syntax

KurtDcml(Values: System.Array): decimal;

Parameters

Values. An array of decimal high precision numbers.

Description

The KurtDcml method returns kurtosis of data set of the Decimal type.

Comments

Kurtosis characterizes whether distribution is cusped or smoothed in comparison with normal distribution. A positive kurtosis indicates a relative cusped distribution. A negative kurtosis indicates a relative smoothed distribution.

To determine the number of the Decimal type in the array, it is necessary to write the "m" character after the value of each number. For example: 0.001m.

Fore Example

To execute the example, add a link to the Stat system assembly.

Sub UserProc;
Var
    st: Statistics;
    a: Array[6Of Variant;
    s: Decimal;
Begin
    st := New Statistics.Create;
    a[0] := 1.6m;
    a[1] := 1.7m;
    a[2] := 1.8m;
    a[3] := 1.9m;
    a[4] := 2.0m;
    a[5] := 2.1m;
    s:=st.KurtDcml(a);
    Debug.WriteLine("Kurtosis: " + s.ToString);
End Sub UserProc;

After executing the example the console window displays the value of kurtosis of decimal high-precision numbers.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Stat;

Public Shared Sub Main(Params: StartParams);
Var
    st: Statistics;
    a: Array[6Of object;
    s: decimal;
Begin
    st := New Statistics.Create();
    a[0] := 1.6m;
    a[1] := 1.7m;
    a[2] := 1.8m;
    a[3] := 1.9m;
    a[4] := 2.0m;
    a[5] := 2.1m;
    s:=st.KurtDcml(a);
    System.Diagnostics.Debug.WriteLine("Kurtosis: " + s.ToString());
End Sub;

See also:

IStatistics