Returns the Student's t-distribution.
Name | Type | Description |
arg1 | number | The numeric value at which to evaluate the distribution. |
arg2 | number | An integer indicating the number of degrees of freedom that characterize the distribution. |
arg3 | number | Specifies the number of distribution tails to return: one-tailed distribution = 1; two-tailed distribution = 2. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); var ans = oFunction.TDIST(1.5, 10, 1); oWorksheet.GetRange("B2").SetValue(ans); builder.SaveFile("xlsx", "TDIST.xlsx"); builder.CloseFile();