Confidence Intervals
A confidence interval tells us how likely it is that a population parameter falls within a specified range, based on a statistic calculated from a sample of data. This interval provides a range of values that, with a certain level of confidence (usually expressed as a percentage like or ), is believed to encompass the true parameter value. The width of the interval gives an idea of the precision of our estimate, with narrower intervals representing more precise estimates.
To say that the range of values has a certain level of confidence means that if we were to repeat the experiment or sampling process many times (theoretically an infinite number of times), the true population parameter would fall within that interval in the stated percentage of all trials. For example, a confidence level means that out of such confidence intervals would contain the true population parameter (which is unknown).
If you were to repeat the sampling process an infinite number of times, each time calculating a new confidence interval using the same method, about of these intervals would contain the true population parameter. Each interval is calculated from a different sample and might be different in range, but the method of calculation ensures that of these intervals will capture the true parameter value.
Referenced by (3 direct)
If is the mean of a random sample of size from a population with a known variance , a confidence interval for is given by
If is used as an estimate of we can be confident that the error will not exceed a specified amount when the sample size is
For example, if we wish to find the sample size required for confidence, we need to know the -value where of the area under the curve is to the right, so of the area under the curve is to the left - that is Then if we know and we can compute
If is the mean of a random sample of size from a population with an unknown variance, and the standard deviation of the sample is , a confidence interval for is given by
This uses the Student t-distribution.
Large-Sample Confidence Intervals for
If is the proportion of successes in a random sample of size and an approximate confidence interval for the binomial parameter is given by
When is small and the unknown proportion is believed to be close to or , this approach doesn't work well and shouldn't be used. This approach should only be used when both and are greater than or equal to
If is used as an estimate of we can be confident that the error will be less than a specified amount when the sample size is approximately
If is used as an estimate of we can be at least confident that the error will not exceed a specified amount when the sample size is
TODO: the sample-size formula is missing from the source; complete this statement.