variance of portfolio as objective function

1 Ansicht (letzte 30 Tage)
Sameer
Sameer am 19 Mai 2014
how would be able to set up the variance of a portfolio as an seperate objective function?
I have the data read in from excel already

Antworten (3)

Star Strider
Star Strider am 19 Mai 2014

Image Analyst
Image Analyst am 19 Mai 2014
What do you mean? There already is a built in function for variance called var(). Why do you need to make your own function for that?
  3 Kommentare
Star Strider
Star Strider am 19 Mai 2014
Use an anonymous function.
Sameer
Sameer am 19 Mai 2014
whats that

Melden Sie sich an, um zu kommentieren.


Alejandra Pena-Ordieres
Alejandra Pena-Ordieres am 10 Sep. 2024
To set up the variance as the objective, you can use estimateFrontierLimits with the optional input 'min' or estimateFrontierByReturn.
estimateFrontierLimits(p,'min') computes the minimum variance portfolio without any return constraints. estimateFrontierByReturn(p,targetReturn) computes the minimum variance portfolio that achieves a return greater than or equal to targetReturn.

Kategorien

Mehr zu Portfolio Optimization and Asset Allocation finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by