WorksheetFunction.T_Dist (Excel)

Returns a Student t-distribution where a numeric value (x) is a calculated value of t for which the Percentage Points are computed.

If any argument is nonnumeric, T_Dist returns the #VALUE! error value. If deg_freedom < 1, T_Dist returns the #NUM! error value. If x < 0, T_Dist returns the #NUM! error value.

T_Dist (Arg1, Arg2, Arg3)


Dim dblArg1 As Double: dblArg1 = 
Dim dblArg2 As Double: dblArg2 = 
Dim dblT_Dist As Double
dblT_Dist = WorksheetFunction.T_Dist(Arg1:=dblArg1, Arg2:=dblArg2, Arg3:=True)

Arguments

Arg1, Arg2, Arg3

Arg1 (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.

Arg3 (Boolean) - Cumulative - A logical value that determines the form of the function. If cumulative is True, T_Dist returns the cumulative distribution function; if False, it returns the probability density function.