EXAMPLE 9.14 The Goodness-of-Fit Test from Software

act

Software output from Minitab and SPSS for this problem is given in Figure 9.5. Both report the P-value as 0.968. Note that the SPSS output includes a column titled “Residual.” For tables of counts, a residual for a cell is defined as

Note that the chi-square statistic is the sum of the squares of these residuals.

image
Figure 9.5: FIGURE 9.5 (a) Minitab and (b) SPSS output, Example 9.14.