I am unclear as to how some scalars have been calculated. I know what the two vectors and the inverse covariance variance matrix are but please could you clarify the operations required to compute into a single number? There is also a set of data on page two that needs computing along with a general explanation of how to do it. If you are a Matlab or a Mathematica user then such a script would be helpful for me along with general explanations.© BrainMass Inc. brainmass.com December 15, 2022, 7:08 pm ad1c9bdddf
Explanations are in the attached files
Where we have replaced
o This optimisation is essentially saying that we are trying to select what weight to apply to assets in a portfolio given two constraints. Firstly that we are constrained to invest a predetermined percentage of wealth into the portfolio, in this case all wealth. Secondly that we are constrained to achieve a predetermined return, in this case 10%.
o Solve optimisation using the Lagrange method
We formalise our constraints with the
1 is an n-element unit vector. The sum of all weights must be 1 as our wealth must be entirely invested in n assets
The asset return and standard deviation vectors are given as ...
This provides examples of working with correlation structure and covariance matrix to calculate scalars.