LR.test                 package:secr                 R Documentation

_L_i_k_e_l_i_h_o_o_d _R_a_t_i_o _T_e_s_t _f_o_r _S_E_C_R _M_o_d_e_l_s

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

     Compute likelihood ratio test to compare two fitted models, one
     nested within the other.

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

     LR.test(secr1, secr2)

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

   secr1: fitted secr model 

   secr2: fitted secr model 

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

     The test statistic is twice the difference of the maximized
     likelihoods. It is compared to a chi-square distribution with df
     equal to the number of extra parameters in the more complex model.

     The models must be nested (no check is performed - this is up to
     the user), but either secr1 or secr2 may be the more general
     model.

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

     Object of class 'htest', a list with components 

statistic : value the test statistic 

parameter : degrees of freedom of the approximate chi-squared
          distribution of the test statistic 

p.value : probability of test statistic assuming chi-square
          distribution

 method : character string indicating the type of test performed 

data.name : character string with names of secr models compared 

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

     Murray Efford murray.efford@otago.ac.nz

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

     'AIC.secr', 'score.test'

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

         data(secrdemo)
         AIC (secrdemo.0, secrdemo.b)
         LR.test  (secrdemo.0, secrdemo.b)

