EXAMPLE 10.20
Computing s2. The estimate of σ2 is s2, the sum of the squares of the residuals divided by n − 2. The estimated standard deviation about the line is the square root of this quantity.
s2=∑e2in−2
=(−1.023)2+(−2.697)2+⋯+(2.689)24
= 22.127
So the estimate of the standard deviation about the line is
s=√22.12702=4.704