WorksheetFunction.F_Dist Method
Returns the F probability distribution.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function F_Dist ( _
Arg1 As Double, _
Arg2 As Double, _
Arg3 As Double, _
Arg4 As Boolean _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim Arg3 As Double
Dim Arg4 As Boolean
Dim returnValue As Double
returnValue = instance.F_Dist(Arg1, Arg2, _
Arg3, Arg4)
double F_Dist(
double Arg1,
double Arg2,
double Arg3,
bool Arg4
)
Parameters
Arg1
Type: System.DoubleX - The value at which to evaluate the function.
Arg2
Type: System.DoubleDeg_freedom1 - The numerator degrees of freedom.
Arg3
Type: System.DoubleDeg_freedom2 - The denominator degrees of freedom.
Arg4
Type: System.BooleanCumulative - 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
Type: System.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.