Worksheet size: 500000 cells


MTB > Read 'G:\DRR95\95ED257\SUNBURN.DAT' c1.
Entering data from file: G:\DRR95\95ED257\SUNBURN.DAT
     40 rows read.
MTB > Set c3
DATA>   2( 1 : 10 / 1 )2
DATA>   End.
MTB > Set c2
DATA>   1( 1 : 2 / 1 )20
DATA>   End.
MTB > print c1-c3

Data Display


 Row     C1   C2    C3

   1    8.2    1     1
   2    7.6    1     1
   3    3.6    1     2
   4    3.5    1     2
   5   10.7    1     3
   6   10.3    1     3
   7    3.9    1     4
   8    4.4    1     4
   9   12.9    1     5
  10   12.1    1     5
  11    5.5    1     6
  12    5.9    1     6
  13    9.1    1     7
  14    9.7    1     7
  15   13.7    1     8
  16   13.2    1     8
  17    8.1    1     9
  18    8.7    1     9
  19    2.5    1    10
  20    2.8    1    10
  21    6.1    2     1
  22    6.8    2     1
  23    4.3    2     2
  24    4.7    2     2
  25    9.6    2     3
  26    9.2    2     3
  27    2.3    2     4
  28    2.5    2     4
  29   12.4    2     5
  30   12.8    2     5
  31    4.8    2     6
  32    4.0    2     6
  33    8.3    2     7
  34    8.6    2     7
  35   12.9    2     8
  36   13.6    2     8
  37    8.0    2     9
  38    7.5    2     9
  39    2.1    2    10
  40    2.5    2    10

MTB > anova c1=c2|c3;
SUBC> random c3.

Analysis of Variance (Balanced Designs)


Factor     Type Levels Values
C2        fixed      2     1     2
C3       random     10     1     2     3     4     5     6     7     8     9
                          10


Analysis of Variance for C1      

Source      DF         SS         MS       F      P
C2           1      4.489      4.489    6.76  0.029
C3           9    517.486     57.498   86.59  0.000
C2*C3        9      5.976      0.664    5.03  0.001
Error       20      2.640      0.132
Total       39    530.591 


MTB > table c2 c3;
SUBC> mean c1.

Tabulated Statistics

  
 
 
 
 ROWS: C2     COLUMNS: C3
 
           1        2        3        4        5        6        7        8
  
  1    7.900    3.550   10.500    4.150   12.500    5.700    9.400   13.450
  2    6.450    4.500    9.400    2.400   12.600    4.400    8.450   13.250
 ALL   7.175    4.025    9.950    3.275   12.550    5.050    8.925   13.350
 
           9       10      ALL
  
  1    8.400    2.650    7.820
  2    7.750    2.300    7.150
 ALL   8.075    2.475    7.485
 
  CELL CONTENTS --
               C1:MEAN

MTB > anova c1=c2|c3;
SUBC> random c3;
SUBC> ems;
SUBC> means c2|c3.

Analysis of Variance (Balanced Designs)


Factor     Type Levels Values
C2        fixed      2     1     2
C3       random     10     1     2     3     4     5     6     7     8     9
                          10


Analysis of Variance for C1      

Source      DF         SS         MS       F      P
C2           1      4.489      4.489    6.76  0.029
C3           9    517.486     57.498   86.59  0.000
C2*C3        9      5.976      0.664    5.03  0.001
Error       20      2.640      0.132
Total       39    530.591 


Source      Variance Error Expected Mean Square
           component  term (using unrestricted model)
 1 C2                  3   (4) + 2(3) + Q[1]
 2 C3        14.2086   3   (4) + 2(3) + 4(2)
 3 C2*C3      0.2660   4   (4) + 2(3)
 4 Error      0.1320       (4)


    MEANS

  C2    N        C1
   1   20    7.8200
   2   20    7.1500

   C3   N        C1
    1   4     7.175
    2   4     4.025
    3   4     9.950
    4   4     3.275
    5   4    12.550
    6   4     5.050
    7   4     8.925
    8   4    13.350
    9   4     8.075
   10   4     2.475

  C2   C3   N        C1
   1    1   2     7.900
   1    2   2     3.550
   1    3   2    10.500
   1    4   2     4.150
   1    5   2    12.500
   1    6   2     5.700
   1    7   2     9.400
   1    8   2    13.450
   1    9   2     8.400
   1   10   2     2.650
   2    1   2     6.450
   2    2   2     4.500
   2    3   2     9.400
   2    4   2     2.400
   2    5   2    12.600
   2    6   2     4.400
   2    7   2     8.450
   2    8   2    13.250
   2    9   2     7.750
   2   10   2     2.300

MTB > anova c1=c2|c3;
SUBC> restrict;
SUBC> random c3;
SUBC> ems;
SUBC> means c2|c3.

Analysis of Variance (Balanced Designs)


Factor     Type Levels Values
C2        fixed      2     1     2
C3       random     10     1     2     3     4     5     6     7     8     9
                          10


Analysis of Variance for C1      

Source      DF         SS         MS       F      P
C2           1      4.489      4.489    6.76  0.029
C3           9    517.486     57.498  435.59  0.000
C2*C3        9      5.976      0.664    5.03  0.001
Error       20      2.640      0.132
Total       39    530.591 


Source      Variance Error Expected Mean Square
           component  term (using restricted model)
 1 C2                  3   (4) + 2(3) + 20Q[1]
 2 C3        14.3416   4   (4) + 4(2)
 3 C2*C3      0.2660   4   (4) + 2(3)
 4 Error      0.1320       (4)


    MEANS

  C2    N        C1
   1   20    7.8200
   2   20    7.1500

   C3   N        C1
    1   4     7.175
    2   4     4.025
    3   4     9.950
    4   4     3.275
    5   4    12.550
    6   4     5.050
    7   4     8.925
    8   4    13.350
    9   4     8.075
   10   4     2.475

  C2   C3   N        C1
   1    1   2     7.900
   1    2   2     3.550
   1    3   2    10.500
   1    4   2     4.150
   1    5   2    12.500
   1    6   2     5.700
   1    7   2     9.400
   1    8   2    13.450
   1    9   2     8.400
   1   10   2     2.650
   2    1   2     6.450
   2    2   2     4.500
   2    3   2     9.400
   2    4   2     2.400
   2    5   2    12.600
   2    6   2     4.400
   2    7   2     8.450
   2    8   2    13.250
   2    9   2     7.750
   2   10   2     2.300

MTB > Write 'G:\DRR95\95ED257\SUNBURN.DAT' c1-c3;
SUBC>   Replace.
Writing data to file: G:\DRR95\95ED257\SUNBURN.DAT
* NOTE  * Existing file replaced.
MTB > 
