Ex ample 11. 1. Problem: it is expected that the average percentage yield, Y,
from a chemical process is linearly related to the process temperature, x, in C.
Determine the least-square regression line for E Y on the basis of 10 observa-
tions given in Table 11.1.
Answer: in view of Equations (11.7) and (11.8), we need the following
quantities:
The substitution of these values into Equations (11.7) and (11.8) gives
The estimated regression line together with observed sample values is shown
in F igure 11.2.
It is noteworthy that regression relationships are valid only for the range
of x values represented by the data. Thus, the estimated regression line in
Example 11.1 holds only for temperatures between 45Cand90 C.Extrapolation
of the result beyond this range can be misleading and is not valid in general.
Another word of caution has to do with the basic linear assumption between
E Y and x. Linear regression analysis such as the one performed in Example
11.1 is based on the assumption that the true relationship between E Y and
x is linear. Indeed, if the underlying relationship is nonlinear or nonexistent,
Table 11. 1 Percentage yield, yi, with process temperature, xi, for Example 11.1
i
12345678910
x ( C) 45 50 55 60 65 70 75 80 85 90
y 43454851555759636668
Linear Models and Linear Regression 341
fg
x
1
n
Xn
i 1
xi
1
10
45 50
90 67 : 5 ;
y
1
n
Xn
i 1
yi
1
10
43 45
68 55 : 5 ;
Xn
i 1
xix^2 2062 : 5 ;
Xn
1
xix
yiy 1182 : 5 :
^^1182 :^5
2062 : 5
0 : 57 ;
^ 55 : 5 0 : 57 67 : 5 17 : 03 :
fg
fg
i