Clear Filters
Clear Filters

load CAPMuniverse load Error

4 views (last 30 days)
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??

Accepted Answer

Joel Van Sickel
Joel Van Sickel on 22 May 2023
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 Comments
Anonymous Anonymous
Anonymous Anonymous on 22 May 2023
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!!

Sign in to comment.

More Answers (0)

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!