realizedCor: Realized Correlation

Description Usage Arguments Details Value Author(s) Examples

Description

Calculate realized correlation

Usage

1

Arguments

R

xts object of asset returns

n

number of periods used to calculate realized volatility

Details

Realized correlation is calculated using the previous n periods.

Value

xts object of realized correlation

Author(s)

Ross Bennett

Examples

1
2
3
4
5
data(crsp_weekly)
R <- largecap_weekly[, 1:2]
# Calculate realized correlation
realizedCorrelation <- realizedCor(R, 10)
head(realizedCorrelation)

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

Related to realizedCor in GARPFRM...