variance of portfolio as objective function
Mostra commenti meno recenti
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
Risposte (3)
Star Strider
il 19 Mag 2014
1 voto
Image Analyst
il 19 Mag 2014
0 voti
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 Commenti
Sameer
il 19 Mag 2014
Star Strider
il 19 Mag 2014
Use an anonymous function.
Sameer
il 19 Mag 2014
Alejandra Pena-Ordieres
il 10 Set 2024
0 voti
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.
See Obtain Range of Risks and Returns and Find a Portfolio with a Targeted Return and Targeted Risk for an example.
Categorie
Scopri di più su Portfolio Optimization and Asset Allocation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!