likfitBGCCM               package:geoR               R Documentation

_F_i_t_s _t_h_e _b_i_v_a_r_i_a_t_e _G_a_u_s_s_i_a_n
_c_o_m_m_o_n _c_o_m_p_o_n_e_n_t _g_e_o_s_t_a_t_i_s_t_i_c_a_l _m_o_d_e_l

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

     Computes maximum likelihood estimates of the  bivariate Gaussian
     common component geostatistical model.

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

     likfitBGCCM(geodata1, geodata2, ini.sigmasq, ini.phi,
                 cov0.model="matern", cov1.model="matern", cov2.model="matern",
                 kappa0=0.5, kappa1=0.5, kappa2=0.5,
                 fc.min = c("optim", "nlminb"), ...)

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

geodata1: an object of the class 'geodata' with the data of the first
          variable. 

geodata2: an object of the class 'geodata' with the data of the first
          variable. 

ini.sigmasq: optional, a vector with initial values for the correlation
          range parameters. If not provided default values are used.  

 ini.phi: optional, a vector with initial values for the correlation
          range parameters. If not provided default values are used. 

cov0.model, cov1.model, cov2.model: covariance model for each of the
          processes. See 'cov.spatial' for details.  

kappa0, kappa1, kappa2: extra parameter for some covariance models.  

  fc.min: a string indication which function should be used to minimise
          the negative of the log-likelihood. 

     ...: further arguments to be passed to 'optim' or 'nlminb'.  

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

     A list with model fitting information to which the class 'BGCCM'
     is assigned. 

      mu: a 2 elements vector with mean estimates.

 sigmasq: a 4 elements vector with variance estimates.

     phi: a 3 elements vector with estimated correlation parameters
          values.  

  loglik: a scalar. Maximised value of the log-likelihood.  

   optim: results returned by 'optim' or 'nlminb'. 

     ...: and other information related to the model fitting. 

_W_a_r_n_i_n_g:

     This is a new function and still in draft format and pretty much
     untested.

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

     Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br, 
      Peter J. Diggle p.diggle@lancaster.ac.uk.

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

     'optim', 'nlminb', 'varcovBGCCM', 'as.geodata', 'likfit'.

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

     # see http://www.leg.ufpr.br/geoR/tutorials/CCM.R

