 MTB > read 'a:\ed257\ibs.dat' c1-c2
      24 ROWS READ
 
  ROW     C1   C2
 
    1    4.2    1
    2    2.3    1
    3    6.6    1
    4    6.1    1
   .  .  .
 
 MTB > describe c1;
 SUBC> by c2.
 
                C2        N     MEAN   MEDIAN   TRMEAN    STDEV   SEMEAN
 C1              1        8     6.46     6.35     6.46     3.22     1.14
                 2        8    12.34    12.05    12.34     4.53     1.60
                 3        8    27.35    27.90    27.35    15.66     5.54
 
                C2      MIN      MAX       Q1       Q3
 C1              1     2.30    11.70     3.75     9.40
                 2     4.10    19.80    10.47    15.05
                 3     5.40    48.60    11.95    42.00
 
 
 MTB > unstack (c1) (c11) (c12) (c13);
 SUBC> subscripts c2.
 MTB > describe c11-c13
 
                 N     MEAN   MEDIAN   TRMEAN    STDEV   SEMEAN
 C11             8     6.46     6.35     6.46     3.22     1.14
 C12             8    12.34    12.05    12.34     4.53     1.60
 C13             8    27.35    27.90    27.35    15.66     5.54
 
               MIN      MAX       Q1       Q3
 C11          2.30    11.70     3.75     9.40
 C12          4.10    19.80    10.47    15.05
 C13          5.40    48.60    11.95    42.00
 
 
 MTB > let c21 = Absolute(c11- Mean(c11))
 MTB > let c22 = Absolute(c12 - Mean(c12))
 MTB > let c23 = Absolute(c13 - Mean(c13))
 MTB > describe c21-c23
 
                 N     MEAN   MEDIAN   TRMEAN    STDEV   SEMEAN
 C21             8    2.412    2.563    2.412    1.924    0.680
 C22             8     3.16     1.95     3.16     3.01     1.06
 C23             8    12.62    13.55    12.62     7.94     2.81
 
               MIN      MAX       Q1       Q3
 C21         0.137    5.237    0.406    4.056
 C22          0.26     8.24     1.04     6.34
 C23          1.05    21.95     4.22    20.20
 
 MTB > aovoneway c21 c22 c23
 
 ANALYSIS OF VARIANCE
 SOURCE     DF        SS        MS        F        p
 FACTOR      2     518.4     259.2    10.27    0.001
 ERROR      21     530.0      25.2
 TOTAL      23    1048.4
                                    INDIVIDUAL 95 PCT CI'S FOR MEAN
                                    BASED ON POOLED STDEV
  LEVEL      N      MEAN     STDEV  ---+---------+---------+---------+---
 C21         8     2.412     1.924  (-------*------)
 C22         8     3.163     3.009    (------*-------)
 C23         8    12.625     7.935                       (------*-------)
                                    ---+---------+---------+---------+---
 POOLED STDEV =    5.024             0.0       5.0      10.0      15.0
 
 
 MTB > let c31 = (c11-Mean(c11))**2
 MTB > let c32 = (c12-Mean(c12))**2
 MTB > let c33 = (c13-Mean(c13))**2
 MTB > aovoneway c31 c32 c33
 
 ANALYSIS OF VARIANCE
 SOURCE     DF        SS        MS        F        p
 FACTOR      2    215773    107887     9.12    0.001
 ERROR      21    248532     11835
 TOTAL      23    464305
                                    INDIVIDUAL 95 PCT CI'S FOR MEAN
                                    BASED ON POOLED STDEV
  LEVEL      N      MEAN     STDEV  --------+---------+---------+--------
 C31         8       9.1       9.9   (-------*-------)
 C32         8      17.9      27.4    (-------*-------)
 C33         8     214.5     186.2                       (-------*-------)
                                    --------+---------+---------+--------
 POOLED STDEV =    108.8                    0       100       200
 MTB > stop
 *** Minitab Release 7.1 *** Minitab, Inc. ***
 Storage available 16179
 
