WorksheetFunction.T_Dist_2T Method
Returns the two-tailed Student t-distribution.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function T_Dist_2T ( _
Arg1 As Double, _
Arg2 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim returnValue As Double
returnValue = instance.T_Dist_2T(Arg1, _
Arg2)
double T_Dist_2T(
double Arg1,
double Arg2
)
Parameters
Arg1
Type: System.DoubleX - The numeric value at which to evaluate the distribution.
Arg2
Type: System.DoubleDeg_freedom - An integer that indicates the number of degrees of freedom.
Return Value
Type: System.Double
Remarks
If any argument is non-numeric, T_Dist_2T returns the #VALUE! error value.
If deg_freedom < 1, T_Dist_2T returns the #NUM! error value.
If x < 0, then T_Dist_2T returns the #NUM! error value.