使用ExcelSolver求解最优风险资产组合.doc

使用ExcelSolver求解最优风险资产组合.doc

ID:48376356

大小:287.60 KB

页数:2页

时间:2019-12-03

使用ExcelSolver求解最优风险资产组合.doc_第1页
使用ExcelSolver求解最优风险资产组合.doc_第2页
资源描述:

《使用ExcelSolver求解最优风险资产组合.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、UsingExcel'sSolvertosolvequestion4&7It’smoreconvenientbyusingexceltoworkouttheminimum-varianceportfolioandtheoptimalriskyportfoliosetStep1:Inputtheexpectedreturnandstandarddeviationofeachstock,thencalculatethecovariancematrix.Step2:Setupaworkingareatocomputetheminimum-varianceportfolioandtheoptimal

2、riskyportfolioset.Temporarily,Wecaninputtheweightofeachstockarbitrarily.Andtheformulasusedinthecellsare:C12=(C11^2)*C7;D12=B12*D11*D7;C13=B13*C11*C8;D13=D11^2*D8;B14==SUM(B12:B13)C15=SUM(C12:D13);C16=SQRT(C15);C17=B12*C2+B13*C3C18==(C17-C4)/C16Step3:Workouttheoptimalriskyportfolioset.Runsolver,sett

3、hetargetcellasC18.Inordertogettheoptimalriskyportfolio,weoughttomaximizethesharperatio,sothetargetshouldbesetas“maximize”.Thechangeablevariablesshouldbesetas“$B$12:$B$13”whichdenotetheweightofeachstock.Finally,addaconstraintwhichdemandsthat“B14=1”andrunit.Then,wecanobtaintheoptimalriskyportfolioSte

4、p4:Workouttheminimum-varianceportfolioset.Usingthesimilarmethod,wecangettheminimum-varianceportfolio.

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。