IStatistics.NormsDist

Syntax

NormsDist(Value: Double): Double;

Parameters

Value. Value for which the distribution is defined.

Description

The NormsDist method returns the standard normal distribution.

Comments

This distribution has the mean= 0 and the standard deviation= 1. This function is used instead of the standard normal curve table.

Example

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

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

Executing this example shows the standard normal distribution value in the console window:

Module execution started

Normal distribution: 0.94520070830044212

Module execution finished

See also:

IStatistics | Function of standard normal distribution of probability