rollSD: Rolling Standard Deviation Estimate

Description Usage Arguments Author(s) See Also Examples

Description

This function calculates the standard deviation estimate of asset returns 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

sd

Examples

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

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

Related to rollSD in GARPFRM...