- 115 Views
- Uploaded on
- Presentation posted in: General

STA291

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

STA291

Statistical Methods

Lecture 29

Standard Errors for Mean Values

Confidence Interval for the Mean Response

Last time, we said we were modeling our line to infer the “line of means”—the expected value of our response variable for each given value of the explanatory variable.

The confidence interval for the mean response, mv, at a value xv, is:

where:

SE, and the confidence interval, becomes smaller with increasing n.

SE, and the confidence interval, are larger for samples with more spread around the line (when se is larger).

Standard Errors for Mean Values

Confidence Interval for the Mean Response

The confidence interval for the mean response, mv, at a value xv, is:

where:

SE becomes larger the further xν gets from . That is, the confidence interval broadens as you move away from . (See figure at right.)

Standard Errors for Predicted Values

Prediction Interval for an Individual Response

Now, we tackle the more difficult (as far as additional variability) of predicting a single value at a value xv. When conditions are met, that interval is:

where:

Because of the extra term , the confidence interval for individual values is broader that those for the predicted mean value.

Difference Between Confidence and Prediction Intervals

Confidence interval for a mean:

The result at 95% means:

“We are 95% confident that the mean value of y is between 4.40 and 4.70 when x = 10.1.”

Difference Between Confidence and Prediction Intervals

Prediction interval for an individual value:

The result at 95% means:

“We are 95% confident that a single

measurement of y will be between 3.95

and 5.15 when x= 10.1.”

Using Confidence and Prediction Intervals

Example : External Hard Disks

A study of external disk drives reveals a linear relationship between the Capacity (in GB) and the Price (in $). Regression resulted in the following:

Price = 18.64 + 0.104Capacity

se = 17.95, and SE(b1) = 0.0051

Find the predicted Price of a 1000 GB hard drive.

Find the 95% confidence interval for the mean Price of all 1000 GB hard drives.

Find the 95% prediction interval for the Price of one 1000 GB hard drive.

Using Confidence and Prediction Intervals

Example : External Hard Disks

A study of external disk drives reveals a linear relationship between the Capacity (in GB) and the Price (in $). Regression resulted in the following:

Price = 18.64 + 0.104Capacity

se = 17.95, and SE(b1) = 0.0051

Find the predicted Price of a 1000 GB hard drive.

Price = 18.64 + 0.104(1000) = 122.64

Using Confidence and Prediction Intervals

Example : External Hard Disks

A study of external disk drives reveals a linear relationship between the Capacity (in GB) and the Price (in $). Regression resulted in the following:

Price = 18.64 + 0.104Capacity

se = 17.95, and SE(b1) = 0.0051

Find the 95% confidence interval for the mean Price of all 1000 GB hard drives.

Using Confidence and Prediction Intervals

Example : External Hard Disks

Price = 18.64 + 0.104Capacity

se = 17.95, and SE(b1) = 0.0051

Find the 95% prediction interval for the price of one 1000 GB hard drive.

- Construct and interpret a confidence interval for the mean value
- Construct and interpret a prediction interval for an individual value