Applied Regression Modeling. Iain Pardoe

Чтение книги онлайн.

Читать онлайн книгу Applied Regression Modeling - Iain Pardoe страница 18

Applied Regression Modeling - Iain Pardoe

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

to make statistical inferences about the population mean, images.

      We have already seen that the sample mean, images, is a good point estimate of the population mean, images (in the sense that it is unbiased—see Section 1.4). It is also helpful to know how reliable this estimate is, that is, how much sampling uncertainty is associated with it. A useful way to express this uncertainty is to calculate an interval estimate or confidence interval for the population mean, images. The interval should be centered at the point estimate (in this case, images), and since we are probably equally uncertain that the population mean could be lower or higher than this estimate, it should have the same amount of uncertainty either side of the point estimate. We quantify this uncertainty with a number called the “margin of error.” Thus, the confidence interval is of the form “point estimate images margin of error” or “(point estimate images margin of error, point estimate images margin of error).”

equation

      The difference from earlier calculations is that this time images is the focus of inference, so we have not assumed that we know its value. One consequence for the probability calculation is that in the fourth line we have “images.” To change this to “images” in the fifth line, we multiply each side of the inequality sign by “images” (this also has the effect of changing the direction of the inequality sign).

      This probability statement must be true for all potential values of images and images. In particular, it must be true for our observed sample statistics, images and images. Thus, to find the values of images that satisfy the probability statement, we plug in our sample statistics to find

equation

      This shows that a population mean greater than images would satisfy the expression images. In other words, we have found that the lower bound of our confidence interval is images, or approximately images. The value 20.1115 in this calculation is the margin of error.

      To find the upper bound, we perform a similar calculation:

equation

      To find the values of images that satisfy this expression, we plug in our sample statistics to find

equation

      We can write these two calculations a little more concisely as

equation

      As before, we plug in our sample statistics to find the values of images that satisfy this expression:

equation

      This shows that a population mean between images and images would satisfy the expression images. In other words, we have found that a 95% confidence interval for images for this example is (images, images), or approximately (images, images). It is traditional to write confidence intervals with the lower number on the left.

      More generally, using symbols, a 95% confidence interval

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