InitParam {CompRandFld} | R Documentation |
Subroutine called by the fitting procedures. The procedure initializes the parameters for the fitting procedure.
InitParam(coordx, coordy, coordt, corrmodel, data, distance, fcall, fixed, grid,likelihood, margins, maxdist, maxtime, model, numblock, param, parscale, paramrange, replicates, start, taper, tapsep, threshold, type, typereal, varest, vartype, weighted, winconst, winstp)
coordx |
A numeric (d x 2)-matrix (where
|
coordy |
A numeric vector assigning 1-dimension of
coordinates; |
coordt |
A numeric vector assigning 1-dimension of temporal coordinates. |
corrmodel |
String; the name of a correlation model. |
data |
A numeric vector or a (n x d)-matrix or (d x d x n)-matrix of observations. |
distance |
String; the name of the spatial distance. The default is |
fcall |
String; "fitting" to call the fitting procedure and "simulation" to call the simulation procedure. |
fixed |
A named list giving the values of the parameters that will be considered as known values. |
grid |
Logical; if |
likelihood |
String; the configuration of the composite likelihood. |
margins |
String; the type of the marginal distribution of the max-stable field. |
maxdist |
Numeric; an optional positive value indicating the maximum spatial distance considered in the composite-likelihood computation. |
maxtime |
Numeric; an optional positive value indicating the maximum temporal lag considered in the composite-likelihood computation. |
model |
String; the density associated to the likelihood
objects. |
numblock |
Numeric; the observation size of the underlying random field. Only in case of max-stable random fields and in the simulation. |
param |
A numeric vector of parameter values required in the simulation procedure of random fields. |
parscale |
A numeric vector of scaling factor to improve the
maximizing procedure, see |
paramrange |
A numeric vector of parameters ranges, see
|
replicates |
Logical; if |
start |
A named list with the initial values of the parameters that are used by the numerical routines in maximization procedure. |
taper |
String; the name of the type of covariance matrix.
It can be |
tapsep |
Numeric; an optional value indicating the separabe parameter in the space time quasi taper (see Details). |
threshold |
Numeric; a value indicating a threshold for the binary random field. |
type |
String; the type of likelihood objects. Temporary value set to be "WLeastSquare" (weigthed least-square) in order to compute the starting values. |
typereal |
String; the real type of likelihood objects. See |
varest |
Logical; if |
vartype |
String; the type of estimation method for computing the estimate variances, see the Section Details. |
weighted |
Logical; if |
winconst |
Numeric; a positive real value indicating the
sub-window in the sub-sampling procedure. See |
winstp |
Numeric; a value in (0,1] for defining the window
step. See |
We thank the CRAN team for having helped us in finding a bug in the code.
Simone Padoan, simone.padoan@unibocconi.it, http://faculty.unibocconi.it/simonepadoan; Moreno Bevilacqua, moreno.bevilacqua@uv.cl, https://sites.google.com/a/uv.cl/moreno-bevilacqua/home.