TINV
function TINV(arg1: number = null, arg2: number = null): number
Description
Returns the two-tailed inverse of the Student's t-distribution.
Parameters
- arg1
number
null The probability associated with the two-tailed Student's t-distribution, a number between 0 and 1 inclusive.
- arg2
number
null A positive integer indicating the number of degrees of freedom to characterize the distribution.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var result = oFunction.TINV(0.5, 10);
oWorksheet.GetRange("B2").SetValue(result);