IStatistics.BetaInv

Fore Syntax

BetaInv(Probability: Double; Alpha: Double; Beta: Double): Double;

Fore.NET Syntax

BetaInv(Probability: double; Alpha: double; Beta: double): double;

Parameters

Probability. Probability related to beta distribution. Tolerance range: (0, 1);

Alpha. Distribution parameter. This value must be positive;

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

Description

The BetaInv method returns the inverse function for integral function of beta probability density.

Comments

If Probability = BetaDist(x; …), then BetaInv(Probability ; …) = x.

Fore Example

Add a link to the Stat system assembly.

Sub UserProc;
Var
    st: Statistics;
    d0: Double;
Begin
    st := New Statistics.Create;
    d0 := st.BetaInv(0.266149);
    Debug.WriteLine("Inverse integral function of beta-probability density: " + d0.ToString);
End Sub UserProc;

After executing the example the console window displays an inverse integral beta-probability density function.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Stat;

Public Shared Sub Main(Params: StartParams);
Var
    st: Statistics;
    d0: Double;
Begin
    st := New Statistics.Create();
    d0 := st.BetaInv(0.266149);
    System.Diagnostics.Debug.WriteLine(Inverse integral beta-probability density function: " + d0.ToString());
End Sub;

See also:

IStatistics | Inverse function of beta distribution of probability