# CONFIDENCE.T Function

Calculates the confidence value for the confidence interval of a population mean

## T Confidence Interval in Excel

The T Confidence Interval Function is categorized under Statistical functions. The function calculates the confidence value that can be used to construct the confidence interval for a population mean for a supplied probability and sample size.  It is often used in determining the t value for 95 confidence interval.

As a financial analyst, the CONFIDENCE.T function is useful in predicting the value-at-risk for a given portfolio.

### T Confidence Interval Formula

=CONFIDENCE.T(alpha,standard_dev,size)

The function uses the following arguments:

1. Alpha (required argument) – It is the significance level used to compute the confidence level. The significance level is equal to 1– confidence level. So, a significance level of 0.05 is equal to a 95% confidence level.
2. Standard_dev (required argument) – It is the population standard deviation for the data range. It is assumed that we know it.
3. Size (required argument) – It is the sample size.

To calculate the confidence interval for a population mean, the returned confidence value must then be added to and subtracted from the sample mean. For example, for the sample mean x:

### How to use T Confidence Interval in Excel?

To understand the uses of CONFIDENCE.T function, let us consider an example:

#### Example – T Test Confidence Interval

Suppose we know the mean salary of CEOs in the healthcare industry is \$200,000. We can use the CONFIDENCE.T function if we wish to calculate how close this sample mean is to the actual population mean, specifically, if we want to know what range of salaries, working at a 95% confidence level, includes the population mean. Using the data below:

• Significance level: 0.05 (i.e. 95% confidence)
• Standard deviation of the population: 50,000
• Sample size: 100

The CONFIDENCE.T function is used to calculate the confidence interval with a significance of 0.05 (i.e. a confidence level of 95%).

To find out the confidence interval for the population mean, we will use the following formula:

We get the result below:

Therefore, the confidence interval is 200,000 ± 9921.0848, which is equal to the range 190,078.9152 and 209,921.0852.

### Notes about T Confidence Interval

1. #NUM! error – Occurs if either:
• The given alpha is less than or equal to zero or is greater than or equal to zero.
• The given standard deviation is less than or equal to zero.
• The size argument given is less than one.
2. #VALUE! error – Occurs when any of the argument provided is non-numeric
3. #DIV/0! error – Occurs when the size argument is equal to 1.
4. If the size argument is not an integer, it is truncated.

Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional resources:

• Excel Functions for Finance