Learn R Programming

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

RPEIF

This package provides functions for computing the influence functions of risk and performance measures.


Installation

You can install the stable version on R CRAN.

install.packages("RPEIF", dependencies = TRUE)

You can install the development version from GitHub.

library(devtools) 
devtools::install_github("AnthonyChristidis/RPEIF")

Usage

# Sample Code
library(RPEIF)
# Loading the data
data(edhec, package = "PerformanceAnalytics")
colnames(edhec) = c("CA", "CTAG", "DIS", "EM","EMN", "ED", "FIA",
                    "GM", "LS", "MA", "RV", "SS", "FoF")
# Computing the IF of the returns (with outlier cleaning and prewhitening)
outIF <- IF(risk = "Mean",
            returns = edhec[,"CA"], evalShape = FALSE, retVals = NULL, nuisPars = NULL,
            IFplot = TRUE, IFprint = TRUE,
            prewhiten = TRUE,
            cleanOutliers = TRUE, cleanMethod = "locScaleRob", eff = 0.99)

License

This package is free and open source software, licensed under GPL (>= 2).

Copy Link

Version

Install

install.packages('RPEIF')

Monthly Downloads

3,254

Version

1.2.4

License

GPL (>= 2)

Maintainer

Anthony Christidis

Last Published

October 14th, 2021

Functions in RPEIF (1.2.4)

IF.OmegaRatio

Influence Function - Omega Ratio
IF.ES

Influence Function - Expected Shortfall (ES)
IF.LPM

Influence Function - Lower Partial Moment (LPM)
IF.Mean

Influence Function - Mean
IF.ESratio

Influence Function - Expected Shortfall (ES) Ratio
IF.DSR

Influence Function - Downside Sharpe Ratio
IF.SR

Influence Function - Sharpe Ratio (SR)
IF.SD

Influence Function - Standard Deviation
IF.RachevRatio

Influence Function - Rachev Ratio
IF.robMean

Influence Function - Robust M-Estimator of Mean
IF.VaR

Influence Function - Value at Risk (VaR)
nuisParsFn

Nuisance Parameters Computation
IF.VaRratio

Influence Function - Value at Risk (VaR) Ratio
IF.SoR

Influence Function - Sortino Ratio
IF.SemiSD

Influence Function - Semi-Standard Deviation (SemiSD)
IF

Influence Function for Available Risk and Performance Measures