Description Usage Arguments Details
Set portfolio moments for use by lower level optimization functions. Currently three methods for setting the moments are available
1 2 | set.portfolio.moments_v2(R, portfolio, momentargs = NULL,
method = c("sample", "boudt", "black_litterman", "meucci"), ...)
|
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
portfolio |
an object of type "portfolio" specifying the constraints and objectives for the optimization, see |
momentargs |
list containing arguments to be passed down to lower level functions, default NULL |
method |
the method used to estimate portfolio moments. Valid choices include "sample", "boudt", and "black_litterman". |
... |
any other passthru parameters |
sample: sample estimates are used for the moments
boudt: estimate the second, third, and fourth moments using a
statistical factor model based on the work of Kris Boudt.
See statistical.factor.model
black_litterman: estimate the first and second moments using the
Black Litterman Formula. See black.litterman.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.