Lik {GeoModels} | R Documentation |
Optimizes the Log Likelihood
Description
Subroutine called by GeoFit. The procedure estimates the model parameters by maximization of the log-likelihood.
Usage
Lik(copula,bivariate,coordx,coordy,coordt,
coordx_dyn,corrmodel,data,fixed,flagcor,flagnuis,
grid,lower,mdecomp,model,namescorr,
namesnuis,namesparam,numcoord,
numpairs,numparamcor,numtime,optimizer,
onlyvar,parallel,param,radius,setup,
spacetime,sparse,varest,taper,type,
upper,ns,X,neighb,MM,aniso)
Arguments
copula |
String; the type of copula. It can be "Beta" or "Gaussian" |
bivariate |
Logical; if |
coordx |
A numeric ( |
coordy |
A numeric vector assigning 1-dimension of
spatial coordinates; |
coordt |
A numeric vector assigning 1-dimension of
temporal coordinates. Optional argument, the default is |
coordx_dyn |
A list of |
corrmodel |
Numeric; the id of the correlation model. |
data |
A numeric vector or a ( |
flagcor |
A numeric vector of flags denoting which correlation parameters have to be estimated. |
flagnuis |
A numeric verctor of flags denoting which nuisance parameters have to estimated. |
fixed |
A numeric vector of parameters that will be considered as known values. |
grid |
Logical; if |
lower |
An optional named list giving the values for the lower bound of the space parameter
when the optimizer is |
model |
Numeric; the id value of the density associated to the likelihood objects. |
namescorr |
String; the names of the correlation parameters. |
namesnuis |
String; the names of the nuisance parameters. |
namesparam |
String; the names of the parameters to be maximised. |
numcoord |
Numeric; the number of coordinates. |
numpairs |
Numeric; the number of pairs. |
numparamcor |
Numeric; the number of the correlation parameters. |
numtime |
Numeric; the number of temporal observations. |
mdecomp |
String; the type of matrix decomposition used in the simulation. Default is cholesky.
The other possible choices is |
optimizer |
String; the optimization algorithm
(see |
onlyvar |
Logical; if |
parallel |
Logical; if |
param |
A numeric vector of parameters. |
sparse |
Logical; if |
radius |
Numeric; the radius of the sphere when considering data on a sphere. |
ns |
Numeric: vector of number of location sites for each temporal instants |
setup |
A List of useful components for the estimation based on the maximum tapered likelihood. |
spacetime |
Logical; if the random field is spatial
( |
varest |
Logical; if |
taper |
String; the name of the taper correlation function. |
type |
String; the type of the likelihood objects. If |
upper |
An optional named list giving the values for the upper bound
of the space parameter when the optimizer is or |
X |
Numeric; Matrix of spatio(temporal)covariates in the linear mean specification. |
neighb |
Numeric;parameter for vecchia approximation using GPvecchia package |
MM |
Numeric;a non constant fixed mean |
aniso |
Logical; should anisotropy be considered? |
Value
Return a list from an optim
call.
Author(s)
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