Maximum Likelihood Estimation of a TVGEV model.
A (possibly incomplete) TVGEV object.
A numeric vector giving the response to be used.
Numeric vector of initial values for the parameters.
Character giving the optimisation to be used.
Numeric vectors or NULL giving
bounds on the parameters. These are used overwrite the
"normal" values which are -Inf and Inf. These
arguments are only used when estim is "nloptr".
These vectors must have suitably named elements. It
is not necessary to give values for all the elements: the
"normal" infinite values will continue to hold for the
parameters for which the bounds are not given. When the scale
parameter is constant it may help to give a positive value for
the element "sigma_0" of coefLower. When the
shape is constant it may help to give bounds such as such as
-0.5 and 0.5 for the element "xi_0".
Logical. If TRUE, all parameters at
which an evaluation of the log-Likelihood will be stored and
returned.
Integer level of verbosity.
A list with elements that can be copied into those
of a TVGEV object.
The box constraints on parameters defined by
coefLower and coefUpper should not be active at the
optimum. If this happens, the inference will be misleading. Note
that these constaints can be used to set some parameters to a
given value by using the same value for the lower and the upper
bound. In this case the fact that the inference is misleading is
clear from the fact that the number of parameters in the object is
wrong.
For now it is assumed that the shape parameter
is constant, hence is equal to the element named xi_0 in
the parameter vector. This assumption is used to set the bounds on
the shape parameter when estim is set to "nloptr":
the lower bound is -0.9 and the upper bound is 2.0.