Skip to content
Prev 14874 / 15274 Next

Using optimize.portfolio

On Sat, 2020-06-06 at 14:33 +0200, Enrico Schumann wrote:
per default, PortfolioAnalytics uses sample moments as most users would
expect.  

As I already told the OP, the user may pass mu and sigma and m3 and m4
directly, or may construct custom moment functions to compute the
moments using any method they choose.

This is outlined in section 2 of the vignette:

https://cran.r-project.org/web/packages/PortfolioAnalytics/vignettes/custom_moments_objectives.pdf


and, of course, in the manual.