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)
A numeric (\(d \times 2\))-matrix (where
d
is the number of points) assigning 2-dimensions of coordinates or a numeric vector assigning
1-dimension of coordinates.
A numeric vector assigning 1-dimension of
coordinates; coordy
is interpreted only if coordx
is a numeric
vector otherwise it will be ignored.
A numeric vector assigning 1-dimension of temporal coordinates.
String; the name of a correlation model.
A numeric vector or a (\(n \times d\))-matrix or (\(d \times d \times n\))-matrix of observations.
String; the name of the spatial distance. The default is Eucl
,
the euclidean distance. See the Section Details.
String; "fitting" to call the fitting procedure and "simulation" to call the simulation procedure.
A named list giving the values of the 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.
String; the configuration of the composite likelihood.
String; the type of the marginal distribution of the max-stable field.
Numeric; an optional positive value indicating the maximum spatial distance considered in the composite-likelihood computation.
Numeric; an optional positive value indicating the maximum temporal lag considered in the composite-likelihood computation.
String; the density associated to the likelihood
objects. Gaussian
is the default.
Numeric; the observation size of the underlying random field. Only in case of max-stable random fields and in the simulation.
A numeric vector of parameter values required in the simulation procedure of random fields.
A numeric vector of scaling factor to improve the
maximizing procedure, see optim
.
A numeric vector of parameters ranges, see
optim
.
Logical; if FALSE
(the default) one spatial random field is
considered, instead if TRUE
the data are considered as iid replicates of a field.
A named list with the initial values of the parameters that are used by the numerical routines in maximization procedure.
String; the name of the type of covariance matrix.
It can be Standard
(the default value) or
Tapering
for taperd covariance matrix.
Numeric; an optional value indicating the separabe parameter in the space time quasi taper (see Details).
Numeric; a value indicating a threshold for the binary random field.
String; the type of likelihood objects. Temporary value set to be "WLeastSquare" (weigthed least-square) in order to compute the starting values.
String; the real type of likelihood objects. See FitComposite
.
Logical; if TRUE
the estimates' variances and
standard errors are returned.
FALSE
is the default.
String; the type of estimation method for computing the estimate variances, see the Section Details.
Logical; if TRUE
the likelihood objects are
weighted, see FitComposite
.
Numeric; a positive real value indicating the
sub-window in the sub-sampling procedure. See FitComposite
.
Numeric; a value in \((0,1]\) for defining the window
step. See FitComposite
.
We thank the CRAN team for having helped us in finding a bug in the code.