我是靠谱客的博主 高大手链,这篇文章主要介绍matlab portfolio函数,Portfolio Optimization Examples,现在分享给大家,希望可以做个参考。

Set up the Data

Every example works with moments for monthly total returns of a universe of 30 "blue-chip" stocks. Although derived from real data, these data are for illustrative purposes and are not meant to be representative of specific assets or of market performance. The data are contained in the file BlueChipStockMoments.mat with a list of asset identifiers in the variable AssetList, a mean and covariance of asset returns in the variables AssetMean and AssetCovar, and the mean and variance of cash and market returns in the variables CashMean, CashVar, MarketMean, and MarketVar. Since most of the analysis requires the use of the standard deviation of asset returns as the proxy for risk, cash, and market variances are converted into standard deviations.

load BlueChipStockMoments

mret = MarketMean;

mrsk = sqrt(MarketVar);

cret = CashMean;

crsk = sqrt(CashVar);

Cr

最后

以上就是高大手链最近收集整理的关于matlab portfolio函数,Portfolio Optimization Examples的全部内容,更多相关matlab内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(81)

评论列表共有 0 条评论

立即
投稿
返回
顶部