triblik               package:splancs               R Documentation

_L_o_g-_l_i_k_e_l_i_h_o_o_d _f_o_r _t_h_e _D_i_g_g_l_e-_R_o_w_l_i_n_g_s_o_n _r_a_i_s_e_d _i_n_c_i_d_e_n_c_e _m_o_d_e_l

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

     Calculates the log-likelihood for the Diggle-Rowlingson raised
     incidence model.

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

     triblik(ccflag, vars=NULL, alphas=NULL, betas=NULL, rho, 
      which=1:length(alphas), covars=NULL, thetas=NULL)

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

  ccflag: Case-control flag : a vector of ones and zeroes. 

    vars: A matrix where 'vars[i,j]' is the distance squared from point
          'i'  to source 'j'. 

  alphas: The 'alpha' parameters. 

   betas: The 'beta' parameters. 

     rho: The 'rho' parameter. 

   which: Defines the mapping from sources to parameters. 

  covars: A matrix of covariates to be modelled as log-linear terms.
          The element  'covars[i,j]' is the value of covariate 'j' for
          case/control 'i'. 

  thetas: The covariate parameters. 

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

     The log-likelihood for the given parameters and the given
     distances and optional covariates is returned.

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

     Rowlingson, B. and Diggle, P. 1993 Splancs: spatial point pattern
     analysis code in S-Plus.  Computers and Geosciences, 19, 627-655;
     the original sources can be accessed at: <URL:
     http://www.maths.lancs.ac.uk/~rowlings/Splancs/>. See also Bivand,
     R. and Gebhardt, A. 2000 Implementing functions for spatial
     statistical analysis using the R language. Journal of Geographical
     Systems, 2, 307-317.

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

     'tribble', 'dsquare'

