IStatistics.BetaDist

Syntax

BetaDist(X: Double; Alpha: Double; Beta: Double): Double;

Parameters

X. Value for which the function is calculated. Tolerance range: (0, 1);

Alpha. Distribution parameter. The value must be greater than zero.

Beta. Distribution parameter. The value must be greater than zero.

Description

The BetaDist method returns the integral function of beta probability density.

Comments

This function is typically used to study variations of a value as percentage.

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.BetaDist(0.5149);
    Debug.WriteLine("Integral function of beta-probability density: " + d0.ToString);
End Sub UserProc;

Executing this example shows the integral beta-probability density function in the console window:

Module execution started

Integral beta-probability density function: 0.14313936233520572

Module execution finished

See also:

IStatistics | Function of beta distribution of probability