Learn R Programming

⚠️There's a newer version (0.3.4) of this package.Take me there.

graphicalExtremes (version 0.2.0)

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

605

Version

0.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Engelke

Last Published

December 2nd, 2022

Functions in graphicalExtremes (0.2.0)

censor

Censor dataset
chi2Gamma

Transformation of extremal correlation \(\chi\) to the Huesler--Reiss variogram \(\Gamma\)
complete_Gamma_general_demo

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

Non-decomposable completion of variogram matrices
complete_Gamma_decomposable

Completion of decomposable Gamma matrices
check_Gamma_and_graph

Check input graph and Gamma matrix
check_split_by_sep

Identify pairs of vertices that are split by a separator
check_graph

Check input graph
complete_Gamma

Completion of Gamma matrices
complete_Gamma_general

Non-decomposable completion of variogram matrices
emp_chi

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

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

Completion of two-clique decomposable Gamma matrices
danube

Upper Danube basin dataset
emp_chi_multdim

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

Data standardization to multivariate Pareto scale
eglearn

Learning extremal graph structure
dim_Gamma

Is Gamma square matrix?
computeLimits

Helper function to compute the axis limits of a plot with given x, y data and optionally a fixed x-y-ratio and correcting the latitude/longitude scale at different latitudes
fitInInterval

Fit value(s) in interval
fillFixedParams

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

Fitting extremal minimum spanning tree
findVsep

Find a separator set for two vertices
flightCountMatrixToConnectionList

Convert flight counts to connection list
fit_graph_to_Theta

Experimental: Fit graph using empirical Theta matrix
graphs_equal

Graph equality
flights

Flights delay data
graphicalExtremes

graphicalExtremes: Statistical methodology for graphical extreme value models.
fmpareto_HR_MLE

Parameter fitting for multivariate Huesler--Reiss Pareto distribution
fmpareto_graph_HR

Parameter fitting for Huesler--Reiss graphical models
generate_random_tree

Generate a random tree
getSubMatrixForSubgraph

Get the submatrix corresponding to a subgraph
make_sep_list

Create a list of separators
loglik_HR

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

Marginalize multivariate Pareto dataset
logdV_HR

Compute the exponent measure density of HR distribution
generate_random_spd_matrix

Generate a random symmetric positive definite matrix
generate_random_model

Generate random Huesler--Reiss Models
get_mc_cores

Number of cores to be used in parallel computations
generate_random_connected_graph

Generate a random connected graph
get_small_tol

Tolerances to be used in computations
generate_random_chordal_graph

Generate a random chordal graph
simu_px_tree_logistic

Simulate logistic extremal functions on a tree
simu_px_tree_dirichlet

Simulate Dirichlet extremal functions on a tree
generate_random_Gamma

Generate a random Gamma matrix
rmpareto

Sampling of a multivariate Pareto distribution
plotFlights

Plot flight data
split_graph

Split graph into invariant subgraphs
unif

Uniform margin
generate_random_graphical_Gamma

Generate a random Gamma matrix for a given graph
simu_px_logistic

Simulate logistic extremal functions
simu_px_dirichlet

Simulate Dirichlet extremal functions
rmpareto_tree

Sampling of a multivariate Pareto distribution on a tree
logdVK_HR

Compute censored exponent measure
generate_random_cactus

Generate a random cactus graph
emtp2

Performs Gaussian likelihood optimization under Laplacian matrix constraints.
rmstable

Sampling of a multivariate max-stable distribution
fast_diag

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

Simulate HR extremal functions
logLH_HR

Full censored log-likelihood of HR model
simu_px_neglogistic

Simulate negative logistic extremal functions
simu_px_tree_HR

Simulate HR extremal functions on a tree
generate_random_integer_Gamma

Generate a random Gamma matrix containing only integers
rmstable_tree

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

Get Cliques and Separators of a graph
parToMatricesFactory

Factory: parToMatrices
order_cliques

Order Cliques
par2Matrix

Create Gamma or Theta from vector
partialMatrixToGraph

Transformation of a partial matrix to a graph
get_cliques_and_separators

Get Cliques and Separators of a graph
Sigma2Gamma

Transformation of \(\Sigma\) and \(\Sigma^k\) matrix to \(\Gamma\) matrix
Gamma2graph

Transformation of matrix to graph object
Gamma2par

Extract upper triangular part of \(\Gamma\)
Gamma2Sigma

Transformation of \(\Gamma\) matrix to \(\Sigma\) or \(\Sigma^k\) matrix
Theta2Gamma

Transformation of \(\Gamma\) matrix to \(\Theta\) matrix
Zmatrix

Computes the Z-matrix
Gamma2chi

Transformation of the Huesler--Reiss variogram \(\Gamma\) to extremal correlation \(\chi\)
Gamma2Theta

Transformation of \(\Gamma\) matrix to \(\Theta\) matrix
Gamma2chi_3D

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

Compute exponent measure