 DATA FROM OTT TABLE 10.19

 MTB > set c2
 DATA> (1:3)10
 DATA> end
 MTB > print c2
 
 C2      
    1    1    1    1    1    1    1    1    1    1    2    2    2    2    2 
    2    2    2    2    2    3    3    3    3    3    3    3    3    3    3 
 
 MTB > describe c1;
 SUBC> by c2.
 
                C2        N     MEAN   MEDIAN   TRMEAN    STDEV   SEMEAN
 C1              1       10    23.90    24.50    24.37     6.56     2.07
                 2       10    22.10    21.00    21.87     6.74     2.13
                 3       10    14.90    14.00    14.13     5.86     1.85
 
                C2      MIN      MAX       Q1       Q3
 C1              1    12.00    32.00    18.75    30.00
                 2    14.00    32.00    15.50    27.50
                 3     8.00    28.00    10.50    16.50
 
 MTB > kruskal-wallis c1 c2
 
 LEVEL    NOBS    MEDIAN  AVE. RANK   Z VALUE
     1      10     24.50       19.7      1.85
     2      10     21.00       17.8      1.01
     3      10     14.00        9.0     -2.86
 OVERALL    30                 15.5
 
 H = 8.41  d.f. = 2  p = 0.015
 H = 8.47  d.f. = 2  p = 0.015 (adj. for ties)
 
 MTB > let c3 = rank(c1)
 MTB > print c2 c3
 
  ROW   C2     C3
 
    1    1   29.0
    2    1   26.5
    3    1   26.5
    4    1   25.0
    5    1   22.0
    6    1   20.0
    7    1   16.5
    8    1   14.5
    9    1   13.0
   10    1    4.0
   11    2   29.0
   12    2   29.0
   13    2   22.0
   14    2   22.0
   15    2   19.0
   16    2   16.5
   17    2   14.5
   18    2   12.0
   19    2    7.0
   20    2    7.0
   21    3   24.0
   22    3   18.0
   23    3   10.5
   24    3   10.5
   25    3    7.0
   26    3    7.0
   27    3    7.0
   28    3    3.0
   29    3    2.0
   30    3    1.0
 
 MTB > oneway c3 c2
 
 ANALYSIS OF VARIANCE ON C3      
 SOURCE     DF        SS        MS        F        p
 C2          2     651.8     325.9     5.57    0.009
 ERROR      27    1579.7      58.5
 TOTAL      29    2231.5
                                    INDIVIDUAL 95 PCT CI'S FOR MEAN
                                    BASED ON POOLED STDEV
  LEVEL      N      MEAN     STDEV  ----+---------+---------+---------+--
      1     10    19.700     7.754                     (-------*-------)
      2     10    17.800     7.938                 (--------*-------)
      3     10     9.000     7.238   (-------*-------)
                                    ----+---------+---------+---------+--
 POOLED STDEV =    7.649              6.0      12.0      18.0      24.0
 
