Linear Regression Inferences
   

   

 Math Help -> Statistics -> Linear Regression Inferences 

Inferences for Simple Linear Regression

Contents of this section:

Here's what you'll find in this section:

Inferences for Simple Linear Regression and Correlation
bullet 
bulletThe Simple Linear Regression

The Simple Linear Regression

Regression analysis is a statistical tool that utilizes the relation between two or more quantitative variables so that one variable (dependent variable) can be predicted from the others (independent variables). For example, if one knows the relationship between advertising expenditures and sales, one can predict sales by regression analysis once the level of advertising expenditures has been set. In this chapter, we specifically consider the case when a single independent variable is used for predicting the dependent variable and the dependent variable and the independent variable are linearly related.

 
bullet 
bulletThe Model
bullet

The Model

The model can be stated as: [ Y_i;=; _0 + _1 X_i + _i, i=1,2,..., n ; ] where
bulletY is the response variable (also called dependent variable),
bulletX is the predictor (also called independent variable),
bullettex2html_wrap_inline5029 and tex2html_wrap_inline5031 are the unknown parameters,
bullettex2html_wrap_inline5033 is the error (also called random deviation).
Note that, Y = tex2html_wrap_inline5029 + tex2html_wrap_inline5031 X is the population regression line; while the least squares line Y = tex2html_wrap_inline2973 + tex2html_wrap_inline2971 X introduced in Chapter 2 is an estimate of this population line.

 

bullet 
bulletPoint Estimates of Parameters of the Model
bullet

Point Estimates of Parameters of the Model

Recall the following notations:

eqnarray2210

Then
bullettex2html_wrap_inline2971 = point estimate of tex2html_wrap_inline5031 = tex2html_wrap_inline5073 .
bullettex2html_wrap_inline2973 = point estimate of tex2html_wrap_inline5029 = tex2html_wrap_inline5079 .
bulletThe estimated regression line is: Y = tex2html_wrap_inline2973 + tex2html_wrap_inline2971 X.
bulletPoint estimate of the mean y value when x = tex2html_wrap_inline5093 is tex2html_wrap_inline2973 + tex2html_wrap_inline2971 tex2html_wrap_inline5093 .
bulletPoint prediction of a new observation tex2html_wrap_inline5101 when x = tex2html_wrap_inline5093 is tex2html_wrap_inline2973 + tex2html_wrap_inline2971 tex2html_wrap_inline5093 .
Also recall that the i-th residual tex2html_wrap_inline2993 is defined to be [ e_i=y_i-y_i, where y_i= b_0 +b_1 x_i, ] and the residual sum of squares, SSRes is

 

eqnarray2230

We then have
bullettex2html_wrap_inline5117 = point estimate of tex2html_wrap_inline2693 = SSRes/(n-2).

Note that

  1. One should only do prediction within the range where you observed X.
  2. Sum of the residuals equals zero.
  3. The estimated slope tex2html_wrap_inline2971 and the sample correlation coefficient (Week 2) have the same sign. In fact tex2html_wrap_inline2971 = r tex2html_wrap_inline5131 .
EXAMPLE:\ Eddie's Restaurant decides to invest some money on advertising. To have a better idea of what the sales amount would be if they invest 5 to 7 thousand dollars on advertising, they collect the following data on the relationship between advertising X and sales Y from a sample of five restaurants (all numbers are in thousands of dollars)

tabular2241

 
bullettex2html_wrap_inline5137 , tex2html_wrap_inline5139 . Therefore, tex2html_wrap_inline5141 .
bullettex2html_wrap_inline5143 .
bulletThe estimated regression line is: Y = 35.042 + 1.394 X.
bulletSuppose Eddie is going to put down 6 (thousand) dollars as the advertising expense, what do you predict the restaurant will earn?

Ans: tex2html_wrap_inline5149 (thousand).


 

bulletInferences for Regression Parameters
bullet

Inferences for Regression Parameters

In many situations, a general form for a tex2html_wrap_inline4041 % confidence interval for a parameter tex2html_wrap_inline3943 is [ ^ tex2html_wrap5171 (critical value)SE(^ tex2html_wrap5171 ), ] where tex2html_wrap_inline5155 is a sample statistic used to estimate tex2html_wrap_inline3943 , SE tex2html_wrap_inline5159 [the standard error of tex2html_wrap_inline3943 ] gives the variation of tex2html_wrap_inline5155 and the critical value is a value such as tex2html_wrap_inline5165 or tex2html_wrap_inline5167 . Thus, all we have to do is (1) find the formula for SE tex2html_wrap_inline5159 and (2) ``plug-in'' numbers into this general equation to get a confidence interval. The following confidence (prediction) intervals all follow this rule.


 

 

Internet References

 

Related pages in this website

 

 

The webmaster and author of the Math Help site is Graeme McRae.
     [home]  [email]  [search]  [Links to Math Sites]  [Whiteboard]