Regression Line
The coefficients and
 and  of the linear regression
model
 of the linear regression
model
 
The data set consists of
- explanatory variable
for  's; 's;
- dependent variable
for  's. 's.
 and
 and 
 of the parameters
of the parameters  and
 and  are obtained as follows.
 are obtained as follows.
 = 
and
= 
and
 = 
.
= 
.
Here the values
 ,
,  ,
,  , and
, and  are computed as in the
following table.
 are computed as in the
following table.
| Variable | Mean | Sum of squares | 
| Explanatory |  |  | 
| Response |  |  | 
Fitted model. The fitted linear model
Correlation. The sample correlation
 = 
.
= 
.
 of data.
Here
 of data.
Here 
 is the sum of squares within the response variable
 is the sum of squares within the response variable  's.
The value
's.
The value 
 is always between
 is always between  and
 and  .
The value
.
The value 
 is close to
 is close to  when the pairs lie close to the straight line
with positive slope,
and it is close to
 when the pairs lie close to the straight line
with positive slope,
and it is close to  when it is aligned with a negative slope.
 when it is aligned with a negative slope.
© TTU Mathematics
