Description Usage Arguments Value Examples
Returns-based style analysis (RBSA) over a rolling window
1 2 3 |
r.fund |
Fund returns (xts) |
r.style |
Style returns (xts) |
s |
Start date |
e |
End date |
n |
Number of Observations |
method |
Method from Factor Analyticss package's style.fit function |
leverage |
Leverage from Factor Analyticss package's style.fit function |
width |
Number of observations in a window |
selection |
Selection from Factor Analytics package's style.fit function |
List containing: weights - xts object with one row per moving window containing the weights; meanSDofWeights - mean of the standard deviation of the columns of the weights. Lower values represent more consistency of the weightings of the styles; regressStats - xts of the regression stats for each window including the rsquared (R2), tracking error (TE), mean absolute error (MAE), and root mean square error (RMSE); fundReturn are the returns of the fund over each window; benchReturn are the returns of a benchmark defined by the style weight of the window (returns are annualized for periods exceeding one year); excessReturn is the fund return less the benchmark return.
1 | RBSA_rolling(r.fund, r.style)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.