denoise: Remove noise from a correlation matrix using RMT to identify...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Used to filter out all eigenvalues below k*. At a later date this will become pluggable so other people can use their own functions and/or provide their own parameters to this function.

Usage

1
2
3
4
denoise(...)
cor.empirical(h)
cor.clean(es, lambda.plus=1.6, h=NULL)
normalize(...)

Arguments

h

A returns object

es

Eigenvalues and vectors

lambda.plus

Eigenvalue cutoff for cleaning

...

Arguments

Details

denoise(p, estimator)

normalize(h)

These are different implementations of the denoise function based on the estimator provided.

Value

A cleaned correlation matrix.

Author(s)

Brian Lee Yung Rowe

See Also

tawny, optimizePortfolio

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
data(sp500.subset)

h <- sp500.subset
p <- TawnyPortfolio(h, 150)
r1 <- denoise(p, SampleDenoiser())
r2 <- denoise(p, EmpiricalDenoiser())
r3 <- denoise(p, ShrinkageDenoiser())
r4 <- denoise(p, RandomMatrixDenoiser())

## End(Not run)

zatonovo/tawny documentation built on May 4, 2019, 9:12 p.m.