Answers to assignment 3


/* question 1 */

symmetric w[3,3]:  pooled within SSCP matrix
           c1         c2         c3
c1      .3313
c2       .126  .11085667
c3     .00015    -.00198    .006435 

/* question 2 */

mv1[1,3]:  mean value vector for X1
      c1    c2    c3
c1  1.03  .469  .707

mv2[1,3]:  mean value vector for X2
           c1         c2         c3
c1      1.215  .38833333      .7025

/* question 3 */

md[1,3]:  difference in the mean value vectors
           c1         c2         c3
c1      -.185  .08066667      .0045

/* question 4 */

symmetric d2[1,1]:  Mahalanobis D-squared
           c1
c1  .47980264

/* question 5 */

symmetric ht2[1,1]: Hotelling's T-squared 
   c1 
c1 52.342106 

/* question 6: F-ratio */

15.702632

/* question 7 */

degrees of freedom = 3, 18