EWMA_cov: Exponentially Weighted Moving Average covariance between two...

Description Usage Arguments Value

Description

Exponentially Weighted Moving Average covariance between two series of returns

Usage

1
EWMA_cov(x, y, decay = 0.85)

Arguments

x,

y P/L data

decay

decay factor (0 < x < 1)

Value

EWMA covariance (numeric)


dandermotj/mmr documentation built on June 4, 2019, 9:26 p.m.