Computes maximum likelihood estimates of the bivariate Gaussian common component geostatistical model.
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"), ...)
an object of the class geodata
with the first variable.
an object of the class geodata
with the second variable.
optional, a vector with initial values for the variance parameters. If not provided default values are used.
optional, a vector with initial values for the correlation range parameters. If not provided default values are used.
covariance model for each of
the processes. See cov.spatial
for details.
extra parameter for some covariance models.
a string indication which function should be used to minimise the negative of the log-likelihood.
A list with model fitting information to which
the class BGCCM
is assigned.
a 2 elements vector with mean estimates.
a 4 elements vector with variance estimates.
a 3 elements vector with estimated correlation parameters values.
a scalar. Maximised value of the log-likelihood.
and other information related to the model fitting.
This is a new function and still in draft format and pretty much untested.
# NOT RUN {
# see http://www.leg.ufpr.br/geoR/tutorials/CCM.R
# }
Run the code above in your browser using DataLab