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 件のコメント

Anonymous Anonymous
Anonymous Anonymous 2023 年 5 月 22 日
Yes!
Anonymous Anonymous
Anonymous Anonymous 2023 年 5 月 22 日
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