
Subroutine called by the fitting procedures. The procedure controls the the validity of the input inserted by the users.
CheckInput(coordx, coordy, coordt, corrmodel, data, distance,
fcall, fixed, grid, likelihood, margins, maxdist,
maxtime, model, numblock, optimizer, param, replicates,
start, taper, tapsep, threshold, type, varest, vartype,
weighted)
A numeric (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, for the
description see FitComposite
.
A numeric vector or a (
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.
A named list giving the values of the parameters that
will be considered as known values. The listed parameters for a
given correlation function will be not estimated, i.e. if
list(nugget=0)
the nugget effect is ignored.
Logical; if FALSE
(the default) the data
are interpreted as a vector or a (TRUE
then (
String; the configuration of the composite
likelihood. Marginal
is the default.
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 separation in the composite-likelihood.
String; the density associated to the likelihood
objects. Gaussian
is the default.
Numeric; the number of observation of the underlying
randfom field (only for max-stable simulations). See
RFsim
.
String; the optimization algorithm
(see optim
for details). 'Nelder-Mead' is the
default.
A numeric vector of parameters, needed only in
simulation. See RFsim
.
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. NULL
is the default.
String; the name of the tapered correlation function.
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 the likelihood objects. If Pairwise
(the
default) then the marginal composite likelihood is formed by
pairwise marginal likelihoods.
Logical; if TRUE
the estimate' variances and
standard errors are returned.
FALSE
is the default.
String; the type of estimation method for computing
the estimate variances, see FitComposite
.
Logical; if TRUE
the likelihood objects are
weighted. If FALSE
(the
default) the composite likelihood is not weighted.