Description Usage Arguments Value Author(s) References Examples

Detects multivariate outliers in asset sets.

1 | ```
assetsOutliers(x, center, cov, ...)
``` |

`x` |
an object of class |

`center` |
a numeric vector, a (robust) estimate of the vector of means
of the multivariate time series |

`cov` |
a numeric matrix, a (robust) estimate of the covariance matrix
of the multivariate time series |

`...` |
optional arguments to be passed. |

returns a list with the following entries:
the estimate for the location named `center`

,
the estimate for the covariance matrix named `cov`

,
the estimate for the correlation matrix named `cor`

,
the quantile named `quantile`

,
the outliers named `outliers`

, and
the time series named `series`

.

Moritz Gschwandtner and Peter Filzmoser for the original R code
from package "mvoutliers",

Diethelm Wuertz for the Rmetrics port.

Wuertz, D., Chalabi, Y., Chen W., Ellis A. (2009);
*Portfolio Optimization with R/Rmetrics*,
Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.

1 2 3 4 5 6 | ```
## LPP -
LPP <- as.timeSeries(data(LPP2005REC))[, 1:6]
colnames(LPP)
## assetsOutliers -
assetsOutliers(LPP, colMeans(LPP), cov(LPP))
``` |

fAssets documentation built on Nov. 17, 2017, 4:22 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.