Learn R Programming

evd (version 1.2-3)

fbvall: Simultaneous Maximum-likelihood Fitting of Bivariate Extreme Value Distributions

Description

Maximum-likelihood estimates for the bivariate extreme value distributions considered in this package, including linear modelling of the marginal location parameters.

Usage

fbvall(x, ..., nsloc1 = NULL, nsloc2 = NULL, which = NULL,
    boxcon = TRUE, std.err = TRUE, orderby = c("AIC", "BIC", "SC"),
    control = list(maxit = 250))

Arguments

x
A matrix or data frame with two columns, which may contain missing values.
...
Marginal parameters that are set to fixed values within each optimization (e.g. if Gumbel margins are required, use shape1 = 0 and shape2 = 0).
nsloc1, nsloc2
A data frame with the same number of rows as x, to be passed to the individual fitting functions, for linear modelling of the location parameter on the first/second margin. The data frames are treated as covariate matrices (e
which
A character vector giving the models to be fit, containing any of ``log'', ``alog'', ``hr'', ``neglog'', ``aneglog'', ``bilog'', ``negbilog'' or ``ct'' for the logistic, asymmetric logistic, Husler-Reiss, negative logistic, asymmetric nega
boxcon
Logical; if TRUE (the default), the L-BFGS-B optimization method is used, which includes box constraints. If FALSE the BFGS method is used. The BFGS method is faster, and should
std.err
Logical; if TRUE (the default), the ``standard errors'' are returned. A logical vector can also be given. This should be the same length as the number of models being fitted.
orderby
The (column) order of the models in the components of the returned object. The models are ordered by best fit, as measured by Akaike's information criterion (the default), Bayesian information criterion or Schwarz's criterion.
control
To be passed to optim. Only options which are independent of the number of parameters within the optimization should be given. Some options are related to the optimization method used. This is def

Value

  • Returns an object of class "bvall".

    The generic accessor functions fitted (or fitted.values), std.errors and deviance extract various features of the returned object. Each can be passed the argument which to restrict access to a particular subset of models. This should be a character vector containing character strings representing particular models, as described in which. An object of class "bvall" is a list containing the following components

  • estimateA matrix containing the maximum likelihood estimates.
  • std.errA matrix containing the ``standard errors'' (if $\code{std.err} = \code{TRUE}$).
  • devianceThe deviance at the maximum likelihood estimates for each fitted model.
  • criteriaA matrix containing Akaike's information criterion, Bayesian information criterion and Schwarz's criterion for each fitted model.
  • dep.summaryA matrix containing three values summarizing the dependence structure for each fitted model (see Details).
  • callThe call of the current function.
  • dataThe data passed to the argument x.
  • nThe number of rows in x.

Details

Maximization of the log-likelihood is performed. The ``standard errors'' in the returned object are taken from the observed information, calculated by a numerical approximation. They must be interpreted with caution because the usual asymptotic properties of maximum likelihood estimators may not hold (Smith, 1985).

Any bivariate extreme value distribution can be written as $$G(z_1,z_2) = \exp\left[-(y_1+y_2)A\left( \frac{y_1}{y_1+y_2}\right)\right]$$ for some function $A(\cdot)$ defined on $[0,1]$, where $$y_i = {1+s_i(z_i-a_i)/b_i}^{-1/s_i}$$ for $1+s_i(z_i-a_i)/b_i > 0$ and $i = 1,2$, with the marginal parameters given by $(a_i,b_i,s_i)$, $b_i > 0$.

$A(\cdot)$ is called (by some authors) the dependence function. It follows that $A(0)=A(1)=1$, and that $A(\cdot)$ is a convex function with $\max(x,1-x) \leq A(x)\leq 1$ for all $0\leq x\leq1$. $A(\cdot)$ does not depend on the marginal parameters.

For each fitted model there are three summaries of the dependence structure in the returned object, based on $A(\cdot)$. Two are measures of dependence. The first is given by $2(1-A(1/2))$. The second is the integral of $4(1 - A(x))$, taken over $0\leq x\leq1$. These appear in the rows labelled by dep and intdep respectively. Both measures are zero at independence and one at complete dependence. The final row, labelled intasy, contains a measure of asymmetry given by the integral of $4(A(x) - A(1-x))/(3 - 2\sqrt2)$, taken over $0 \leq x \leq 0.5$. This integral lies in the closed interval [-1,1] (conjecture), with larger absolute values representing stronger asymmetry. As a rough guide, any value within the interval $(-0.2,0.2)$ suggests that the dependence structure is close to symmetric. For the symmetric models $A(x) = A(1-x)$ for all $0 \leq x \leq 0.5$, so the integral will be zero.

References

Smith, R. L. (1985) Maximum likelihood estimation in a class of non-regular cases. Biometrika, 72, 67--90.

See Also

fbvlog, optim

Examples

Run this code
data(sealevel)
fbvall(sealevel)
fbvall(sealevel, nsloc1 = (-40:40)/100)

Run the code above in your browser using DataLab