LogNormDist(Value: Double, Mean: Double; StandartDeviation: Double): Double;
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.
The LogNormDist method returns the integral logarithmic normal distribution.
This function is used to analyze logarithmically converted data.
Sub UserProc;
Var
st: Statistics;
d0: Double;
Begin
st := New Statistics.Create;
d0 := st.LogNormDist(4, 3.5, 1.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: