Edit

Share via


WorksheetFunction.FDist(Double, Double, Double) Method

Definition

Returns the F probability distribution. You can use this function to determine whether two data sets have different degrees of diversity. For example, you can examine the test scores of men and women entering high school and determine if the variability in the females is different from that found in the males.

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

Parameters

Arg1
Double

X - the value at which to evaluate the function.

Arg2
Double

Degrees_freedom1 - the numerator degrees of freedom.

Arg3
Double

Degrees_freedom2 - 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_Dist_RT(Double, Double, Double) and F_Dist(Double, Double, Double, Boolean) methods.

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

If x is negative, FDist 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, FDist returns the #NUM! error value.

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

FDist is calculated as FDIST=P( F>x ), where F is a random variable that has an F distribution with degrees_freedom1 and degrees_freedom2 degrees of freedom.

Applies to