anova                 package:stats                 R Documentation

_A_n_o_v_a _T_a_b_l_e_s

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

     Compute analysis of variance (or deviance) tables for one or more
     fitted model objects.

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

     anova(object, ...)

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

  object: an object containing the results returned by a model fitting
          function (e.g., 'lm' or 'glm').

     ...: additional objects of the same type.

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

     This (generic) function returns an object of class 'anova'. These
     objects represent analysis-of-variance and analysis-of-deviance
     tables. When given a single argument it produces a table which
     tests whether the model terms are significant.

     When given a sequence of objects, 'anova' tests the models against
     one another in the order specified.

     The print method for 'anova' objects prints tables in a "pretty"
     form.

_W_a_r_n_i_n_g:

     The comparison between two or more models will only be valid if
     they are fitted to the same dataset. This may be a problem if
     there are missing values and R's default of 'na.action = na.omit'
     is used.

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

     Chambers, J. M. and Hastie, T. J. (1992) _Statistical Models in
     S_, Wadsworth & Brooks/Cole.

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

     'coefficients', 'effects', 'fitted.values', 'residuals',
     'summary', 'drop1', 'add1'.

