Compute the distribution function of the maximum over a period of time.

pMax.TVGEV(
  object,
  q,
  date = NULL,
  psi = NULL,
  deriv = FALSE,
  hessian = FALSE,
  ...
)

Arguments

object

A TVGEV object.

q

A vector of "quantile" values at which the distribution function is to be evaluated.

date

A vector that can be coerced to the class "Date" which defines the period of time.

psi

Optional vector of parameters. By default, the estimated vector of parameters coef(object) is used.

deriv

Logical. If TRUE the gradient of the probability distribution will be computed and returned as the "gradient" attribute of the result.

hessian

Logical. If TRUE the Hessian of the density will be computed and returned as the "hessian" attribute of the result.

...

Not used yet.

Value

A vector of values for the distribution function. Beside the gradient (w.r.t. the parameters) returned as the attribute named "gradient", the Hessian w.r.t. x can also be returned as the attribute "hessian" of the result.

Caution

This function may be renamed in a future version.

References

See the Computing Details vignette of the package for the computation of the derivatives.