IStatistics.LogNormDist

Syntax

LogNormDist(Value: Double, Mean: Double; StandartDeviation: Double): Double;

Parameters

Value. Value for which the function is calculated. Value must satisfy the following constraint: Value > 0.

Mean. Mean ln(Value ).

StandartDeviation. Standard deviation ln(Value). Value must satisfy the following constraint: StandartDeviation > 0.

Description

The LogNormDist method returns the integral logarithmic normal distribution.

Comments

This function is used to analyze logarithmically converted data.

Example

Sub UserProc;
Var
    st: Statistics;
    d0: Double;
Begin
    st := New Statistics.Create;
    d0 := st.LogNormDist(43.51.2);
    If st.Status <> 0 Then
        Debug.WriteLine(st.Errors);
    Else
        Debug.WriteLine("Distribution: " + d0.ToString);
    End If;
End Sub UserProc;

After you have executed this example the console window shows the value of integral logarithmic normal distribution:

Module execution started

Distribution: 0.039083555706800464

Module execution finished

See also:

IStatistics | IStatistics.NormDist | Lognormal distribution