Can anyone tell me more about the AssetCovar function?

4 visualizaciones (últimos 30 días)
Calum Crichton
Calum Crichton el 26 de En. de 2016
I have a portfolio of 10 stocks. When defining AssetCovar do I need to type
AssetCovar=[insert variance-covariance matrix numbers] or can I do
AssetCovar=[cov(stock A),cov(stock B),etc].
I guess what I'm asking is whether Matlab will be able to calculate the variance-covariance matrix by knowing the covariances of each stock, or whether I physically need to type in the variance-covariance matrix to proceed with my analysis. I need to know so I know my portfolio variance figures are correct.
Sorry if this is a silly question but I can't seem to find any answers on the Matlab website.
Thank you very much in advance!

Respuestas (0)

Categorías

Más información sobre Portfolio Optimization and Asset Allocation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by