The degrees of freedom for the chi-square test is equal to m-p-1. You can save the observed and expected interval percentages in the OUTFIT= data set discussed in "Output Data Sets". Note that empty ...