Learn R Programming

RPESE

This package provides functions for computing standared error estimates for risk and performance measures of asset or portfolio returns.


Installation

You can install the stable version on R CRAN.

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

You can install the development version from GitHub.

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

Usage

# Sample Code
library(RPESE)
# Loading hedge fund data
data(edhec, package = "PerformanceAnalytics")
colnames(edhec) = c("CA", "CTAG", "DIS", "EM","EMN", "ED", "FIA",
                    "GM", "LS", "MA", "RV", "SS", "FoF")
# Computing the standard errors for the three influence functions based approaches
ES.out <- ES.SE(edhec, se.method = c("IFiid","IFcor","IFcorPW"),
                cleanOutliers = TRUE, 
                fitting.method = c("Exponential", "Gamma")[1])
# Print output
printSE(ES.out)

License

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

Copy Link

Version

Install

install.packages('RPESE')

Monthly Downloads

1,302

Version

1.2.5

License

GPL (>= 2)

Maintainer

Anthony Christidis

Last Published

September 8th, 2022

Functions in RPESE (1.2.5)

SR.SE

Standard Error Estimate for Sharpe Ratio (SR) of Returns
SD.SE

Standard Error Estimate for Standard Deviation (SD) of Returns
EstimatorSE

Wrapper Function for Standard Errors Estimates Functions
ESratio.SE

Standard Error Estimate for Expected Shortfall Ratio (ESratio) of Returns
RachevRatio.SE

Standard Error Estimate for Rachev Ratio of Returns
OmegaRatio.SE

Standard Error Estimate for Omega Ratio of Returns
SemiSD.SE

Standard Error Estimate for Semi-Standared Deviation (SemiSD) of Returns
SoR.SE

Standard Error Estimate for Sortino Ratio (SoR) of Returns
robMean.SE

Standard Error Estimate for Robust Location (Mean) M-Estimator of Returns
VaR.SE

Standard Error Estimate for Value-at-Risk (VaR) of Returns
VaRratio.SE

Standard Error Estimate for Value-at-Risk Ratio (VaRratio) of Returns
printSE

Formatted Output for Standard Errors Functions in RPESE
DSR.SE

Standard Error Estimate for Downside Sharpe Ratio (DSR) of Returns
Mean.SE

Standard Error Estimate for Mean of Returns
ES.SE

Standard Error Estimate for Expected Shortfall (ES) of Returns
LPM.SE

Standard Error Estimate for Lower Partial Moment (LPM) of Returns