manova                 package:base                 R Documentation

_M_u_l_t_i_v_a_r_i_a_t_e _A_n_a_l_y_s_i_s _o_f _V_a_r_i_a_n_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     A class of multivariate analysis of variance and a `summary'
     method.

_U_s_a_g_e:

     manova(...)
     summary.manova(object,
                    test = c("Pillai", "Wilks", "Hotelling-Lawley", "Roy"),
                    intercept = FALSE)

_A_r_g_u_m_e_n_t_s:

     ...: Arguments to be passed to `aov'

  object: An object of class `"manova"' or an `aov' object with
          multiple responses.

    test: The name of the test statistic to be used. Partial matching
          is used so the name can be abbreviated.

intercept: logical. If `TRUE', the intercept term is included in the
          table.

_D_e_t_a_i_l_s:

     Class `"manova"' differs from class `"aov"' in selecting a
     different `summary' method.  Function `manova' calls `aov' and
     then add class `"manova"' to the result object for each stratum.

     The `summary.manova' method uses a multivariate test statistic for
     the summary table.  Wilks' statistic is most popular in the
     literature, but the default Pillai-Bartlett statistic is
     recommended by Hand and Taylor (1987).

_V_a_l_u_e:

     For `manova', see `aov' and the comments in Details here.

     for `summary.manova', a list with components 

      SS: A names list of sums of squares and product matrices.

Eigenvalues: A matrix of eigenvalues, 

   stats: A matrix of the statistics, approximate F value and degrees
          of freedom.

_A_u_t_h_o_r(_s):

     B.D. Ripley

_R_e_f_e_r_e_n_c_e_s:

     Krzanowski, W. J. (1988) Principles of Multivariate Analysis. A
     User's Perspective. Oxford.

     Hand, D. J. and Taylor, C. C.  (1987) Multivariate Analysis of
     Variance and Repeated Measures. Chapman and Hall.

_S_e_e _A_l_s_o:

     `aov'

_E_x_a_m_p_l_e_s:

     ## Example on producing plastic filem from Krzanowski (1998, p. 381)
     tear <- c(6.5, 6.2, 5.8, 6.5, 6.5, 6.9, 7.2, 6.9, 6.1, 6.3,
               6.7, 6.6, 7.2, 7.1, 6.8, 7.1, 7.0, 7.2, 7.5, 7.6)
     gloss <- c(9.5, 9.9, 9.6, 9.6, 9.2, 9.1, 10.0, 9.9, 9.5, 9.4,
                9.1, 9.3, 8.3, 8.4, 8.5, 9.2, 8.8, 9.7, 10.1, 9.2)
     opacity <- c(4.4, 6.4, 3.0, 4.1, 0.8, 5.7, 2.0, 3.9, 1.9, 5.7,
                  2.8, 4.1, 3.8, 1.6, 3.4, 8.4, 5.2, 6.9, 2.7, 1.9)
     Y <- cbind(tear, gloss, opacity)
     rate <- factor(gl(2,10), labels=c("Low", "High"))
     additive <- factor(gl(2, 5, len=20), labels=c("Low", "High"))

     fit <- manova(Y ~ rate * additive)
     summary.aov(fit)           # univariate ANOVA tables
     summary(fit, test="Wilks") # ANOVA table of Wilks' lambda

