BetaDist(X: Double; Alpha: Double; Beta: Double): Double;
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.
The BetaDist method returns the integral function of beta probability density.
This function is typically used to study variations of a value as percentage.
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.5, 14, 9);
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: