ReturnCurves-package | R Documentation |
Implements the estimation of the \mjeqnpp-probability return curve \insertCiteMurphyBarltropetal2023ReturnCurves, as well as a pointwise and smooth estimation of the angular dependence function \insertCiteWadsworthTawn2013ReturnCurves.
adf_est
: Estimation of the Angular Dependence Function (ADF)
adf_gof
: Goodness of fit of the Angular Dependence Function estimates
airdata
: Air pollution data
marggpd
: Assessing the Marginal Tail Fits
margtransf
: Marginal Transformation
rc_est
: Return Curve estimation
rc_gof
: Goodness of fit of the Return Curve estimates
rc_unc
: Uncertainty of the Return Curve estimates
runShiny
: Complementary Shiny app for the ReturnCurves package
Maintainer: Lídia André l.andre@lancaster.ac.uk
Authors:
Callum Murphy-Barltrop callum.murphy-barltrop@tu-dresden.de
library(ReturnCurves)
data(airdata)
n <- dim(airdata)[1]
# Marginal Transformation
margdata <- margtransf(airdata)
head(margdata@dataexp)
# Return Curves estimation
prob <- 1/n
retcurve <- rc_est(margdata = margdata, p = prob, method = "hill")
head(retcurve@rc)
# ADF estimation
lambda <- adf_est(margdata = margdata, method = "hill")
head(lambda@adf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.