Iain Pardoe

Applied Regression Modeling


Скачать книгу

      We can express the model we have been using to estimate the population mean, images, as

equation

      In particular, write the images‐value to be predicted as images, and decompose this into two pieces as above:

equation

      Then subtract images, which represents potential values of repeated sample means, from both sides of this equation:

      Thus, in estimating the population mean, the only error we have to worry about is estimation error, whereas in predicting an individual images‐value, we have to worry about both estimation error and random error.

      Recall from Section 1.5 that the form of a confidence interval for the population mean is

equation

      The term images in this formula is an estimate of the standard deviation of the sampling distribution of sample means, images, and is called the standard error of estimation. The square of this quantity, images, is the estimated variance of the sampling distribution of sample means, images. Then, thinking of images as some fixed, unknown constant, images is also the estimated variance of the estimation error, images, in expression (1.1).

      The estimated variance of the random error, images, in expression (1.1) is images. It can then be shown that the estimated variance of the prediction error, images, in expression (1.1) is images. Then, images is called the standard error of prediction.

      Thus, in general, we can write a prediction interval for an individual images‐value, as

equation

      where images is the sample mean, images is the sample standard deviation, images is the sample size, and the t‐percentile comes from a t‐distribution with images degrees of freedom.

equation

      What about the interpretation of a prediction interval? Well, for the home prices example, loosely speaking, we can say that “we are 95% confident that the sale price for an individual home picked at random from all single‐family homes in this housing market will be between images and images.” More precisely, if we were to take a large number of random samples of size 30 from our population of sale prices and calculate a 95% prediction interval for each, then 95% of those prediction intervals would contain the (unknown) sale price for an individual home picked at random from the population.

      Interpretation of a prediction interval for an individual images‐value:

      Suppose we have calculated a 95% prediction interval for an individual images‐value to be (images, images).