Learn R Programming

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

graphicalExtremes (version 0.3.1)

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

259

Version

0.3.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Engelke

Last Published

February 22nd, 2024

Functions in graphicalExtremes (0.3.1)

computeLimits

Compute plot limits
data2mpareto

Data standardization to multivariate Pareto scale
complete_Gamma_general

Non-decomposable completion of variogram matrices
complete_Gamma_decomposable

Completion of decomposable Gamma matrices
eglearn

Learning extremal graph structure
complete_Gamma_general_demo

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

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

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

Non-decomposable completion of variogram matrices
emp_chi_multdim

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

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

Find a separator set for two vertices
generate_random_model

Generate random Huesler-Reiss Models
generate_random_integer_Gamma

Generate a random Gamma matrix containing only integers
fmpareto_graph_HR

Parameter fitting for Huesler-Reiss graphical models
generate_random_chordal_graph

Generate random graphs
emtp2

Performs Gaussian likelihood optimization under Laplacian matrix constraints.
flightCountMatrixToConnectionList

Convert flight counts to connection list
generate_random_spd_matrix

Generate a random symmetric positive definite matrix
generate_random_Gamma

Generate a random Gamma matrix
fit_graph_to_Theta

Experimental: Fit graph using empirical Theta matrix
fitInInterval

Fit value(s) in interval
get_mc_cores

Number of cores to be used in parallel computations
emst

Fitting extremal minimum spanning tree
generate_random_graphical_Gamma

Generate a random Gamma matrix for a given graph
getDanubeFlowGraph

Get Danube flow graph
ensure_matrix_symmetry

Ensure numerical matrix symmetry/zero values
getFlightDelayData

Get filtered flight delays
fast_diag

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

Flights delay data
fmpareto_HR_MLE

Parameter fitting for multivariate Huesler-Reiss Pareto distribution
Gamma2graph

Convert matrix to graph
mparetomargins

Marginalize multivariate Pareto dataset
fmpareto_graph_HR_clique_average

HR Parameter fitting - Helper functions
getSubMatrixForSubgraph

Get the submatrix corresponding to a subgraph
make_numeric_indices

Convert indices to numerical indices
logdVK_HR

Compute censored exponent measure
logLH_HR

Full censored log-likelihood of HR model
getPackageData

Get package data
rmstable

Sampling of a multivariate max-stable distribution
get_small_tol

Tolerances to be used in computations
par2Matrix

Create Gamma or Theta from vector
rmstable_tree

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

Order Cliques
simu_px_HR

Simulate HR extremal functions
unif

Uniform margin
simu_px_dirichlet

Simulate Dirichlet extremal functions
simu_px_tree_dirichlet

Simulate Dirichlet extremal functions on a tree
loglik_HR

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

Sampling of a multivariate Pareto distribution
get_alert_function

Get alert function
rmpareto_tree

Sampling of a multivariate Pareto distribution on a tree
logdV_HR

Compute the exponent measure density of HR distribution
simu_px_tree_HR

Simulate HR extremal functions on a tree
plotDanube

Plot Danube River Flow Data
make_sep_list

Create a list of separators
get_cliques_and_separators

Get Cliques and Separators of a graph
graphicalExtremes

graphicalExtremes: Statistical methodology for graphical extreme value models.
get_cliques_and_separators_OLD

Get Cliques and Separators of a graph
graphs_equal

Graph equality
plotFlights

Plot flight data
parToMatricesFactory

Factory: parToMatrices
simu_px_logistic

Simulate logistic extremal functions
Gamma2Sigma

Conversion between Huesler-Reiss parameter matrices
simu_px_neglogistic

Simulate negative logistic extremal functions
simu_px_tree_logistic

Simulate logistic extremal functions on a tree
split_graph

Split graph into invariant subgraphs
Gamma2chi_3D

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

Compute exponent measure
censor

Censor dataset
check_split_by_sep

Identify pairs of vertices that are split by a separator
danube

Upper Danube basin dataset
Zmatrix

Computes the Z-matrix
checkGamma

HR parameter matrix checks
complete_Gamma

Completion of Gamma matrices
chi2Gamma

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

Check input graph and partial matrix
complete_Gamma_one_step

Completion of two-clique decomposable Gamma matrices
check_graph

Check input graph