likelihood              package:Davies              R Documentation

_l_i_k_e_l_i_h_o_o_d _f_o_r _t_h_e _D_a_v_i_e_s _d_i_s_t_r_i_b_u_t_i_o_n

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

     Likelihood of observing 'data', on the hypothesis of their coming
     from a Davies distribution of parameters 'params'.

     Function 'neg.log.likelihood()' gives minus the loglikelihood

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

     likelihood(params, data)

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

  params: Parameters of the Davies distribution

    data: dataset for which the likelihood is computed

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

     Robin K. S. Hankin

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

     'Davies'

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

     p1 <- c(10,0.1, 0.1)
     p2 <- c(10,0.4, 0.1)
     data <- rdavies(100,p1)
     likelihood(p1,data)
     likelihood(p2,data)                 #should be smaller.
     neg.log.likelihood(p1,rstupid(100)) #should be large negative.

