Description Usage Arguments Value Examples
Calculate effective style weights This is a clone of the style.fit function from the Factor Analytics package. The only difference is that it includes a trace parameter to pass to the step function to control its output.
1 2 3 |
R.fund |
matrix, data frame, or zoo object with fund returns to be analyzed |
R.style |
matrix, data frame, or zoo object with style index returns. Data object must be of the same length and time-aligned with R.fund |
model |
logical. If 'model' = TRUE in style.QPfit, the full result set is shown from the output of solve.QP. |
method |
specify the method of calculation of style weights as "constrained", "unconstrained", or "normalized". For more information, see style.fit |
leverage |
logical, defaults to 'FALSE'. If 'TRUE', the calculation of weights assumes that leverage may be used. For more information, see style.fit |
selection |
either "none" (default) or "AIC". If "AIC", then the function uses a stepwise regression to identify find the model with minimum AIC value. See step for more detail. |
trace |
value passed to the step function to control feedback. Default is zero to suppress printing. |
... |
list with weights and r-squared values.
1 | fa.style.fit(R.fund, R.style)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.