TRY NEW VERSION

T_INV_2T

T_INV_2T(arg1, arg2) → { number }

Returns the two-tailed inverse of the Student's t-distribution.

Parameters:

Name Type Description
arg1 number

The probability associated with the two-tailed Student's t-distribution, a number between 0 and 1 inclusive.

arg2 number

A positive integer indicating the number of degrees of freedom to characterize the distribution.

Returns:

Type
number

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.T_INV_2T(0.5, 10));
builder.SaveFile("xlsx", "T_INV_2T.xlsx");
builder.CloseFile();

Resulting document