Modifica

Condividi tramite


WorksheetFunction.FInv(Double, Double, Double) Method

Definition

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

public:
 double FInv(double Arg1, double Arg2, double Arg3);
public double FInv (double Arg1, double Arg2, double Arg3);
Public Function FInv (Arg1 As Double, Arg2 As Double, Arg3 As Double) As Double

Parameters

Arg1
Double

Probability - a probability associated with the F cumulative distribution.

Arg2
Double

Degrees_freedom1 - the numerator degrees of freedom.

Arg3
Double

Degrees_freedom2 - is the denominator degrees of freedom.

Returns

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.

Applies to