rollCor: Rolling Correlation Estimate

Description Usage Arguments Author(s) See Also Examples

Description

This function calculates the correlation 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

cor

Examples

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

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

Related to rollCor in GARPFRM...