WorksheetFunction.F_Dist method (Excel)
Returns the F probability distribution.
Syntax
expression.F_Dist (Arg1, Arg2, Arg3, Arg4)
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 | Deg_freedom1 - The numerator degrees of freedom. |
Arg3 | Required | Double | Deg_freedom2 - The denominator degrees of freedom. |
Arg4 | Optional | Variant | Cumulative - A logical value that determines the form of the function. If cumulative is True, F_DIST returns the cumulative distribution function; if False, it returns the probability density function. |
Return value
Double
Remarks
If any argument is nonnumeric, F_Dist returns the #VALUE! error value.
If x is negative, F_Dist returns the #NUM! error value.
If deg_freedom1 or deg_freedom2 is not an integer, it is truncated.
If deg_freedom1 < 1, F_Dist returns the #NUM! error value.
If deg_freedom < 1, F_Dist returns the #NUM! error value.
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.