ISmLogisticDistribution.A

Syntax

A: Double;

Description

The A property determines the value of the shift parameter (median) of distribution.

Example

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

Sub UserProc;
Var
    Distrib: ISmLogisticDistribution;
    Values: Array Of Double;
    i: Integer;
    Cnt: Integer = 10;
Begin
    Distrib := New SmLogisticDistribution.Create;
    Distrib.A := -3;
    Distrib.B := 5;
    Values := Distrib.RandomVector(Cnt);
    For i := 0 To Cnt - 1 Do
        Debug.WriteLine(Values[i]);
    End For;
End Sub UserProc;

After executing the example the console window displays a sample of pseudo-random values from logistic distribution with selected location parameter (median) and scale parameter.

See also:

ISmLogisticDistribution