7.4: Confidence Intervals
Learning Objectives
- Calculate the point estimate of a sample to estimate a population proportion.
- Construct a confidence interval for a population proportion based on a sample population.
- Calculate the margin of error for proportions as a function of sample proportion and size.
- Understand the logic of confidence intervals as well as the meaning of confidence level and confidence intervals.
Introduction
The objective of inferential statistics is to use sample data to increase knowledge about the corresponding entire population. Sampling distributions are the connecting link between the collection of data by unbiased random sampling and the process of drawing conclusions from the collected data. Results obtained from a survey can be reported as a point estimate. For example, a single sample mean is called a point estimate because this single number is used as a plausible value of the population mean. Some error is associated with this estimate - the true population mean may be larger or smaller than the sample mean. An alternative to reporting a point estimate is identifying a range of possible values might take, controlling the probability that is not lower than the lowest value in this range and not higher than the largest value. This range of possible values is known as a confidence interval. Associated with each confidence interval is a confidence level. This level indicates the level of assurance you have that the resulting confidence interval encloses the unknown population mean.
Normal distribution specifies that of data will fall within one standard error of the parameter. This logic can be turned around to state that any single random sample has a chance of falling within that range. Likewise, we may say that we are confident that in of samples, sample statistics are within plus or minus two standard errors of the population parameter. As the confidence interval is expanded for a given statistic, the confidence level increases.
The selection of a confidence level for an interval determines the probability that the confidence interval produced will contain the true parameter value. Common choices for the confidence level are and . These levels correspond to percentages of the area of the normal density curve. For example, a confidence interval covers of the normal curve -- the probability of observing a value outside of this area is less than . Because the normal curve is symmetric, half of the area is in the left tail of the curve, and the other half of the area is in the right tail of the curve. This means that of the area is in each tail.
This graph was made using the TI-83 and shows a normal distribution curve for a set of data that has a mean of and a standard deviation of . A confidence interval for the standard normal distribution, then, is the interval , since of the area under the curve falls within this interval. The are the scores that enclose the given area under the curve. For a normal distribution, the margin of error is the proportion that is added and subtracted from the mean to construct the confidence interval. For a confidence interval, the margin of error equals
The following example will help you to understand these terms and their meaning.
Example:
Jenny randomly selected muffins from one company line and had those muffins analyzed for the number of grams of fat that they each contained. Rather than reporting the sample mean (point estimate), she reported the confidence interval (interval estimator). Jenny reported that the number of grams of fat in each muffin is between and with confidence.
The population mean refers to the unknown population mean. This number is fixed, not variable, and the sample means are variable because the samples are random. If this is the case, does the confidence interval enclose this unknown true mean? Random samples lead to the formation of confidence intervals, some of which contain the fixed population mean and some of which do not. The most common mistake made by persons interpreting a confidence interval is claiming that once the interval has been constructed there is a probability that the population mean is found within the confidence interval. Even though the population mean is known, once the confidence interval is constructed, either the mean is within the confidence interval or it is not. Hence, any probability statement about this particular confidence interval is inappropriate. In the above example, the confidence interval is from to and Jenny is using a confidence level. The appropriate statement should refer to the method used to produce the confidence interval. Jenny should have stated that the method that produced the interval from to has a probability of enclosing the population mean. This does not mean that there is a probability that the population mean falls in the interval from to . The probability is attributed to the method, not to any particular confidence interval. The following diagram demonstrates how the confidence interval provides a range of plausible values for the population mean and that this interval may capture the true population mean. If you formed intervals in this manner, of them would contain the population mean.
Example:
The following questions are to be answered with reference to the above diagram.
a) Were all four sample means within , or , of the population mean? Explain.
b) Did all four confidence intervals capture the population mean? Explain.
c) In general, what percentage of should be within of the population mean?
d) In general, what percentage of the confidence intervals should contain the population mean?
Solution:
a) The sample mean for Sample 3 is not within of the population mean. It does not fall within the two vertical lines on the left and right of the sampling distribution of the sample mean.
b) The confidence interval for Sample 3 does not enclose the population mean. This interval is just to the left of the population mean , which is labeled as the vertical line found in the middle of the sampling distribution of the sample mean.
c)
d)
When the sample size is large , the confidence interval for the population mean is calculated as shown below:
where is for a confidence interval; for a confidence interval and for a confidence interval.
Example:
Julianne collects four samples of size from a known population with a population standard deviation of and a population mean of . Using the four samples, she calculates the four sample means to be:
a) For each sample, determine the confidence interval?
b) Do all four confidence intervals enclose the population mean? Explain.
Solution:
a)
b) Three of the confidence intervals enclose the population mean. The interval from to do not enclose the population mean.
Example:
Now it is time to use the graphing calculator to simulate the collection of three samples of different sizes respectively. The three sample means will be calculated as well as the three confidence intervals. The samples will be collected from a population that displays a normal distribution with a population standard deviation of and a population mean of .
randInt store in Sample size
randInt store in Sample size
randInt store in Sample size
The lists of numbers can be viewed by [Stat] enter. The next step is to calculate the mean of each of these samples.
[List] [Math] mean Repeat this for and .
The three confidence intervals are:
As was expected, the value of varied from one sample to the next. The other fact that was evident was that as the sample size increased, the length of the confidence interval became smaller or decreased.
In all of the examples shown above, you calculated the confidence intervals for the population mean using the formula . However, to use this formula, the population standard deviation had to be known in order to calculate the interval. If this value is unknown and if the sample size is large , the population standard deviation can be replaced with the sample standard deviation. Thus, the formula can be used as an interval estimator. An interval estimator of the population mean is called a confidence interval. This formula is valid only for simple random samples. Since is actually the margin of error, a confidence interval can be thought of simply as: the margin of error.
Example:
A committee set up to field - test questions from a provincial exam, randomly selected Grade students to answer the test questions. The answers were graded and the sample mean and sample standard deviation were calculated. Based on the results, the committee predicted that on the same exam, Grade students would score an average grade of with accuracy within , out of .
a) Are you dealing with a or confidence level?
b) What is the margin of error?
c) Calculate the confidence interval.
d) Explain the meaning of the confidence interval.
Solution:
a) You are dealing with a confidence level. This is indicated by out of .
b) The margin of error is .
c) The confidence interval is the margin of error which is to .
d) There is a probability that the method used to produce this interval from to results in a confidence interval that encloses the population mean (the true score for this provincial exam)
The calculation of a confidence interval for a population proportion is similar to that explained above for a sample mean. For a confidence interval of , the sampling distribution of the sample proportions is approximately normal with large sample sizes . From this statement you can say that of the sample proportions from a population are within two standard deviations (more accurately standard deviations) of the population proportion. This is shown in the diagram below:
Therefore, if a single sample proportion is within of the population proportion, then the interval to will capture the population proportion. This will happen for of all possible samples. If you look at the above formulas, you should notice that the population proportion and the sample proportion are both used to calculate the confidence interval. However, in real-life situations, the population proportion is seldom known. Therefore, is most often replaced with in the formulas above so that they now become:
and or in a more standard form There are two restrictions that apply to this formula: 1) and 2) .
As before, the margin of error is and the confidence interval is the margin of error.
Example:
A large grocery store has been recording data regarding the number of shoppers that use savings coupons at their outlet. Last year it was reported that of all shoppers used coupons, and these results were considered accurate within , out of .
a) Are you dealing with a or confidence level?
b) What is the margin of error?
c) Calculate the confidence interval.
d) Explain the meaning of the confidence interval.
Solution:
a) The statement out of indicates that you are dealing with a confidence interval.
b) The results were accurate within , so the margin of error is .
c) The confidence interval is simply the margin of error.
The confidence interval is from to .
d) The confidence interval from to for the population proportion is an interval calculated from a sample by a method that has a probability of capturing the population proportion.
Lesson Summary
In this lesson you learned that a sample mean is known as a point estimate because this single number is used as a plausible value of the population mean. In addition to reporting a point estimate, you discovered how to calculate an interval of reasonable values based on the sample data. This interval estimator of the population mean is called the confidence interval. You can calculate this interval for the population mean by using the formula . The values of are different for each confidence interval of and . You also learned that the probability is attributed to the method used to calculate the confidence interval.
Points to Consider
- Does replacing with change your chance of capturing the unknown population mean?
- Is there a way to increase the chance of capturing the unknown population mean?
Review Questions
- In a local teaching district a technology grant is available to teachers in order to install a cluster of four computers in their classrooms. From the teachers in the district, were randomly selected and asked if they felt that computers were an essential teaching tool for their classroom. Of those selected, teachers felt that computers were an essential teaching tool.
- Calculate a confidence interval for the proportion of teachers who felt that computers are an essential teaching tool.
- How could the survey be changed to narrow the confidence interval but to maintain the confidence interval?
- Josie followed the guidelines and conducted a binomial experiment. She did trials and reported a sample proportion of .
- Calculate the and confidence intervals for this sample.
- What did you notice about the confidence intervals as the confidence level increased? Offer an explanation for your findings?
- If the population proportion were , would all three confidence intervals enclose it? Explain.
Review Answers
- The interval is from to OR from to
- The confidence interval could be narrowed by increasing the sample size from to a larger number.
- The confidence interval got wider as the confidence level increased. To increase the probability of enclosing the population proportion a wider confidence interval must be chosen.
- Yes, all three confidence intervals would capture the population proportion if it were .
Vocabulary
- Binomial Experiment
- A type of survey or experiment in which there is a fixed number of trials that have one of only two outcomes. The probability of success for any trial is equal to the population proportion and remains the same for every trial. The outcomes for each trial are independent of one another and the binomial random variable, , is the number of successes observed in trials.
- Confidence Interval
- An interval of plausible values for a population parameter. Any of the values in the interval could be used to define a population for which the defined sample statistic would be a likely outcome.
- Confidence Level
- The probability that the method used to calculate the confidence interval will produce an interval that will enclose the population parameter.
- Interval Estimator
- Another name for a confidence interval
- Point Estimate
- A single number, such as a single sample mean, that is used as a plausible value of the population mean. This can also be another single value that represents a population parameter.
- Population Proportion
- A fraction of the population that possesses a certain characteristic or probability of an event occurring. The characteristic or event is called a success.
- Sample Proportion
- The ratio of successes to sample size .