anova.glmm.admb           package:glmmADMB           R Documentation

_A_n_o_v_a _f_o_r _g_l_m_m._a_d_m_b _o_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Calculate an anova table from a series of model fits

_U_s_a_g_e:

     anova.glmm.admb(object, ...)

_A_r_g_u_m_e_n_t_s:

  object: A model fit returned from 'glmm.admb'

     ...: One or more model fits with same random effects

_D_e_t_a_i_l_s:

     Basic anova table for testing the fixed effects (may be extended
     later)

_V_a_l_u_e:

     An anova table

_A_u_t_h_o_r(_s):

     H. Skaug skaug@mi.uib.no, David Fournier otter@otter-rsch.com and
     Anders Nielsen andersn@hawaii.edu

_E_x_a_m_p_l_e_s:

       data(epil2)
       f1<-glmm.admb(y~Base*trt+Age+Visit,random=~Visit,group="subject",data=epil2,family="nbinom")
       f2<-glmm.admb(y~Base*trt+Age,random=~Visit,group="subject",data=epil2,family="nbinom")
       anova(f2,f1)

