The test involves partitioning the error or residual sum of squares into the following
components:(S11-1)where SSPEis the sum of squares attributable to pure error,and SSLOFis the sum of squares at-
tributable to the lack of fitof the model. To compute SSPE, we must have repeated observations
on the response Yfor at least one level of x. Suppose we have ntotal observations such thatNote that there are mdistinct levels of x. The contribution to the pure-error sum of squares at
x 1 (say) would be(S11-2)where represents the average of all n 1 repeat observations on the response yat x 1. The total sum
of squares for pure error would be obtained by summing Equation S11-2 over all levels of xas(S11-3)There are degrees of freedom associated with the pure-error
sum of squares. The sum of squares for lack of fit is simply(S11-4)with n 2 npem2 degrees of freedom. The test statistic for lack of fit would then be(S11-5)and we would reject the hypothesis that the model adequately fits the data if f 0 f,m2,nm.F 0 SSLOF 1 m 22
SSPE 1 nm 2MSLOF
MSPESSLOFSSESSPEnpe gmi 1 1 ni 12 nmSSPE ami 1
aniu 11 yiuyi 22y 1an 1u 11 y 1 uy 122y 11 , y 12 ,p, y 1 n 1 repeated observations at x 1
y 21 , y 22 ,p, y 2 n 2 repeated observations at x 2
#
#
#
ym 1 , ym 2 ,p, ymnm repeated observations at xmSSESSPESSLOF11-2Figure S11-1 A
regression model
displaying lack of fit. xy^y = ^ 0 + ^ 1 xPQ220 6234F.CD(11) 5/17/02 3:49 PM Page 2 RK UL 6 RK UL 6:Desktop Folder:TEMP WORK:MONTGOMERY:REVISES UPLO D CH114 FIN L:Quark F