loglikelihood      package:surveillance      R Documentation(latin1)

_C_a_l_c_u_l_a_t_i_o_n _o_f _t_h_e _l_o_g_l_i_k_e_l_i_h_o_o_d _n_e_e_d_e_d _i_n _a_l_g_o._h_h_h

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

     Calculates the loglikelihood according to the model specified in
     'designRes'.

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

     loglikelihood(theta, designRes)

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

   theta: vector of parameters 

 theta = (alpha_1,...,alpha_m, *lambda*,  *phi*, *beta*,  *gamma*_1, ...,  *gamma*_m,  *psi*),

          where *lambda*=(lambda_1,...,lambda_m), 
          *phi*=(phi_1,...,phi_m),  *beta*=(beta_1,...,beta_m), 
          *gamma_1*=(gamma_11,...,gamma_(1,2S_1)), 
          *gamma_m*=(gamma_m1,...,gamma_(m,2S_m)), 
          *psi*=(psi_1,...,psi_m).

          If the model specifies less parameters, those components are
          omitted.

designRes: Result of a call to 'make.design' 

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

     Returns the loglikelihood

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

     M. Paul, L. Held

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

     'meanResponse'

