Find weights of a portfolio given variance and covariance matrix
2 次查看(过去 30 天)
显示 更早的评论
I'm not sure how to back out the weights of a portfolio given the covariance matrix of the assets and variance of the portfolio using matlab.
I have the following inputs:
ExpCov_csFX = cov(csAssetReturns(t-59:t,2:7))*12;
I want to find the weights:
w0_cs = zeros(size(ExpFXret_cs_t'));
Which give me the portfolio variance:
targetVar_cs
Thanks!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Portfolio Optimization and Asset Allocation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!