Statistical Intervals Based on a Single Sample
Large-Sample Confidence Intervals for a Population Mean and Proportion
Large-Sample Interval for μ
- Let be a random sample from a population with mean and standard deviation .
- The Central Limit Theorem (CLT) implies that has approximately a normal distribution for large , regardless of the population distribution.
- has approximately a standard normal distribution.
- A large-sample confidence interval (CI) for with a confidence level of approximately is given by:
- This CI is valid regardless of the shape of the population distribution.
- In practice, the population standard deviation is rarely known and is replaced by the sample standard deviation .
- The standardized variable becomes:
- For large , the substitution of for adds little extra variability, and still has approximately a standard normal distribution.
Proposition
- If is sufficiently large, the standardized variable
has approximately a standard normal distribution. - The large-sample confidence interval for is:
- This interval is valid regardless of the shape of the population distribution.
- The CI can be expressed as:
Point estimate of ± (z critical value) × (estimated standard error of the mean). - Generally, n > 40 is sufficient to justify the use of this interval.
Example 7.6
- Data collected on odometer readings (miles) for a sample of 50 used Porsche Boxsters from cars.com.
- Sample data: 2948, 30552, 30600, …, 84000.
- Summary quantities: , sample mean , median = 45013.5, sample standard deviation .
- A 95% confidence level requires .
- The 95% confidence interval is:
- Interpretation: We are 95% confident that the true population mean odometer reading lies between 38,294.7 and 53,064.1 miles.
General Large-Sample Confidence Interval
- The large-sample intervals for and are special cases of a general large-sample CI for a parameter .
- Suppose is an estimator satisfying:
- Approximately a normal distribution.
- Approximately unbiased.
- An expression for , the standard deviation of , is available.
- Standardizing yields the random variable
, which has approximately a standard normal distribution. - The lower and upper confidence limits are and , respectively.
- If involves unknown parameters, estimate them to obtain , then a valid CI is
. - This CI is a point estimate of ± (z critical value) × (estimated standard error of the estimator).
Confidence Interval for a Population Proportion
- Let denote the population proportion of successes.
- A random sample of individuals is selected, and is the number of successes in the sample.
- Provided is small compared to the population size, can be regarded as a binomial random variable with and , where .
- If both and , has approximately a normal distribution.
- The natural estimator of is , the sample fraction of successes.
- Since is just multiplied by the constant , also has approximately a normal distribution.
- The standard deviation of is , which involves the unknown parameter .
- A confidence interval for with confidence level approximately is:
Proposition
Let . Then a confidence interval for a population proportion with confidence level approximately is:
This is often referred to as the score CI for .
If the sample size is very large, then is generally quite negligible compared to 1, and the score interval is approximately:
The actual coverage probability for the traditional interval can differ considerably from the nominal probability, particularly when is not close to 0.5.
The score interval rectifies this behavior, and its actual confidence level will be quite close to the nominal level.
The midpoint of the score interval is always a bit closer to 0.5 than is the midpoint of the traditional interval, which is especially important when is close to 0 or 1.
The score interval can be used with nearly all sample sizes and parameter values.
Example 7.8
- In trials, 16 resulted in ignition of a substrate.
- A point estimate for is .
- A 95% confidence interval for is calculated.
The traditional interval is =
These two intervals would be in much closer agreement if the sample size were substantially larger.
Equating the width of the CI for to a prespecified width gives a quadratic equation for the sample size necessary to give an interval with a desired degree of precision.
- Neglecting the terms in the numerator involving gives
- This latter expression is what results from equating the width of the traditional interval to .
- The most conservative approach is to take advantage of the fact that is a maximum when .
One-Sided Confidence Intervals (Confidence Bounds)
One-sided confidence intervals give either a lower confidence bound or an upper confidence bound for the parameter being estimated.
For example, a psychologist may wish to calculate a 95% upper confidence bound for true average reaction time to a particular stimulus.
Because the cumulative area under the standard normal curve to the left of 1.645 is 0.95
Manipulating the inequality inside the parentheses to isolate on one side and replacing random variables by calculated values gives the inequality
μ > \bar{x} – 1.645\frac{s}{\sqrt{n}}; the expression on the right is the desired lower confidence bound.