CompLik2 {GeoModels} | R Documentation |
Optimizes the Composite log-likelihood
Description
Subroutine called by GeoFit. The procedure estimates the model parameters by maximisation of the composite log-likelihood.
Usage
CompLik2(copula,bivariate, coordx, coordy ,coordt,
coordx_dyn,corrmodel, data, distance, flagcorr, flagnuis,
fixed, GPU,grid,likelihood, local,lower,
model, n, namescorr, namesnuis, namesparam,
numparam, numparamcorr, optimizer, onlyvar,
parallel, param, spacetime, type,
upper, varest, vartype, weigthed, winconst,
winstp,winconst_t, winstp_t, ns, X,sensitivity,
colidx,rowidx,neighb,MM,aniso)
Arguments
copula |
String; the type of copula. It can be "Clayton" or "Gaussian" |
bivariate |
Logical; if |
coordx |
A numeric ( |
coordy |
A numeric vector assigning 1-dimension of
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 ( |
distance |
String; the name of the spatial distance. The default is |
flagcorr |
A numeric vector of binary values denoting which paramerters of the correlation function will be estimated. |
flagnuis |
A numeric vector of binary values denoting which nuisance paramerters will be estimated. |
fixed |
A numeric vector of parameters that will be considered as known values. |
GPU |
Numeric; if |
grid |
Logical; if |
likelihood |
String; the configuration of the
compositelikelihood, see |
local |
Numeric; number of local work-items of the GPU |
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. |
n |
Numeric; number of trials in a binomial random fields. |
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. |
numparam |
Numeric; the number of parameters to be maximised. |
numparamcorr |
Numeric; the number of correlation parameters. |
optimizer |
String; the optimization algorithm
(see |
onlyvar |
Logical; if |
parallel |
Logical; if |
param |
A numeric vector of parameters' values. |
spacetime |
Logical; if |
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 |
varest |
Logical; if |
vartype |
String; the type of estimation method for computing
the estimate variances, see |
weigthed |
Logical; if |
winconst |
Numeric; a positive value for computing the spatial sub-window in the sub-sampling procedure. |
winstp |
Numeric; a value in |
winconst_t |
Numeric; a positive value for computing the temporal sub-window in the sub-sampling procedure. |
winstp_t |
Numeric; a value in |
ns |
Numeric; Number of (dynamical) temporal instants. |
X |
Numeric; Matrix of space-time covariates in the linear mean specification. |
sensitivity |
Logical; if |
colidx |
Numeric; Vector of indexes for spatial distances. |
rowidx |
Numeric; Vector of indexes for spatial distances. |
neighb |
Numeric; an optional positive integer indicating the order of neighborhood location. |
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