Subroutine called by GeoFit. The procedure estimates the model parameters by maximization of the log-likelihood.
Lik(copula,bivariate,coordx,coordy,coordz,coordt,
coordx_dyn,corrmodel,data,fixed,flagcor,flagnuis,
grid,lower,mdecomp,model,namescorr,
namesnuis,namesparam,numcoord,
numpairs,numparamcor,numtime,optimizer,
onlyvar,param,radius,setup,
spacetime,sparse,varest,taper,type,
upper,ns,X,neighb,MM,aniso)Return a list from an optim call.
String; the type of copula. It can be "Beta" or "Gaussian"
Logical; if TRUE then the data come froma a bivariate random field.
Otherwise from a univariate random field.
A numeric (\(d \times 2\))-matrix or (\(d \times 3\))-matrix
Coordinates on a sphere for a fixed radius radius
are passed in lon/lat format expressed in decimal degrees.
A numeric vector giving 1-dimension of
spatial coordinates; Optional argument, the default is NULL.
A numeric vector giving 1-dimension of
spatial coordinates; Optional argument, the default is NULL.
A numeric vector assigning 1-dimension of
temporal coordinates. Optional argument, the default is NULL
then a spatial random field is expected.
A list of \(m\) numeric (\(d_t \times 2\))-matrices
containing dynamical (in time) spatial coordinates. Optional argument, the default is NULL
Numeric; the id of the correlation model.
A numeric vector or a (\(n \times d\))-matrix or (\(d \times d \times n\))-matrix of observations.
A numeric vector of flags denoting which correlation parameters have to be estimated.
A numeric verctor of flags denoting which nuisance parameters have to estimated.
A numeric vector of parameters that will be considered as known values.
Logical; if FALSE (the default) the data
are interpreted as a vector or a (\(n \times d\))-matrix,
instead if TRUE then (\(d \times d
\times n\))-matrix is considered.
An optional named list giving the values for the lower bound of the space parameter
when the optimizer is L-BFGS-B or nlminb or optimize. The
names of the list must be the same of the names in the start list.
Numeric; the id value of the density associated to the likelihood objects.
String; the names of the correlation parameters.
String; the names of the nuisance parameters.
String; the names of the parameters to be maximised.
Numeric; the number of coordinates.
Numeric; the number of pairs.
Numeric; the number of the correlation parameters.
Numeric; the number of temporal observations.
String; the type of matrix decomposition used in the simulation. Default is cholesky.
The other possible choices is svd (Singular values decomposition).
String; the optimization algorithm
(see optim for details). Nelder-Mead is the
default. Other possible choices are nlm, BFGS L-BFGS-B and nlminb.
In these last two cases upper and lower bounds can be passed by the user. In the case
of one-dimensional optimization, the function optimize is used.
Logical; if TRUE (and varest is TRUE) only the variance covariance matrix is computed
without optimizing. FALSE is the default.
A numeric vector of parameters.
Logical; if TRUE then maximum likelihood is computed
using sparse matrices algorithms.FALSE is the default.
Numeric; the radius of the sphere when considering data on a sphere.
Numeric: vector of number of location sites for each temporal instants
A List of useful components for the estimation based on the maximum tapered likelihood.
Logical; if the random field is spatial
(FALSE) or spatio-temporal (TRUE).
Logical; if TRUE the estimate' variances and
standard errors are returned.
FALSE is the default.
String; the name of the taper correlation function.
String; the type of the likelihood objects. If Pairwise (the
default) then the marginal composite likelihood is formed by
pairwise marginal likelihoods.
An optional named list giving the values for the upper bound
of the space parameter when the optimizer is or L-BFGS-B or nlminb or optimize.
The names of the list must be the same of the names in the start list.
Numeric; Matrix of spatio(temporal)covariates in the linear mean specification.
Numeric;parameter for vecchia approximation using GPvecchia package
Numeric;a non constant fixed mean
Logical; should anisotropy be considered?
Moreno Bevilacqua, moreno.bevilacqua89@gmail.com,https://sites.google.com/view/moreno-bevilacqua/home, Víctor Morales Oñate, victor.morales@uv.cl, https://sites.google.com/site/moralesonatevictor/, Christian", Caamaño-Carrillo, chcaaman@ubiobio.cl,https://www.researchgate.net/profile/Christian-Caamano
GeoFit