Learn R Programming

graphicalExtremes (version 0.3.4)

Statistical Methodology for Graphical Extreme Value Models

Description

Statistical methodology for sparse multivariate extreme value models. Methods are provided for exact simulation and statistical inference for multivariate Pareto distributions on graphical structures as described in the paper 'Graphical Models for Extremes' by Engelke and Hitz (2020) .

Copy Link

Version

Install

install.packages('graphicalExtremes')

Monthly Downloads

669

Version

0.3.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Engelke

Last Published

June 13th, 2025

Functions in graphicalExtremes (0.3.4)

emtp2

Performs Gaussian likelihood optimization under Laplacian matrix constraints.
generate_random_chordal_graph

Generate random graphs
computeLimits

Compute plot limits
complete_Gamma_one_step

Completion of two-clique decomposable Gamma matrices
ensure_matrix_symmetry

Ensure numerical matrix symmetry/zero values
fit_graph_to_Theta

Experimental: Fit graph using empirical Theta matrix
danube

Upper Danube basin dataset
Zmatrix

Computes the Z-matrix
censor

Censor dataset
emp_chi_multdim

Empirical estimation of extremal correlation \(\chi\)
data2mpareto

Data standardization to multivariate Pareto scale
emp_vario

Estimation of the variogram matrix \(\Gamma\) of a Huesler-Reiss distribution
emst

Fitting extremal minimum spanning tree
flightCountMatrixToConnectionList

Convert flight counts to connection list
mparetomargins

Marginalize multivariate Pareto dataset
Gamma2graph

Convert matrix to graph
getFlightDelayData

Get filtered flight delays
generate_random_graphical_Gamma

Generate a random Gamma matrix for a given graph
generate_random_integer_Gamma

Generate a random Gamma matrix containing only integers
getDanubeFlowGraph

Get Danube flow graph
graphs_equal

Graph equality
graphicalExtremes

graphicalExtremes: Statistical methodology for graphical extreme value models.
generate_random_Gamma

Generate a random Gamma matrix
get_alert_function

Get alert function
getSubMatrixForSubgraph

Get the submatrix corresponding to a subgraph
fmpareto_graph_HR_clique_average

HR Parameter fitting - Helper functions
logdV_HR

Compute the exponent measure density of HR distribution
fmpareto_graph_HR

Parameter fitting for Huesler-Reiss graphical models
get_small_tol

Tolerances to be used in computations
getPackageData

Get package data
get_mc_cores

Number of cores to be used in parallel computations
getFlightGraph

Get flight graph
plotDanube

Plot Danube River Flow Data
plotFlights

Plot flight data
simu_px_HR

Simulate HR extremal functions
simu_px_dirichlet

Simulate Dirichlet extremal functions
unif

Uniform margin
loglik_HR

Compute Huesler-Reiss log-likelihood, AIC, and BIC
parToMatricesFactory

Factory: parToMatrices
simu_px_logistic

Simulate logistic extremal functions
get_cliques_and_separators

Get Cliques and Separators of a graph
chi2Gamma

Transformation between \(\chi\) and \(\Gamma\)
complete_Gamma

Completion of Gamma matrices
eglatent

Learning extremal graph structure with latent variables
rmstable

Sampling of a multivariate max-stable distribution
Gamma2Sigma

Conversion between Huesler-Reiss parameter matrices
rmstable_tree

Sampling of a multivariate max-stable distribution on a tree
eglearn

Learning extremal graph structure
get_cliques_and_separators_OLD

Get Cliques and Separators of a graph
flights

Flights delay data
findVsep

Find a separator set for two vertices
fitInInterval

Fit value(s) in interval
generate_random_spd_matrix

Generate a random symmetric positive definite matrix
fmpareto_HR_MLE

Parameter fitting for multivariate Huesler-Reiss Pareto distribution
generate_random_model

Generate random Huesler-Reiss Models
split_graph

Split graph into invariant subgraphs
rmpareto_tree

Sampling of a multivariate Pareto distribution on a tree
rmpareto

Sampling of a multivariate Pareto distribution
logdVK_HR

Compute censored exponent measure
logLH_HR

Full censored log-likelihood of HR model
make_numeric_indices

Convert indices to numerical indices
simu_px_neglogistic

Simulate negative logistic extremal functions
simu_px_tree_logistic

Simulate logistic extremal functions on a tree
make_sep_list

Create a list of separators
order_cliques

Order Cliques
par2Matrix

Create Gamma or Theta from vector
simu_px_tree_HR

Simulate HR extremal functions on a tree
simu_px_tree_dirichlet

Simulate Dirichlet extremal functions on a tree
checkGamma

HR parameter matrix checks
check_graph

Check input graph
complete_Gamma_general_split

Non-decomposable completion of variogram matrices
complete_Gamma_general_demo

DEMO-VERSION: Completion of non-decomposable Gamma matrices
complete_Gamma_decomposable

Completion of decomposable Gamma matrices
V_HR

Compute exponent measure
check_split_by_sep

Identify pairs of vertices that are split by a separator
check_partial_matrix_and_graph

Check input graph and partial matrix
Gamma2chi_3D

Compute theoretical \(\chi\) in 3D
complete_Gamma_general

Non-decomposable completion of variogram matrices
emp_chi

Empirical estimation of extremal correlation matrix \(\chi\)
fast_diag

Fast computation of diag(y %% M %% t(y))
fillFixedParams

Helper function to combine par with fixed params (in init)