Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

portfolio.moments.boudt

Portfolio Moments


Description

Set portfolio moments for use by lower level optimization functions using a statistical factor model based on the work of Kris Boudt.

Usage

portfolio.moments.boudt(R, portfolio, momentargs = NULL, k = 1, ...)

Arguments

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 portfolio.spec

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

Note

If any of the objectives in the portfolio object have clean as an argument, the cleaned returns are used to fit the model.


PortfolioAnalytics

Portfolio Analysis, Including Numerical Methods for Optimization of Portfolios

v1.1.0
GPL-2 | GPL-3
Authors
Brian G. Peterson [cre, aut, cph], Peter Carl [aut, cph], Kris Boudt [ctb, cph], Ross Bennett [ctb, cph], Hezky Varon [ctb], Guy Yollin [ctb], R. Douglas Martin [ctb]
Initial release
2018-05-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.