Learn R Programming

ExtremeRisks (version 0.0.5)

Extreme Risk Measures

Description

A set of procedures for estimating risks related to extreme events via risk measures such as Expectile, Value-at-Risk, etc. is provided. Estimation methods for univariate independent observations and temporal dependent observations are available. The methodology is extended to the case of independent multidimensional observations. The statistical inference is performed through parametric and non-parametric estimators. Inferential procedures such as confidence intervals, confidence regions and hypothesis testing are obtained by exploiting the asymptotic theory. Adapts the methodologies derived in Padoan and Stupfler (2022) , Davison et al. (2023) , Daouia et al. (2018) , Drees (2000) , Drees (2003) , de Haan and Ferreira (2006) , de Haan et al. (2016) , Padoan and Rizzelli (2024) , Daouia et al. (2024) .

Copy Link

Version

Install

install.packages('ExtremeRisks')

Monthly Downloads

213

Version

0.0.5

License

GPL (>= 2)

Maintainer

Simone Padoan

Last Published

October 9th, 2025

Functions in ExtremeRisks (0.0.5)

QuantMES

Marginal Expected Shortfall Quantile Based Estimation
expectiles

Expectile Computation
estMultiExpectiles

Multidimensional High Expectile Estimation
extBQuantx

Conditional Bayesian extreme quantile
extBQuant

Bayesian extreme quantile
estPOT

Estimation of generalized Pareto distributions
dowjones

Negative log-returns of DOW JONES.
extMultiQuantile

Multidimensional Value-at-Risk (VaR) or Extreme Quantile (EQ) Estimation
estExpectiles

High Expectile Estimation
cpost_stat

Estimation of the scedasis function
estExtLevel

Extreme Level Estimation
predMultiExpectiles

Multidimensional Extreme Expectile Estimation
predDens

Predictive posterior density of peak-over-threshold models
rbtimeseries

Simulation of Two-Dimensional Temporally Dependent Observations
predQuant

Predictive quantile based on the generalized Pareto model
predDensx

Conditional predictive posterior density of peaks-over-threshold models
plotBayes

Plot empirical Bayes inference results for continuous and discrete generalized Pareto distribution
fitdGPD

Maximum likelihood estimation of the parameters of the discrete generalized Pareto distribution
extQuantile

Value-at-Risk (VaR) or Extreme Quantile (EQ) Estimation
quantF

Predictive quantile of peaks-over-threshold models
predExpectiles

Extreme Expectile Estimation
scedastic.test

Test on the effect of concomitant covariate on the extremes of the response variable
rtimeseries

Simulation of One-Dimensional Temporally Dependent Observations
rmdata

Simulation of \(d\)-Dimensional Temporally Independent Observations
schedastic.test

Test on the effect of concomitant covariate on the extremes of the response variable
testTailHomo

Test on tail homogeneity
sp500

Negative log-returns of S&P 500.
MomTailIndex

Moment based Tail Index Estimation
MLTailIndex

Maximum Likelihood Tail Index Estimation
Bqgpd_c

Bayesian predictive quantile for generalized Pareto distribution
HypoTesting

Wald-Type Hypothesis Testing
MultiHTailIndex

Multidimensional Hill Tail Index Estimation
HTailIndex

Hill Tail Index Estimation
ExpectMES

Marginal Expected Shortfall Expectile Based Estimation
EBTailIndex

Expectile Based Tail Index Estimation
Bqgpd_d

Bayesian predictive quantile for discrete generalized Pareto distribution