IStatistics.FDist

Syntax

FDist(Value: Double; DegreesOfFreedomNumerator: Integer; DegreesOfFreedomDenominator: Integer): Double;

Parameters

Value. Value for which the function is calculated. Value must satisfy the following constraint: Value >= 0.

DegreesOfFreedomNumerator. First number of degrees of freedom. Tolerance range: [1; 10^10);

DegreesOfFreedomDenominator. Second number of degrees of freedom. Tolerance range: [1; 1010).

Description

The FDist method returns the F-distribution of probability.

Comments

Use this function to determine whether two sets of data have different degrees of results scatter.

The value is calculated using the following equation: FDist = P( F<x ), where F is a random value with F-distribution.

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.FDist(15.7564);
    If st.Status <> 0 Then
        Debug.WriteLine(st.Errors);
    Else
        Debug.WriteLine("F-distribution of probability: " + d0.ToString);
    End If;
End Sub UserProc;

Executing this example shows F-distribution of probability in the console window:

Module execution started

Probability F-distribution: 0.0093670218097295956

Module execution finished

See also:

IStatistics | Function of F-distribution of probability