rollingRegression: Rolling Regression on Returns
Description
calculates rolling regression statistics on a return stream.Usage
rollingRegression(formula, data, width, ...)
Arguments
formula
regression formula for lm
width
size of the window over which to roll
...
any other passthru parameters
References
http://www.mail-archive.com/r-help@stat.math.ethz.ch/msg19544.html