BetaInv(Probability: Double; Alpha: Double; Beta: Double): Double;
BetaInv(Probability: double; Alpha: double; Beta: double): double;
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.
The BetaInv method returns the inverse function for integral function of beta probability density.
If Probability = BetaDist(x; …), then BetaInv(Probability ; …) = x.
Add a link to the Stat system assembly.
Sub UserProc;
Var
st: Statistics;
d0: Double;
Begin
st := New Statistics.Create;
d0 := st.BetaInv(0.266, 14, 9);
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.
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.266, 14, 9);
System.Diagnostics.Debug.WriteLine(Inverse integral beta-probability density function: " + d0.ToString());
End Sub;
See also:
IStatistics | Inverse function of beta distribution of probability