Share via


WorksheetFunction.FInv Method

Returns the inverse of the F probability distribution. If p = FDIST(x,...), then FINV(p,...) = x.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function FInv ( _
    Arg1 As Double, _
    Arg2 As Double, _
    Arg3 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim Arg3 As Double
Dim returnValue As Double

returnValue = instance.FInv(Arg1, Arg2, _
    Arg3)
double FInv(
    double Arg1,
    double Arg2,
    double Arg3
)

Parameters

  • Arg1
    Type: System.Double

    Probability - a probability associated with the F cumulative distribution.

  • Arg2
    Type: System.Double

    Degrees_freedom1 - the numerator degrees of freedom.

  • Arg3
    Type: System.Double

    Degrees_freedom2 - is the denominator degrees of freedom.

Return Value

Type: System.Double

Remarks

Important

This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality. For more information about the new functions, see the F_Inv_RT(Double, Double, Double) and F_Inv(Double, Double, Double) methods.

The F distribution can be used in an F-test that compares the degree of variability in two data sets. For example, you can analyze income distributions in the United States and Canada to determine whether the two countries have a similar degree of income diversity.

If any argument is nonnumeric, FInv returns the #VALUE! error value.

If probability < 0 or probability > 1, FInv returns the #NUM! error value.

If degrees_freedom1 or degrees_freedom2 is not an integer, it is truncated.

If degrees_freedom1 < 1 or degrees_freedom1 ≥ 10^10, FInv returns the #NUM! error value.

If degrees_freedom2 < 1 or degrees_freedom2 ≥ 10^10, FInv returns the #NUM! error value.

FInv can be used to return critical values from the F distribution. For example, the output of an ANOVA calculation often includes data for the F statistic, F probability, and F critical value at the 0.05 significance level. To return the critical value of F, use the significance level as the probability argument to FInv.

Given a value for probability, FInv seeks that value x such that FDIST(x, degrees_freedom1, degrees_freedom2) = probability. Thus, precision of FInv depends on precision of FDist(Double, Double, Double). FInv uses an iterative search technique. If the search has not converged after 64 iterations, the function returns the #N/A error value.

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace