CONFIDENCE_T

function CONFIDENCE_T(arg1: number = null, arg2: number = null, arg3: number = null): number

Description

Returns the confidence interval for a population mean, using a Student's t distribution.

Parameters

arg1numberdefault: null

The significance level used to compute the confidence level, a number greater than 0 and less than 1.

arg2numberdefault: null

The population standard deviation for the data range and is assumed to be known. This value must be greater than 0.

arg3numberdefault: null

The sample size.

Returns

number

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.CONFIDENCE_T(0.5, 57, 8);
oWorksheet.GetRange("B2").SetValue(ans);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).