load CAPMuniverse Error:
load CAPMuniverse
Error using load
Unable to find file or directory 'CAPMuniverse'.
p1=Portfolio('AssetList',Aseets(1:12));
p2=estimateAssetMoments(p1,Data(:,1:12),'MissingData',true);
p3= setDefaultConstraints(p2);
plotFrontier(p3)
why this error appears??

 采纳的回答

Joel Van Sickel
Joel Van Sickel 2023-5-22

0 个投票

This is most likely caused by you not having the correct toolboxes installed to do this example. Do you have the financial toolbox installed?

2 个评论

It's somehow solved! I searched in help about "CAPMuniverse" and open what I found in live script. Afterthat it appear that I have new directory (and data has been downloaded with it I think) and it worked!!

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Financial Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by