TRY NEW VERSION

T_INV

T_INV(arg1, arg2) → { number }

Returns the left-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();
var result = oFunction.T_INV(0.75, 2);
oWorksheet.GetRange("B2").SetValue(result);

builder.SaveFile("xlsx", "T_INV.xlsx");
builder.CloseFile();

Resulting document