rollCov: Rolling Covariance Estimate

Description Usage Arguments Author(s) See Also Examples

Description

This function calculates the covariance estimate between the returns of a pair of assets over a rolling window.

Usage

1

Arguments

R

xts or zoo object of asset returns

width

width of rolling window

Author(s)

Ross Bennett

See Also

cov

Examples

1
2
3
data(crsp_weekly)
R <- largecap_weekly[,1:4]
tail(rollCov(R, 10))

GARPFRM documentation built on May 2, 2019, 5:45 p.m.

Related to rollCov in GARPFRM...