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"
.
Logical
. If TRUE
, all parameters at
which an evaluation of the log-Likelihood will be stored and
returned.
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
.