WorksheetFunction.T_Dist_2T (Excel)
Returns the two-tailed Student t-distribution.
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, T_Dist_2T returns the #NUM! error value.
T_Dist_2T (Arg1, Arg2)
Dim dblArg1 As Double: dblArg1 =
Dim dblArg2 As Double: dblArg2 =
Dim dblT_Dist_2T As Double
dblT_Dist_2T = WorksheetFunction.T_Dist_2T(Arg1:=dblArg1, Arg2:=dblArg2)
Arguments
Arg1, Arg2Arg1 (Double) - X - The numeric value at which to evaluate the distribution.
Arg2 (Double) - Deg_freedom - An integer that indicates the number of degrees of freedom.