RollingBeta: Rolling apply fitted beta series of reg: ret~ret.mkt

Description Usage Arguments

Description

Rolling apply fitted beta series of reg: ret~ret.mkt

Usage

1
RollingBeta(returns, winlen = 21, mktcol = "SPY", intercept = TRUE)

Arguments

returns

xts df of returns, one column is the mkt return default daily, can be monthly

winlen

length rollapply window, default 21 trading days

mktcol

string colname of market, default 'SPY'

intercept

bool fit the intercept or not


hughshuwang/isocyanate documentation built on May 30, 2019, 7:17 a.m.