WorksheetFunction.T_Dist_2T method (Excel)

Returns the two-tailed Student t-distribution.

Syntax

expression.T_Dist_2T (Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Double X - The numeric value at which to evaluate the distribution.
Arg2 Required Double Deg_freedom - An integer that indicates the number of degrees of freedom.

Return value

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, T_Dist_2T 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.