FInv(Probability: Double; DegreesOfFreedom1: Integer; DegreesOfFreedom2: Integer): Double;
Probability. Probability value for which you calculate inverse distribution function. Available values are taken from the range [0, 1].
DegreesOfFreedom1. First number of degrees of freedom. Tolerance range: [1, 10^10).
DegreesOfFreedom2. Second number of degrees of freedom. Tolerance range: [1, 1010).
The FInv method returns the inverse value for F-distribution of probabilities.
If Probability = FDist(Value ;…), then FInv(Probability ;…) = Value.
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.FInv(0.00936, 6, 4);
If st.Status <> 0 Then
Debug.WriteLine(st.Errors);
Else
Debug.WriteLine("Inverse: " + d0.ToString);
End If;
End Sub UserProc;
Executing the example shows the inverse value for probability F-distribution in the console window:
Module execution started
Inverse: 15.756332252513578
Module execution finished
See also:
IStatistics | Inverse function of F-distribution of probability