variance of portfolio as objective function

조회 수: 7 (최근 30일)
Sameer
Sameer 2014년 5월 19일
답변: Alejandra Pena-Ordieres 2024년 9월 10일
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

답변 (3개)

Star Strider
Star Strider 2014년 5월 19일

Image Analyst
Image Analyst 2014년 5월 19일
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
Star Strider
Star Strider 2014년 5월 19일
Use an anonymous function.
Sameer
Sameer 2014년 5월 19일
whats that

댓글을 달려면 로그인하십시오.


Alejandra Pena-Ordieres
Alejandra Pena-Ordieres 2024년 9월 10일
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.

카테고리

Help CenterFile Exchange에서 Portfolio Optimization and Asset Allocation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by