View source: R/moment.functions.R
portfolio.moments.boudt | R Documentation |
Set portfolio moments for use by lower level optimization functions using a statistical factor model based on the work of Kris Boudt.
portfolio.moments.boudt(R, portfolio, momentargs = NULL, k = 1, ...)
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
portfolio |
an object of type |
momentargs |
list containing arguments to be passed down to lower level functions, default NULL |
k |
number of factors used for fitting statistical factor model |
... |
any other passthru parameters |
If any of the objectives in the portfolio
object have
clean
as an argument, the cleaned returns are used to fit the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.