Various functions to analyze data over a moving window of periods.
Value
A object of the same class as Ra (and Rb?) or a vector
(if try.xts fails).
- rollSFM
returns single-factor model parameters and R-squared over a n-period moving window.
References
The following site(s) were used to code/document this
indicator:
https://en.wikipedia.org/wiki/Simple_linear_regression