Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Return.locScaleRob

Robust Filter for Time Series Returns


Description

Return.locScaleRob returns the data after passing through a robust location and scale filter.

Usage

Return.locScaleRob(R, alpha.robust = 0.05, normal.efficiency = 0.99, ...)

Arguments

R

Data of returns for assets or portfolios.

alpha.robust

Tuning parameter for the robust filter.

normal.efficiency

Normal efficiency for robust filter.

...

any other passthrough parameters

Value

A vector of the cleaned data.

Author(s)

Xin Chen, chenx26@uw.edu

Anthony-Alexander Christidis, anthony.christidis@stat.ubc.ca

Examples

# Loading data from PerformanceAnalytics
data(edhec, package = "PerformanceAnalytics")
class(edhec)
# Changing the data colnames
names(edhec) = c("CA", "CTA", "DIS", "EM", "EMN",
                 "ED", "FIA", "GM", "LS", "MA",
                 "RV", "SS", "FOF")
# Cleaning the returns time series for manager data
outRob <- Return.locScaleRob(edhec$CA)

PerformanceAnalytics

Econometric Tools for Performance and Risk Analysis

v2.0.4
GPL-2 | GPL-3
Authors
Brian G. Peterson [cre, aut, cph], Peter Carl [aut, cph], Kris Boudt [ctb, cph], Ross Bennett [ctb], Joshua Ulrich [ctb], Eric Zivot [ctb], Dries Cornilly [ctb], Eric Hung [ctb], Matthieu Lestel [ctb], Kyle Balkissoon [ctb], Diethelm Wuertz [ctb], Anthony Alexander Christidis [ctb], R. Douglas Martin [ctb], Zeheng 'Zenith' Zhou [ctb], Justin M. Shea [ctb]
Initial release
2020-02-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.