Skip to content

This repository contains an R package that computes the influence functions time series of the returns for the risk and performance measures as mentioned in Zhang and Martin (2017) (https://ssrn.com/abstract=2747179), Chen and Martin (2018) (https://ssrn.com/abstract=3085672), as well as in Zhang et al. (https://ssrn.com/abstract=3415903). Also …

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status CRAN_Status_Badge Downloads

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)
# Computing the IF of the returns (with outlier cleaning and prewhitening)
# Loading the data
data(edhec, package="PerformanceAnalytics")
colnames(edhec) = c("CA", "CTAG", "DIS", "EM","EMN", "ED", "FIA",
                    "GM", "LS", "MA", "RV", "SS", "FoF")
outIF <- IF(risk="mean",
            returns=edhec[,"CA"], evalShape=FALSE, retVals=NULL, nuisPars=NULL,
            IFplot=TRUE, IFprint=TRUE,
            prewhiten=TRUE,
            cleanOutliers=TRUE, cleanMethod=c("locScaleRob", "Boudt")[1], eff=0.99, alpha.robust=0.05)

License

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

About

This repository contains an R package that computes the influence functions time series of the returns for the risk and performance measures as mentioned in Zhang and Martin (2017) (https://ssrn.com/abstract=2747179), Chen and Martin (2018) (https://ssrn.com/abstract=3085672), as well as in Zhang et al. (https://ssrn.com/abstract=3415903). Also …

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.