Rmetrics - Modelling Extreme Events in Finance

Provides functions for analysing and modelling extreme events in financial time Series. The topics include: (i) data pre-processing, (ii) explorative data analysis, (iii) peak over threshold modelling, (iv) block maxima modelling, (v) estimation of VaR and CVaR, and (vi) the computation of the extreme index.


fExtremes

AppVeyor BuildStatus R-CMD-check CoverageStatus CRAN_Status_Badge Downloads(monthly) Downloads(total)

Rmetrics - Modelling Extreme Events in Finance

The fExtremes package provides functions for analysing and modelling extreme events in financial time Series. The topics include: (i) data pre-processing, (ii) explorative data analysis, (iii) peak over threshold modelling, (iv) block maxima modelling, (v) estimation of VaR and CVaR, and (vi) the computation of the extreme index. It is part of the Rmetrics software project.

An example

The following code simulates data from a GEV distribution and fits a GEV distribution to these data.

library(fExtremes)
# Simulate GEV Data, use default length n=1000
x <- gevSim(model = list(xi = 0.25, mu = 0 , beta = 1), n = 1000)

# Fit GEV data using maximum likelihood estimation
fit <- gevFit(x, type = "mle") 
fit
#> 
#> Title:
#>  GEV Parameter Estimation 
#> 
#> Call:
#>  gevFit(x = x, type = "mle")
#> 
#> Estimation Type:
#>   gev mle 
#> 
#> Estimated Parameters:
#>         xi         mu       beta 
#> 0.18304217 0.04548892 0.99014748 
#> 
#> Description
#>   Thu Dec 21 12:54:05 2023

Installation

To get the current released version from CRAN:

install.packages("fExtremes")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fExtremes")

4032.84 by Paul J. Northrop, 3 years ago


https://www.rmetrics.org


Report a bug at https://r-forge.r-project.org/projects/rmetrics


Browse source code at https://github.com/cran/fExtremes


Authors: Diethelm Wuertz [aut] , Tobias Setz [aut] , Yohan Chalabi [aut] , Paul J. Northrop [cre, ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports fBasics, fGarch, graphics, methods, stats, timeDate, timeSeries

Suggests RUnit, tcltk


Imported by CompDist, extremeStat, fitdistcp.

Suggested by fitteR, lax.


See at CRAN