 MTB > read 'draft.cnt' c1-c3
      12 ROWS READ
 
  ROW    C1    C2    C3
 
    1     9    12    10
    2     7    12    10
    3     5    10    16
    4     8     8    14
   .  .  .
 
 MTB > chisquare c1-c3
 
 Expected counts are printed below observed counts
 
             C1       C2       C3    Total
     1        9       12       10       31
          10.33    10.33    10.33
 
     2        7       12       10       29
           9.67     9.67     9.67
 
     3        5       10       16       31
          10.33    10.33    10.33
 
     4        8        8       14       30
          10.00    10.00    10.00
 
     5        9        7       15       31
          10.33    10.33    10.33
 
     6       11        7       12       30
          10.00    10.00    10.00
 
     7       12        7       12       31
          10.33    10.33    10.33
     8       13        7       11       31
          10.33    10.33    10.33
 
     9       10       15        5       30
          10.00    10.00    10.00
 
    10        9       15        7       31
          10.33    10.33    10.33
 
    11       12       12        6       30
          10.00    10.00    10.00
 
    12       17       10        4       31
          10.33    10.33    10.33
 
 Total      122      122      122      366
 
 ChiSq =  0.172 +  0.269 +  0.011 +
          0.736 +  0.563 +  0.011 +
          2.753 +  0.011 +  3.108 +
          0.400 +  0.400 +  1.600 +
          0.172 +  1.075 +  2.108 +
          0.100 +  0.900 +  0.400 +
          0.269 +  1.075 +  0.269 +
          0.688 +  1.075 +  0.043 +
          0.000 +  2.500 +  2.500 +
          0.172 +  2.108 +  1.075 +
          0.400 +  0.400 +  1.600 +
          4.301 +  0.011 +  3.882 = 37.156
 df = 22
 
 
