Description Usage Arguments Value Author(s) Examples
Clean a time series from outliers. The definition of an outlier is a value who is outside an interval mean(data)+/-k_value*sd(data) with data being a column of a time series and k_value an integer.
1 | cleanup_data(returns_clean, k_value)
|
returns_clean |
A xts with several columns consisting of data |
k_value |
A number defining which outliers should be neglected |
A xts with less outliers
Philipp Giese
1 2 | data<-calculate_mutliple_cc("CCCAGG",c("BTC","LTC","DASH"),"USD",7,T)
cleanup_data(data,5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.