cvloglk            package:spatialkernel            R Documentation

_C_r_o_s_s-_V_a_l_i_d_a_t_e_d _L_o_g-_L_i_k_e_l_i_h_o_o_d _F_u_n_c_t_i_o_n

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

     Calculate the cross-validated log-likelihood function.

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

       cvloglk(pts, marks, t = NULL, h)

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

     pts: matrix containing the 'x,y'-coordinates of the point 
          locations.

   marks: numeric/character vector of the marked labels of the type  of
          each point.

       t: numeric vector of the associated time-periods, default 'NULL'
          for pure spatial data.

       h: numeric vector of the kernel smoothing bandwidths at which to
          calculate the cross-validated log-likelihood function.

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

     Select a common bandwidth for kernel regression estimation of
     type-specific probabilities of a multivariate Poisson point
     process with independent  component processes of each categorical
     type by maximizing the cross-validate log-likelihood function.

     Select a common bandwidth for kernel regression of type-specific 
     probabilities for all time-periods when the argument 't' is not 
     'NULL', in which case the data is of a multivariate
     spatial-temporal  point process, with 't' the values of associated
     time-periods.

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

     A list with components 

      cv: vector of the values of the cross-validated Log-likelihood
          function.

     hcv: numeric value which maximizing the cross-validate
          log-likelihood function

     ...: copy of the arguments 'pts, marks, h'.

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

        1.  Diggle, P.J., Zheng, P. and Durr, P. A. (2005)
           Nonparametric estimation of spatial segregation in a
           multivariate point process: bovine tuberculosis in Cornwall,
           UK. _J. R.  Stat. Soc. C_, *54*, 3, 645-658.

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

     'phat', 'mcseg.test', and 'mcpat.test'

