13.2 Confidence Intervals and Prediction Intervals

737

OBJECTIVES By the end of this section, I will be able to …

  1. Construct confidence intervals for the mean value of for a given value of .
  2. Construct prediction intervals for a randomly chosen value of for a given value of .

1 Construct Confidence Intervals for the Mean Value of for a Given

Suppose a cell phone company wants to increase sales to 20-year-olds, and therefore wants to estimate the number of text messages sent by 20-year-old men and women. In earlier sections, we learned how to calculate the predicted value by using the regression equation For example, in Example 1 (page 716), we saw that the predicted number of text messages for the 20-year-old texter is messages. However, this estimate of 30.6 messages is only a point estimate, similar to using the sample mean alone to estimate the unknown population mean . We learned in Section 8.1 about the pitfalls of point estimates, such as the lack of a measure of confidence associated with the estimate. So, just as we learned about confidence intervals for in Chapter 8, in this section we will learn how to construct:

Refer to Figure 3 (reproduced here from page 719), which illustrates the regression assumptions. Note that, for , there is assumed to be an entire population of -values. The cell phone company is interested in this population, and wants to construct a confidence interval for the mean number of text message sent by all 20-year-olds.

image
Figure 13.17: FIGURE 3 For years old, there is an entire population of .

738

Confidence Interval for the Mean Value of for a Given A confidence interval for the mean response, that is, for the population mean of all values of , given a value of , may be constructed using the following lower and upper bounds:

where represents the given value of the predictor variable , represents the standard error of the estimate, is the number of observations, is the sample mean of the -values, and is the critical value with degrees of freedom. The requirements for the confidence interval are met if the regression assumptions are met.

Let's look at an example of constructing and interpreting such a confidence interval

EXAMPLE 8 Constructing and interpreting a confidence interval for the mean value of for a given

Construct and interpret a 95% confidence interval for the population mean number of text messages sent for all 20-year-olds.

Solution

Example 2 showed that the regression assumptions for this data set are met, thus allowing us to construct this confidence interval.

  • Using our given value , we calculate the point estimate as follows: .
  • The data set in Table 1 shows that there are people, so that the degrees of freedom for the critical value is . From the table (Table D in the Appendix), the critical value for confidence level 95% is .
  • In Example 3, we calculated and the standard error of the estimate to be .
  • The Minitab output in Figure 17 shows that years of age.

    image
    Figure 13.18: FIGURE 17 Minitab shows .

Thus,

We are 95% confident that the number of text messages sent by a randomly selected 20-year-old lies between 24.3947 and 36.8053.

image Extrapolation (page 215) continues to be a danger for confidence intervals and prediction intervals. For example, it would not have been wise to ask for a confidence interval for the population mean number of text messages sent by all 50-year-old people because lies outside the range of .

NOW YOU CAN DO

Exercises 3–8.

739

2 Construct Prediction Intervals for an Individual Value of for a Given

The formula for constructing a prediction interval for an individual random value of is similar to that for the confidence interval for the mean , except that the margin of error is larger. We talk about why this is so later in this section.

Prediction Interval for a Randomly Selected Value of for a Given

A prediction interval for a randomly selected value of given a value of may be constructed using the following lower and upper bounds:

where represents the given value of the predictor variable , represents the standard error of the estimate, is the number of observations, is the sample mean of the values, and is the critical value with degrees of freedom. The requirements for the confidence interval are met if the regression assumptions are met.

EXAMPLE 9 Constructing and interpreting a prediction interval for a randomly selected value of for a given

Construct and interpret a 95% prediction interval for the number of text messages sent by a randomly selected 20-year-old.

Solution

The requirements for the prediction interval are the same as for the confidence interval, so we know from Example 8 that the requirements for constructing the prediction interval are met. Using the values obtained in Example 8, we calculate the lower and upper bounds as follows:

We are 95% confident that the number of text messages sent by a randomly selected 20-year-old lies between 24.3947 and 36.8053.

NOW YOU CAN DO

Exercises 9–14.

740

Developing Your Statistical Sense

Why Are Prediction Intervals Wider?

The prediction interval (24.3947, 36.8053) from Example 9 is wider than the corresponding confidence interval from Example 8. This is true in general, but why? Note that the only difference in the formulas for the prediction interval, compared to the confidence interval, is the “1 +” inside the radical in the formula for the prediction interval. This ensures that the prediction interval always has a larger margin of error than the confidence interval for a given . This larger margin of error reflects the greater variability of individual responses compared to the mean response.

To see how individual values have greater variability than their means, consider that you would probably stand a better chance of guessing the class mean height to within 2 inches instead of the height of a randomly chosen student. This is because the variability of the randomly selected is larger than that of the mean . In the one-sample case, this is because the standard deviation of a particular value of is always larger than the standard deviation of the sample mean , which is . Similarly, the prediction interval for a randomly chosen is wider than the confidence interval for the mean value of , for a given value of .

Finally, we illustrate the use of technology to construct confidence intervals and prediction intervals.

EXAMPLE 10 Confidence intervals and prediction intervals using technology

Use Minitab and JMP to construct a 95% confidence interval for the population mean number of text messages sent by all 20-year-olds, and to construct a 95% prediction interval for the number of text messages sent by a randomly selected 20-year-old.

Solution

We use the instructions provided in the Step-by-Step Technology Guide below. Figure 18 shows the Minitab results, and Figure 19 shows the JMP results.

image
Figure 13.19: FIGURE 18 Minitab results for confidence interval and prediction interval.
image
Figure 13.20: FIGURE 19 JMP results for confidence interval and prediction interval.