The CONFIDENCE function in Excel is a statistical tool that helps users calculate the confidence interval for a population mean based on a specific level of confidence. This function is particularly useful in research and data analysis, allowing for informed decision-making based on statistical evidence.
Syntax
CONFIDENCE(alpha, standard_dev, size)
- alpha: This parameter represents the significance level which is related to the confidence level. For example, a 95% confidence level corresponds to a significance level of 0.05.
- standard_dev: This denotes the standard deviation of the population. It measures how much the values in the population differ from the mean.
- size: This indicates the size of the sample drawn from the population. It is a count of the number of observations in the sample.
Example #1
=CONFIDENCE(0.05, 10, 30)
This function call calculates the confidence interval for a population mean with a 95% confidence level, a standard deviation of 10, and a sample size of 30. The result is approximately 3.65, indicating the range within which the population mean lies with 95% certainty.
Example #2
=CONFIDENCE(0.01, 5, 50)
Here, the function calculates the confidence interval for a population mean at a 99% confidence level, using a standard deviation of 5 with a sample size of 50. The output would be roughly 1.52, reflecting the narrower range expected at a higher confidence level.
Example #3
=CONFIDENCE(0.10, 15, 100)
In this example, the function computes the confidence interval for a mean at a 90% confidence level, with a standard deviation of 15 and a sample size of 100. The result is around 2.58, highlighting the balance between confidence level and interval width.
Error handling
- NUM! This error occurs if alpha is not between 0 and 1, or if the standard deviation is non-positive. Ensure that your alpha is a valid probability and standard deviation is greater than zero.
- DIV/0! This error happens if the size parameter is less than 1. Confirm that your sample size is at least one, as a valid sample is necessary for calculating confidence intervals.
- VALUE! This appears when any of the arguments are of the wrong type. Check that all inputs are numeric and appropriate for the function.