WorksheetFunction.FDist method (Excel)
Returns the F probability distribution. 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.
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 and F_Dist methods.
Syntax
expression.FDist (Arg1, Arg2, Arg3)
expression A variable that represents a WorksheetFunction object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Arg1 | Required | Double | X - the value at which to evaluate the function. |
Arg2 | Required | Double | Degrees_freedom1 - the numerator degrees of freedom. |
Arg3 | Required | Double | Degrees_freedom2 - the denominator degrees of freedom. |
Return value
Double
Remarks
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.