cov_ewma: Exponentially Weighted Moving Average (EWMA) Covariance...

Description Usage Arguments Value Author(s) References Examples

View source: R/cov_ewma.R

Description

This functions implements the covariance matrix as described in Longerstaey & Spencer (1996).

Usage

1
cov_ewma(R, lambda = 0.96)

Arguments

R

A vector, matrix, data.frame, xts, timeSeries or zoo object to be checked and coerced.

lambda

A number between 0 and 1.

Value

A variance-covariance matrix.

Author(s)

Bernardo Reckziegel

References

Longerstaey, Jacques, and Martin Spencer. Riskmetrics technical document. Morgan Guaranty Trust Company of New York: New York 51 (1996): 54.

Examples

1

Reckziegel/PortfolioMoments documentation built on May 29, 2019, 1:21 p.m.