Learn R Programming

ExtremalDep: Extremal Dependence Models

A set of procedures for parametric and non-parametric modelling of the dependence structure of multivariate extreme-values is provided. The statistical inference is performed with non-parametric estimators, likelihood-based estimators and Bayesian techniques. It adapts the methodologies of Beranger and Padoan (2015) doi:10.48550/arXiv.1508.05561, Marcon et al. (2016) doi:10.1214/16-EJS1162, Marcon et al. (2017) doi:10.1002/sta4.145, Marcon et al. (2017) doi:10.1016/j.jspi.2016.10.004 and Beranger et al. (2021) doi:10.1007/s10687-019-00364-0. This package also allows for the modelling of spatial extremes using flexible max-stable processes. It provides simulation algorithms and fitting procedures relying on the Stephenson-Tawn likelihood as per Beranger at al. (2021) doi:10.1007/s10687-020-00376-1.

Version 0.0.4-2 updates:

  • Fixes a typo in dExtDep() for in the Asymetric Logistic model;
  • Replaces the Calloc() and Free() calls in the .C files by the R_* prefixed counterparts since STRICT_R_HEADERS=1 becomes the default with R 4.5.0;
  • Improves some entries in the manual.

Version 0.0.4-3 updates:

  • Inclusion of the PAMfmado() function written by Philippe Naveau.

Version 0.0.4-4 updates:

  • Fixes resetting graphical parameters in plot_ExtDep.np() when type = "Qsets";
  • Replaces closeAllConnections() by stopCluster() in fExtDepSpat().

Version 0.0.4-5 updates:

  • Improvement to dExtDep() function when model="HR" and "ET";
  • New lambda.hr() function that can be used to define the parameters of the trivariate Husler-Reiss model. Given two parameters, a range for the third parameter is provided to ensure positive definite matrices in the exponent function;
  • Improve efficiency when manipulating matrices:
    • t(A) %*% B is replaced by crossprod(A,B) (and vice versa);
    • solve(A) is replaced by chol2inv(chol(A));
    • t(x) %*% solve(A) %*% x is replaced by sum(forwardsolve(t(chol(A)),x));
  • Define outputs of fExtDep(), fExtDep.np() and fExtDepSpat() to be of class ExtDep_Freq, ExtDep_Bayes, ExtDep_npFreq, ExtDep_npBayes, ExtDep_npEmp and ExtDep_Spat;
  • Make use of class methods for plot() and summary() functions replacing the previous plot.ExtDep(), etc;
  • New est(), StdErr(), logLik(), bic(), tic() to extract outputs from objects of class ExtDep_Freq, ExtDep_Bayes and ExtDep_Spat.

Version 1.0.0 updates:

  • Version number has been updated to reflect the regular construction ...
  • Improved formatting across all .R files using the styler package.
  • Improved formatting of all manual (.Rd) files to follow the tidyverse style guide (spacing, indentation, line width, ...).

Copy Link

Version

Install

install.packages('ExtremalDep')

Monthly Downloads

449

Version

1.0.0

License

GPL (>= 2)

Maintainer

Simone Padoan

Last Published

August 21st, 2025

Functions in ExtremalDep (1.0.0)

diagnostics

Diagnostics plots for MCMC algorithm
dExtDep

Parametric and non-parametric density of Extremal Dependence
dim_ExtDep

Dimensions calculations for parametric extremal dependence models
dGEV

The Generalized Extreme Value Distribution
beed.confband

Nonparametric Bootstrap Confidence Intervals
bic

Extract the Bayesian Information Criterion
dest

Univariate extended skew-t distribution
beed.boot

Bootstrap Resampling and Bernstein Estimation of Extremal Dependence
dmesn

Bivariate and Trivariate Extended Skew-Normal Distribution
desn

Univariate extended skew-normal distribution
ellipse

Level sets for bivariate normal, student-t and skew-normal distributions probability densities.
est

Extract the estimated parameter
fExtDep

Extremal Dependence Estimation
fExtDepSpat

Fitting of a max-stable process
lambda.HR

Valid set of parameters for the 3-dimensional Husler-Reiss model
dmest

Bivariate and trivariate extended skew-t distribution
fGEV

Fitting of the Generalized Extreme Value Distribution
heat

Summer temperature maxima in Melbourne, Australia between 1961 and 2010
index.ExtDep

Index of extremal dependence
fExtDep.np

Non-parametric extremal dependence estimation
logReturns

Monthly maxima of log-return exchange rates of the Pound Sterling (GBP) against the US dollar (USD) and the Japanese yen (JPY), between March 1991 and December 2014
pExtDep

Parametric and Non-Parametric Distribution Function of Extremal Dependence
rExtDep

Parametric and semi-parametric random generator of extreme events
method

Extract the method attribute
rExtDepSpat

Random generation of max-stable processes
pFailure

Probability of Falling into a Failure Region
madogram

Madogram-based estimation of the Pickands Dependence Function
model

Extract the model attribute
pollution

Air quality datasets recorded in Leeds (U.K.)
pickands.plot

Plot for the Pickands dependence function
tic

Extract the Takeuchi Information Criterion
simplex

Definition of a multivariate simplex
trans2UFrechet

Transformation to Unit Frechet Distribution
returns.plot

Plot return levels
returns

Compute return values
trans2GEV

Transformation to GEV Distribution
PAMfmado

Clustering of maxima
PrecipFrance

Weekly maxima of hourly rainfall in France
ExtQ

Univariate Extreme Quantile
WindSpeedGust

Hourly Wind Gust, Wind Speed, and Air Pressure at Lingen (GER), Ossendorf (GER), and Parcay-Meslay (FRA)
angular

Estimation of the angular density, angular measure, and random generation from the angular distribution
angular.plot

Angular density plot.
StdErr

Extract the standard errors of estimated parameters
MilanPollution

Pollution data for summer and winter months in Milan, Italy
beed

Bernstein Polynomials Based Estimation of Extremal Dependence
Wind

Weekly Maximum Wind Speed Data Across 4 Stations in Oklahoma, USA (March-May, 1996-2012)